Skip to content

feat: Custom RSA PSS salt length#123

Merged
madztheo merged 5 commits intomainfrom
tm/custom-rsa-pss-salt-length
Nov 17, 2025
Merged

feat: Custom RSA PSS salt length#123
madztheo merged 5 commits intomainfrom
tm/custom-rsa-pss-salt-length

Conversation

@madztheo
Copy link
Contributor

Allow to customize the salt length used by the RSA PSS signature (rather than assuming its length is equal to the digest length). This notably fixes an edge case with Danish IDs where the salt length is 64 for a sha256 digest (i.e., 32-byte length)

@madztheo madztheo marked this pull request as ready for review November 16, 2025 10:20
@madztheo madztheo merged commit 5a1e852 into main Nov 17, 2025
2 checks passed
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