arekinath / pivy

Tools for using PIV tokens (like Yubikeys) as an SSH agent, for encrypting data at rest, and more
193 stars 26 forks source link

OSX getops doesn't support long option names like --key #2

Closed numericillustration closed 5 years ago

numericillustration commented 6 years ago

invoking with

piv-tool --key

results in

piv-tool: illegal option -- -
error: failed to parse public key: <key id>

whereas

piv-tool -k

works fine