`token` commands echo a mistyped secret key given in the `--to` param back in the "alias not found" error
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
無効なシークレット形式の値を使って、報告されている token transfer、token allowance、token balance のケースを再現し、テキスト出力と JSON 出力の両方を確認します。パラメーター --to、--spender、--account に共通する処理を追跡します。無効なシークレット形式の入力がエコーされず、通常のエイリアスエラーは理解しやすいままであれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What version are you using?
stellar-cli 28.1.0 (d0b26d9, built from main).
What did you do?
I accidentally passed something shaped like a secret key, but invalid, where an address was expected. Here a made-up S… string stands in for a mistyped secret:
stellar token transfer --id native --from alice --amount 1 --network testnet \
--to SBADKEYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
What did you expect to see?
An error that doesn't repeat the value back, like the one --from gives for the same input.
What did you see instead?
--from hides the value:
❌ error: invalid signing key or identity name
but --to prints it in full, in both text and JSON output:
❌ error: Account alias "SBADKEYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" not Found
{"error":{"type":"invalid_address","message":"Account alias \"SBADKEYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\" not Found"}}
With a real secret that has a one-character typo, this prints a near-copy of the secret to the terminal, logs and JSON consumers. token allowance --spender and token balance --account print it the same way.
- 主要言語
- Rust
- スター
- 128
- フォーク
- 147
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 35
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
stellar/stellar-cli のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stellar/stellar-cli#2806 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
stellar/stellar-cli#2796 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
stellar/stellar-cli#2781 ·
メンテナーはふだん 1 日以内に返信
-
Display the full authorization tree before signing auth entries対応中かも @DeadZen が 13 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
stellar/stellar-cli#2779 ·
メンテナーはふだん 1 日以内に返信
-
`tx update sequence-number next` fails when the transaction source is a muxed account再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stellar/stellar-cli#2774 ·
メンテナーはふだん 1 日以内に返信
stellar/stellar-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
EmbarkStudios/cargo-deny#910 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tursodatabase/turso#10054 ·
メンテナーはふだん 1 日以内に返信
-
build: Update rust version対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンdependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
ibm-granite-community/granite-cli#229 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
orottier/web-audio-api-rs#658 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
aosama/astronomical#1318 ·
メンテナーはふだん 1 日以内に返信