File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,24 @@ catalog-util store --catalog "<my-catalog-name>" set --store-config '{ "store-ty
90
90
You'll note that it's possible to set the ingress and egress URIs to the same
91
91
value, if you wish to do so.
92
92
93
- ## Set Signing Key When Publishing Your Package
93
+ ## Create and Set a Signing Key
94
94
95
- At this point, you should have an appropriately Catalog Store to which you can
96
- publish your own software via the ` flox publish ` command. The last thing you
97
- need to worry about is configuring a signing key for publishing packages:
95
+ At this point, you should have an appropriately configured Catalog Store
96
+ to which you can publish your own software via the ` flox publish ` command.
97
+ The last thing you need to worry about is configuring a signing key
98
+ for publishing packages.
99
+
100
+ The first step in this process is generating a key:
101
+
102
+ sh```
103
+ nix key generate-secret --key-name <my-key-name > > <my-key-name >.key
104
+ nix key convert-secret-to-public < <my-key-name >.key
105
+ ```
106
+ Once you've generated the key, you can configure Flox to sign the packages
107
+ you publish with that key:
98
108
99
109
```sh
100
- flox config --set publish.signing_key " </path/to/signing -key> "
110
+ flox config --set publish.signing_key "</path/to/my -key-name>.key "
101
111
```
102
112
103
113
Now you're ready to use Flox publish your own software to the Catalog Store
You can’t perform that action at this time.
0 commit comments