I've checked the versions and followed the tutorial.
Code:
10036$ gpg2 --version ‹›
gpg (GnuPG/MacGPG2) 2.0.28
libgcrypt 1.6.3
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Code:
10037$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye ‹›
D[0000] 04 02 08 90 00 .....
OK
My key pub is 1024D but subkeys are 2048R. Could my issue be that I used DSA on the original key? I'm also doing this on a mac using gpgtools.
Code:
10040$ gpg --edit-key B43BA2E0 ‹›
gpg (GnuPG/MacGPG2) 2.0.28; Copyright (C) 2015 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Secret key is available.
pub 1024D/563FD864 created: 2000-08-07 expires: never usage: SCA
trust: ultimate validity: ultimate
sub 2048R/AF2C1F8D created: 2006-04-29 expires: never usage: E
sub 2048R/B43BA2E0 created: 2016-04-01 expires: never usage: A
Thanks for your help!