# Pwn Auth Yubikey Piv

> Drive PWN::Auth::YubiKey::PIV from pwn_eval.

- Skill: `0dayinc/pwn-auth-yubikey-piv` (Agent Skill)
- Install (CLI): `npx get-skill add 0dayinc/pwn-auth-yubikey-piv`
- Raw SKILL.md: https://api.skillmd.com/api/skills/0dayinc/pwn-auth-yubikey-piv/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: 0dayInc (https://skillmd.com/u/0dayinc)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/0dayinc/pwn-auth-yubikey-piv

---

---
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

```ruby
PWN::Auth::YubiKey::PIV.help
PWN::Auth::YubiKey::PIV.execute(opts)
```

## Public methods

- `execute`
- `authenticate`
- `verify_pin`
- `sign`
- `decrypt`
- `calculate_secret`
- `verify_uv`
- `verify_temporary_pin`
- `operations`
- `authors`
- `help`

## 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.

