add instructions for generating encryption keys #45
Loading…
Reference in New Issue
No description provided.
Delete Branch "feat/encryption-key-generation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -35,1 +35,3 @@
* `keyfork mnemonic generate --size 256 --shard-to <path_to_input_shard>,output=<output_shardfile>`
* Replace the values: <path_to_input_shard>, <pgp_cert_id>
* `keyfork mnemonic generate --size 256 --shard-to <path_to_input_shard>,output=output_shardfile.asc --output-cert root_pgp_cert.asc --user-id <pgp_cert_id>`
they would need to do the old flow of recover the mnemonic, derive the key, and extract the certificate.
mnemonic generate
is for the sole purpose of generating a mnemonic and creating backups of that mnemonic, not for generating storage encryption keys of the mnemonic. the fact--encrypt-to-self
does so is a requirement of GnuPG and is considered a hack.I think in this case it would be reasonable for us to extend the
generate-shard-secret
wizard, since generating keys is out of scope forkeyfork mnemonic generate
, and is only used for--encrypt-to-self
when used in combination with--provision
.This covers both ceremonies by adding the
--shard-to
functionality fromkeyfork mnemonic generate
. Because wizards are bastard hodgepodges of hell, I'm not removing the functionality fromkeyfork mnemonic generate
, since that interface is likely to remain stable.Okay that makes sense. I'll update the docs with the commands you described above and include "NOT IMPLEMENTED" notes for now. I created the issues in the
keyfork
repository to help track this work:OK I made the updates, will remove the "TODO: NOT IMPLEMENTED" notes when the
keyfork
updates are ready.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.