Caution: you will need pcscd installed and running .
$ sudo apt install pcscd
Examples:
List connected YubiKeys, only output serial number:
$ ykman list --serials
Show information about YubiKey with serial number 0123456:
$ ykman --device 0123456 info
Please note that this is not a official maintained package. Use at your own risk.
Report ykman - YubiKey Manager CLI for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
External link warning
You are about to open
Do you wish to proceed?
(Verified ownership)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload from the
upstream project.
Enable snaps on Raspberry Pi and install ykman - YubiKey Manager CLI
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
On a Raspberry Pi running the latest version of Raspbian snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
You will also need to reboot your device:
sudo reboot
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
Install ykman - YubiKey Manager CLI
To install ykman - YubiKey Manager CLI, simply use the following command: