diff options
Diffstat (limited to 'docs/keys')
-rw-r--r-- | docs/keys/role.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/keys/role.md b/docs/keys/role.md new file mode 100644 index 0000000..6c29f32 --- /dev/null +++ b/docs/keys/role.md @@ -0,0 +1,20 @@ +# Role key + +## Começando + + KEY="fingerprint da chave OpenPGP" + +## Procedimento para criar as assinaturas + + GPG_AGENT_INFO="" gpg -b --armor --default-key "$KEY" -s openpgp.txt + +## Renovação + + GPG_AGENT_INFO="" gpg --edit-key "$KEY" + gpg --armor --export-secret-keys "$KEY" | keyringer $HYDRA encrypt $DOMAIN/contato/gpg/key.asc + gpg --armor --export "$KEY" | keyringer $HYDRA encrypt $DOMAIN/contato/gpg/key.pub.asc + + keyringer $HYDRA git commit + keyringer $HYDRA git push + + gpg --send-key "$KEY" |