Python Version:
3.8
Describe the bug
sas tokens generated for files stored in azurite container (arafato/azurite:2.6.5) are invalid and container returns 403 response.
For same code and data, but with azure-storage-blob==1.5.0 valid tokens are generated and data can be accessed.
(sas tokens generated for real azure storage blob are valid with azure-storage-blob==2.1.0)
Screenshots
Access log (from azurite container) and URL generated for file kitty_2.jpg in container sketchpad with azure-storage-blob==2.1.0
GET /devstoreaccount1/sketchpad/kitty_2.jpg?st=2020-06-24T05%3A58%3A04Z&se=2020-06-24T07%3A08%3A04Z&sp=r&sv=2019-02-02&sr=b&rsct=image/jpeg&sig=f21aCsoNKYVAKql%2BwvLHalvx6SP5nxylxu4sBlak%2Bkk%3D 403 0.889 ms - 240
URL generated for the same file with azure-storage-blob==1.5.0:
GET /devstoreaccount1/sketchpad/kitty_2.jpg?st=2020-06-24T06%3A02%3A31Z&se=2020-06-24T07%3A12%3A31Z&sp=r&sv=2018-03-28&sr=b&rsct=image/jpeg&sig=uSO6uFlEVGJm8A9cJQ8bnZdHjapd3LmX4eFgSpy6sT0%3D 200 4.385 ms - 9767
arafato/azurite:2.6.5
) are invalid and container returns 403 response. For same code and data, but withazure-storage-blob==1.5.0
valid tokens are generated and data can be accessed. (sas tokens generated for real azure storage blob are valid withazure-storage-blob==2.1.0
)To Reproduce Steps to reproduce the behavior:
Sample code:
Expected behavior Generated URLs should be valid.
Screenshots Access log (from azurite container) and URL generated for file
kitty_2.jpg
in containersketchpad
withazure-storage-blob==2.1.0
URL generated for the same file with
azure-storage-blob==1.5.0
: