Skip to content

Commit

Permalink
Fix: piv generate --multi is a flag, not string
Browse files Browse the repository at this point in the history
  • Loading branch information
elonen committed Sep 21, 2024
1 parent 3d6993a commit 7660c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hsm_secrets/piv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def import_to_yubikey_piv_cmd(ctx: HsmSecretsCtx, cert: click.Path, key: click.P
@click.argument('user', required=True)
@click.option('--slot', '-s', type=click.Choice(['AUTHENTICATION', 'SIGNATURE', 'KEY_MANAGEMENT', 'CARD_AUTH']), default='AUTHENTICATION', help="PIV slot to import to")
@click.option('--no-reset', is_flag=True, help="Do not reset PIV app before generating key")
@click.option('--multi', is_flag=False, help="Multi-account mode (no UPN/email SAN)")
@click.option('--multi', is_flag=True, help="Multi-account mode (no UPN/email SAN)")
@click.option('--management-key', '-m', help="PIV management key (hex), default: prompt")
@click.option('--template', '-t', required=False, help="Template label, default: first template")
@click.option('--subject', '-s', required=False, help="Cert subject (DN), default: from config")
Expand Down

0 comments on commit 7660c39

Please sign in to comment.