mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
offline - Updated gpg cheatsheet to include adding a public key. Added AmRRON sample signed AIB file from the 2026/03/16 net. Updated offline docs list to include AmRRON's documentation on verifying signatures
This commit is contained in:
@@ -4,7 +4,7 @@ date: 2026-03-19
|
||||
updated: 2026-03-19
|
||||
author: [The Tech Prepper]
|
||||
categories: [cryptography]
|
||||
tags: [pgp]
|
||||
tags: [gpg, pgp]
|
||||
copyright: "(C) 2026 The Tech Prepper, LLC"
|
||||
---
|
||||
|
||||
@@ -12,9 +12,29 @@ This is an in-progress cheatsheet for performing basic cryptographic
|
||||
functions using GNU Privacy Guard (gpg), including encrypting,
|
||||
decrypting, and verifying files in an offline environment.
|
||||
|
||||
## Add Key
|
||||
|
||||
Import a public key into your keyring.
|
||||
|
||||
1. Download the public key from the trusted individual. It can be saved
|
||||
anywhere. For ease of backup, save them under `~/keys/`. Create this
|
||||
directory if it does not exist in your home directory.
|
||||
|
||||
2. Import the key file.
|
||||
|
||||
gpg --import KEYFILE
|
||||
|
||||
3. Verify the key fingerprint. Your trusted source should provide you
|
||||
with the fingerprint.
|
||||
|
||||
gpg --fingerprint
|
||||
|
||||
4. Optionally, edit the key and set the trust level. See the "Set Trust
|
||||
Level" section.
|
||||
|
||||
## List Keys
|
||||
|
||||
List the current keys on your system.
|
||||
List the current public keys on your system.
|
||||
|
||||
```
|
||||
gpg --list-keys
|
||||
@@ -31,6 +51,9 @@ gpg --list-keys
|
||||
- `[E]` - Encrypt
|
||||
- `unknown|full|ultimate` - See "Set Trust Levels"
|
||||
|
||||
|
||||
List the current private keys on your system.
|
||||
|
||||
```
|
||||
gpg --list-secret-keys
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user