FiloSottile / FiloSottile/passage

Confusing UI when reencrypting with identities file referencing multiple Yubikeys

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1.2k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

To reproduce:

* create ```.passage/identities``` and ```.passage/store/.age-recipients``` with identities found on two different Yubikeys
```
$ passage generate test
```

Unplug one of the two YubiKeys, then

```
$ rm .passage/store/.age-recipients
$ passage mv test test_new
```

What happens now is that for some reason, ```passage``` is asking for the PIN for the Yubikey present and for the second Yubikey to be inserted at the same time, so it's very unclear what to enter. I've tried ```2``` to skip and typing in the PIN, but neither worked for me ...

This might lead to users inadvertently exhausting their PIN entry attempts ...

EDIT: Probably that is due to the PIN being needed for the decryption, and the missing YubiKey to get the public key?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.