summaryrefslogtreecommitdiff
path: root/keys/role.mdwn
blob: d808715a3ae0373ce593771265fa6746f8abe295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"