pivy icon indicating copy to clipboard operation
pivy copied to clipboard

pivy-box should not fail when PCSC cannot find a reader

Open jclulow opened this issue 2 years ago • 0 comments

Without a Yubikey connected, and without an SSH agent available, the program exits rather than entering the recovery menu:

$ pivy-box stream decrypt some.ebox >some.plain.txt
pivy-box: 'stream decrypt' command failed
  Caused by PCSCError: SCardListReaders failed: -2146435026 (Cannot find a smart card reader.)
    in piv_find() at piv.c:1268

jclulow avatar Nov 23 '22 10:11 jclulow