Creation of Azure storage from connection string failed for shared key credentials
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start with StorageFactory.Blobs.FromConnectionString and FluentStorage.ConnectionString.StorageConnectionString.Parse, which the issue identifies as the path that decodes every property value. Check how the Azure account key and password values are handled, then reproduce the failure with a key containing +. Done means shared key credentials work without corrupting the Base64 key, with connection string parsing behavior covered by a regression test.
索引モデルが issue の本文から書いたものです。
説明
the creation of a Azure file or blob storage instance failes if doing so via StorageFactory.Blobs.FromConnectionString
Reason:
The factory uses FluentStorage.ConnectionString.StorageConnectionString internally to parse the connection string. For each property value the method UrlDecode is called by the Parse method. This makes a lot of sense to be able to pass special characters in passwords.
The Azure account key is Base64 encoded, though. If it contains + characters, those get replaced by spaces, other characters might also get replaced falsely. Therefore the Azure account key must not be tampered with.
One workaround would be to store the account key urlencoded in the connection string in the application configuration - not very user friendly, its base64 already...
The StorageConnectionString on the other hand side has no knowledge if the secret key is urlencoded or base64 encoded... not sure how to solve this.
Maybe it would make sense to mention the url-encoding for passwords in the documentation.
- 主要言語
- C#
- スター
- 464
- フォーク
- 78
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
robinrodricks/FluentStorage のほかの issue
-
Azure Blob bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
robinrodricks/FluentStorage#179 · コメント 1 件 ·
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
robinrodricks/FluentStorage#178 · コメント 7 件 ·
-
discussion help wanted
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
robinrodricks/FluentStorage#148 ·
-
response requested Wasabi
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
robinrodricks/FluentStorage#121 · コメント 2 件 ·
-
maintainance work in progress
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
robinrodricks/FluentStorage#111 · コメント 2 件 ·
robinrodricks/FluentStorage の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
SixLabors/ImageSharp.Drawing#438 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
NetSparkleUpdater/NetSparkle#762 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
bug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nightscout/nocturne#4563 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Tyrrrz/YoutubeDownloader#925 ·