mirror of
https://github.com/RGBCube/agenix
synced 2025-07-30 18:27:45 +00:00
doc: add new doc website
* use mmdoc * add github pages action to auto publish * do not edit README for now, will follow up with a commit directs people to the doc site
This commit is contained in:
parent
4828951d9d
commit
657789137c
22 changed files with 602 additions and 3 deletions
13
doc/rekeying.md
Normal file
13
doc/rekeying.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Rekeying {#rekeying}
|
||||
|
||||
If you change the public keys in `secrets.nix`, you should rekey your
|
||||
secrets:
|
||||
|
||||
```ShellSession
|
||||
$ agenix --rekey
|
||||
```
|
||||
|
||||
To rekey a secret, you have to be able to decrypt it. Because of
|
||||
randomness in `age`'s encryption algorithms, the files always change
|
||||
when rekeyed, even if the identities do not. (This eventually could be
|
||||
improved upon by reading the identities from the age file.)
|
Loading…
Add table
Add a link
Reference in a new issue