diff options
author | forbytten <108727302+forbytten@users.noreply.github.com> | 2024-11-21 08:10:18 +0000 |
---|---|---|
committer | forbytten <108727302+forbytten@users.noreply.github.com> | 2024-11-21 08:10:18 +0000 |
commit | 7d0826166f184d9911703daa1907a54d157612f3 (patch) | |
tree | 4233ccf14627a220781e7f2e978327618ab1f0df | |
parent | Addresses [Missing section for adding uids](https://github.com/drduh/YubiKey-... (diff) | |
download | YubiKey-Guide-7d0826166f184d9911703daa1907a54d157612f3.tar.gz |
Fixed formatting to conform to existing conventions
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -427,14 +427,14 @@ An alternative would be to have distinct keys but you would then require multipl Define an array containing additional uids. As this is bash syntax, each array element should be surrounded by quotes and each element should be separated by a space: -``` +```console declare -a additional_uids additional_uids=("Super Cool YubiKey 2024" "uid 1 <uid1@example.org>") ``` Add the additional uids to the key: -``` +```console for uid in "${additional_uids[@]}" ; do \ echo "$CERTIFY_PASS" | gpg --batch --passphrase-fd 0 --pinentry-mode=loopback --quick-add-uid "$KEYFP" "$uid" done @@ -442,7 +442,7 @@ done Adjust the trust of the additional uids to be ultimate: -``` +```console gpg --command-fd=0 --pinentry-mode=loopback --edit-key "$KEYID" <<EOF uid * trust |