question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add support for x-ms-encryption-algorithm

See original GitHub issue

Which service(blob, file, queue, table) does this issue concern?

blob

Which version of the Azurite was used?

3.10.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

dockerhub

What’s the Node.js version?

?

What problem was encountered?

2021-01-14T16:09:43.1140570Z     return client.upload(
2021-01-14T16:09:43.1141820Z   File "/opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/azure/storage/blob/_generated/operations/_block_blob_operations.py", line 233, in upload
2021-01-14T16:09:43.1142819Z     raise HttpResponseError(response=response, model=error)
2021-01-14T16:09:43.1145036Z azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'x-ms-encryption-algorithm header or parameter is not supported in Azurite strict mode. Switch to loose model by Azurite command line parameter "--loose" or Visual Studio Code configuration "Loose". Please vote your wanted features to https://github.com/azure/azurite/issues'

Steps to reproduce the issue?

upload with azure-storage-blob 2.7.0

Have you found a mitigation/solution?

–loose

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
XiaoningLiucommented, Nov 9, 2021

Thanks for bringing it up, sorry we don’t have an accurate date for this feature yet : (

1reaction
j71hcommented, Apr 26, 2022

This issue should be easier to find as it consumed a lot of time to figure out the cause of not being able to use for example Azurite with Azure Storage Explorer. After searching for a solution for this issue on several occasions, filing issues and trying different things I did find the --loose option and got it to work. Eventually I found my way here. If I hade to put in such an effort to figure this out, chances are that a lot of other people are suffering the same issue and needs to spend a lot of time and frustration.

A solution for this would be nice, and a first step would be to return a clear error message using a suitable http response code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQs | AWS Key Management Service (KMS)
AWS services and client-side toolkits that integrate with AWS KMS use a method known as envelope encryption to protect your data. Under this...
Read more >
What is KMS? - How to Use KMS Key Encryption to Protect ...
The Key Management Service is a managed service used to store and generate encryption keys that can be used by other AWS services...
Read more >
Amazon KMS concepts - Amazon Key Management Service
Amazon KMS keys. Amazon KMS keys (KMS keys) are the primary resource in Amazon KMS. You can use a KMS key to encrypt,...
Read more >
Enabling SSE-KMS - Qubole Data Service Documentation
Enabling SSE-KMS while using Hadoop DistCp¶ ; encryptionKey : It is the key used to encrypt the data. If the algorithm is ;...
Read more >
Key purposes and algorithms | Cloud KMS Documentation
All keys with key purpose ENCRYPT_DECRYPT use the GOOGLE_SYMMETRIC_ENCRYPTION algorithm. No parameters are used with this algorithm. This algorithm uses 256-bit ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found