simplify encryption by using sq

This commit is contained in:
Anton Livaja 2025-01-30 01:06:43 -05:00
parent a75e667bf1
commit 61c4f2b03a
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 3 additions and 7 deletions

View File

@ -16,13 +16,9 @@ Procedure for importing an arbitrary secret (raw key, mnemonic, state secrets) i
1. Load the OpenPGP certificate: 1. Load the OpenPGP certificate:
* `gpg --import <cert.asc>` 1. Encrypt the secret to certificate:
1. Encrypt the secret the the public cert: * `sq encrypt --for-file <certificate> <file_to_encrypt> --output encrypted.asc` TODO: sq needs to be added to airgapOS
* `gpg -k` to list keys and find the fingerprint for the public certificate you are encrypting to 1. Once encrypted, name the file appropriately and add it to an `artifacts/` directory in the appropriate namespace subdirectory in the ceremonies repository
* `gpg --encrypt <key_id> <secret_file>
1. Once encrypted, add the encrypted file to an `artifacts/` directory in the appropriate namespace subdirectory in the ceremonies repository