Skip to content

fix: signed urls, stronger hash #11292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix: signed urls, stronger hash #11292

wants to merge 2 commits into from

Conversation

mklos-kw
Copy link
Member

@mklos-kw mklos-kw commented May 6, 2025

Description

Security update to signed URLs, using stronger keys now.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@mklos-kw mklos-kw force-pushed the chore/cs-1 branch 4 times, most recently from cc67c4d to 8e00674 Compare May 7, 2025 08:37
Copy link

sonarqubecloud bot commented May 8, 2025

avg := took.Milliseconds() / int64(N)
// Key iterations: 10000, ~2 ms local, ~5ms CI
// Key iterations: 256*1024, ~73 ms local, ~154ms CI
assert.Less(t, avg, int64(100))
Copy link
Member Author

@mklos-kw mklos-kw May 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The acceptance download timeout in 30s may be related to iterations increase: pua.createSignature takes x30 longer. Noticeable impact for users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant