name: pwn-auth-yubikey-openpgp description: Drive PWN::Auth::YubiKey::OpenPGP from pwn_eval. license: MIT allowed-tools: [pwn, pwn_eval] metadata: bundled: true generated: true module: PWN::Auth::YubiKey::OpenPGP source: pwn/auth/yubikey/openpgp.rb
PWN::Auth::YubiKey::OpenPGP
Native OpenPGP card protocol. No subprocesses, credential defaults or I/O at load. References: OpenPGP Card 3.4; Yubico yubikit/openpgp.py 5.9.1 (BSD-2-Clause).
When to use
Call PWN::Auth::YubiKey::OpenPGP from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/auth/yubikey/openpgp.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Auth::YubiKey::OpenPGP.help
PWN::Auth::YubiKey::OpenPGP.operations(opts)
Public methods
operationsexecutegenerate_keyimport_keysignauthenticatedecipheralgorithmspublic_keyverify_pinunverify_pindecryptauthorshelp
Source
pwn/auth/yubikey/openpgp.rb
Verification
PWN::Auth::YubiKey::OpenPGP.respond_to?(:operations) after the
module is loaded. Read the source for parameter names.
