From cb1573432b2a889ae8fcf10dccac363cd31ca740 Mon Sep 17 00:00:00 2001 From: Dennis ten Hoove Date: Wed, 6 Mar 2024 13:02:33 +0100 Subject: [PATCH] Document gpg key exports and imports --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index bdce4e0..6b8e90a 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,13 @@ A GPG signature is by default optional, if available Arkdep will use it instead A keyring with trusted (private) keys is stored at `/arkdep/keys/trusted-keys`, keys are only accepted in binary format. +Keys can be exported and added to the keyring like so, this process can be repeated to add multiple keys; +```shell +gpg --output example.gpg --export example@example.com + +cat example.gpg | sudo tee -a /arkdep/keys/trusted-keys +``` + Arkdep assumes the signatures to be identical in name to their parent file with a .sig appended. Generate a signature like so;