generate_pgp_key(): add "https://Account_URL" to key uid
This commit is contained in:
@@ -105,9 +105,14 @@ generate_pgp_key()
|
|||||||
Subkey-Usage: encr
|
Subkey-Usage: encr
|
||||||
Subkey-Length: 1024
|
Subkey-Length: 1024
|
||||||
Name-Real: Account_URL
|
Name-Real: Account_URL
|
||||||
Name-Comment: $DM_ACCOUNT_URL
|
Name-Comment: http://$(basename $DM_ACCOUNT_URL)
|
||||||
Expire-Date: 0
|
Expire-Date: 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
#add "https://Account_URL" to key uid
|
||||||
|
echo -e "Account_URL\n\nhttps://$(basename $DM_ACCOUNT_URL)\nO\nsave\n" | \
|
||||||
|
gpg --passphrase "$DM_PGP_PASSWORD" --command-fd 0 --edit-key Account_URL adduid
|
||||||
|
|
||||||
tput setaf 2
|
tput setaf 2
|
||||||
cat <<-EOF
|
cat <<-EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user