commit b74bf64ed1810e3c075fdda62c584ba37fa19fed parent adebf96379a5e9595b6ec90cd35711c6f7b41d96 Author: parazyd <parazyd@dyne.org> Date: Mon, 9 Nov 2020 23:04:39 +0100 Add maintenance info to the readme. Diffstat:
M | README.md | | | 27 | ++++++++++++++++++++++++++- |
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md @@ -1,4 +1,29 @@ devuan-keyring ============== -signing public keyring for devuan packages +Public keyring for Devuan packages and the Devuan Archive. + + +Maintenance +----------- + +### Adding a key + +``` +$ gpg --no-default-keyring --keyring=${keyring}.gpg --import < /path/to/key +``` + +### Removing a key + +``` +$ gpg --no-default-keyring --keyring=${keyring-valid}.gpg --export $keyid \ + | gpg --no-default-keyring --keyring=${keyring-removed-keys}.gpg --import +$ gpg --no-default-keyring --keyring=${keyring-valid}.gpg \ + --delete-key $keyid +``` + +### Generating SHA512SUMS.txt.asc + +``` +$ sha512sum keyrings/*.gpg | gpg --clearsign > SHA512SUMS.txt.asc +```