passforios icon indicating copy to clipboard operation
passforios copied to clipboard

[Bug] Yubikey: Failed to get Encrypted MPI.

Open lzc256 opened this issue 2 years ago • 5 comments
trafficstars

Device: iPhone se 2, yubikey 5 nfc

After entering pin and touching Yubikey, the app prompts “Failed to get encrypted MPI.”

8D774A39-65F7-4494-948B-0C87168EA84B

Anyone has a solution? Thanks a lot.

lzc256 avatar Jul 17 '23 04:07 lzc256

Same issue here. Was able to get pubkey from yubikey. Generating passwords works.

Devices: iPhone X, yubikey 5 nfc

dermichal avatar Sep 02 '23 06:09 dermichal

I have the same issue.

iPhone 13 mini, iOS 17.3.1

Any clue why this can happen?

okukharchuk avatar May 24 '24 18:05 okukharchuk

Same issue on 17.5. Has anyone fixed this?

luk0y avatar May 26 '24 19:05 luk0y

It looks like passforios does not support ascii-armored passwords with Yubikey. As a workaround you can reencrypt passwords without armoring them. On Linux machine could be done using (MAKE SURE YOU HAVE BACKUP BEFORE DOING THIS!):

gpg -d <pass-to-password-file.gpg> | gpg -q --yes -e -r <user_id> -o <pass-to-password-file.gpg>

Also added pull request with fix.

okukharchuk avatar Jun 01 '24 19:06 okukharchuk