|
@@ -1505,7 +1505,6 @@ function create_gpg_subkey {
|
1505
|
1505
|
KEYGRIP=$(gpg --fingerprint --fingerprint $MY_EMAIL_ADDRESS | grep fingerprint | tail -1 | cut -d= -f2 | sed -e 's/ //g')
|
1506
|
1506
|
|
1507
|
1507
|
# Generate a GPG subkey
|
1508
|
|
- # Here a 2048bit length is used to be compatible with yubikey
|
1509
|
1508
|
echo 'Key-Type: 9' > /home/$MY_USERNAME/gpg-genkey.conf
|
1510
|
1509
|
echo "Key-Grip: $KEYGRIP" > /home/$MY_USERNAME/gpg-genkey.conf
|
1511
|
1510
|
echo 'Subkey-Type: 1' >> /home/$MY_USERNAME/gpg-genkey.conf
|