I have generated one RSA-2048 signing key and one DSA-2048 signing key, using gpg command
I would expect the key to have size 2048 bits, however, running the command
gpg --export-secret-keys <key-id> | wc -c
gives a size of 1353Bytes for the RSA private key and 1103Bytes for the DSA private key. The public keys are 656Bytes and 1020Bytes.
Why is this? Is this because the exponent and primes, passphrases, my name etc are stored together with the keys?