add keySize to public key