name: pwn-auth-yubikey-piv description: Drive PWN::Auth::YubiKey::PIV from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::Auth::YubiKey::PIV source: pwn/auth/yubikey/piv.rb
PWN::Auth::YubiKey::PIV
Native PIV application. Wire reference: NIST SP 800-73 and Yubico yubikey-manager 5.9.1, yubikit/piv.py and ykman/{piv,_cli/piv}.py. Those sources are specifications only; no executable backend is used.
When to use
Call PWN::Auth::YubiKey::PIV from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/auth/yubikey/piv.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Auth::YubiKey::PIV.help
PWN::Auth::YubiKey::PIV.execute(opts)
Public methods
executeauthenticateverify_pinsigndecryptcalculate_secretverify_uvverify_temporary_pinoperationsauthorshelp
Source
pwn/auth/yubikey/piv.rb
Verification
PWN::Auth::YubiKey::PIV.respond_to?(:execute) after the
module is loaded. Read the source for parameter names.
