06bf69085e
I must not have tested this before adding it to the repository; otherwise, I would have found this. Oh well... it worked like a charm when copying the GPG information from my desktop to my laptop.
13 lines
314 B
Bash
Executable file
13 lines
314 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
# Run this script to import all of the information exported by `export.sh`.
|
|
# Usage: ./import.sh path/to/directory
|
|
|
|
gpg --import "$1/public.asc"
|
|
gpg --import "$1/secret.asc"
|
|
gpg --import-ownertrust "$1/ownertrust.txt"
|
|
|
|
# Run this at the end to output some verification
|
|
gpg --list-keys
|