blob: 6c29f32806271989ef855ac7429c3ac94e36be42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
|