I migrated my key from RSA to ECDSA. I am trying to setup passforios to use two keys (iPhone and yubikey), but I got an error in the passforios app: "Invalid session key size" while trying to decrypt and the new password created are not decryptable by both iPhone and Yubikey.
I used RSA keys with sub-keys on the yubikey and one RSA key without subkeys on iPhone: everything works.
Now I use ECDSA sub-keys both on the yubikey and iPhone:
The pass .gpg-id contains MasterId and iPhoneMatserId.
If I use only the iPhone PGP as a configuration for passforios as follows:
gpg -a --export iPhoneMatserId > public.asc
gpg -a --export-secrect-keys iPhoneMatserId > private.asc
on iPhone I am able to create new password and decrypt the stored passwords. Clearly, with the yubikey I am not able to decrypt the password created on iPhone, because "yubikey" public key is missing (i.e., MasterId).
I tired to add the public PGP key of the MasterId but I got always the error "Invalid session key size error". Those are the way I created the public PGP key to be used on passforios:
# master keys
gpg -a --export MasterId iPhoneMatserId > public.asc
# only sub-keys
gpg -a --export SubId2! iPhoneSubId1! > public.asc
# only sub-keys without !
gpg -a --export SubId2 iPhoneSubId1 > public.asc
I migrated my key from RSA to ECDSA. I am trying to setup passforios to use two keys (iPhone and yubikey), but I got an error in the passforios app: "Invalid session key size" while trying to decrypt and the new password created are not decryptable by both iPhone and Yubikey.
I used RSA keys with sub-keys on the yubikey and one RSA key without subkeys on iPhone: everything works.
Now I use ECDSA sub-keys both on the yubikey and iPhone:
The pass
.gpg-id
contains MasterId and iPhoneMatserId.If I use only the iPhone PGP as a configuration for passforios as follows:
on iPhone I am able to create new password and decrypt the stored passwords. Clearly, with the yubikey I am not able to decrypt the password created on iPhone, because "yubikey" public key is missing (i.e., MasterId).
I tired to add the public PGP key of the MasterId but I got always the error "Invalid session key size error". Those are the way I created the public PGP key to be used on passforios:
What I am doing wrong?