[Bug]: Param Validity Checks in Wrong Order

オープン
#1,261 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@hslatman がすでに取り組んでいます。

2024年8月27日 から。

評価

この issue はまだ評価されていません。

説明

bug needs triage
Steps to Reproduce

Execute a step ca certificate command with an invalid file path.

Your Environment
  • OS - Ubuntu
  • step CLI Version - 0.27.2
Expected Behavior

Check the path params before retrieving a certificate.

Actual Behavior

Step-CLI retrieves a certificate and fails to save it. This creates a situation where a certificate has been issued, transmitted, and now can't be accessed. That certificate needs to be revoked, but the client doesn't even have the serial number.

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

主要言語
Go
スター
4.3k
フォーク
320
平均マージ
2日 3時間
マージ済み PR(30日)
11

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

smallstep/cli のほかの issue

smallstep/cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。