Use --kms for revocation using X5C provisioner

Offen
#1,713 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
57/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
security

Rechercherichtung

Start by reading the step ca revoke command and how it handles the --kms option alongside the X5C provisioner flags; the issue does not name specific files or tests. Check existing revocation tests, then verify that the example command can revoke a certificate using the Yubikey-backed KMS option.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement needs triage

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Using a X5C provisioner, a user can be authenticated with a Yubikey using --kms. However, this option is not available for revocation.

Why is this needed?

Certificates created using X5C provisioner are often long time certificate (>= 1 year). To me, a user who authenticates with a smartcard for signature should be able to revoke the same way :

$ step ca revoke --kms "yubikey:?pin-prompt" --x5c-cert "yubikey:slot-is=9a" --x5c-key "yubikey:slot-id=9a" <serial>
Vorherrschende Sprache
Go
Sterne
4.3k
Forks
320
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus smallstep/cli

Alle Issues in smallstep/cli

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.