Skip to content

Blind signing paths by default; deprecate pss::BlindedSigningKey - #758

Merged
tarcieri merged 1 commit into
masterfrom
blind-signing-paths
Nov 2, 2026
Merged

tarcieri merged 1 commit into
masterfrom
blind-signing-paths

Conversation

@tarcieri

@tarcieri tarcieri commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Similar change to #739, but for signing instead of decryption, utilizing getrandom when available to supply randomness for blinding automatically when the crate feature is enabled (which it is by default).

This also changes pss::BlindedSigningKey into a deprecated type alias for pss::SigningKey. Contrary to a code comment claiming that it's an implementation of draft-irtf-cfrg-rsa-blind-signatures (now RFC9474) it doesn't actually implement this protocol but merely blinds the signing paths, now making it redundant.

A proper implementation of RFC9474 blinded signatures would be interesting to add, but the API would need to receive an already encoded and blinded representative from the client, and we don't support that.

Similar change to #739, but for signing instead of decryption, utilizing
`getrandom` when available to supply randomness for blinding
automatically when the crate feature is enabled (which it is by
default).

This also changes `pss::BlindedSigningKey` into a deprecated type alias
for `pss::SigningKey`. Contrary to a code comment claiming that it's an
implementation of `draft-irtf-cfrg-rsa-blind-signatures` (now RFC9474)
it doesn't actually implement this protocol but merely blinds the
signing paths, now making it redundant.

A proper implementation of RFC9474 blinded signatures would be
interesting to add, but the API would need to receive an already encoded
and blinded representative from the client, and we don't support that.
@tarcieri
tarcieri force-pushed the blind-signing-paths branch from ee4829c to 9a71ae1 Compare November 2, 2026 18:01
@tarcieri
tarcieri merged commit 5a45b4d into master Nov 2, 2026
13 checks passed
@tarcieri
tarcieri deleted the blind-signing-paths branch November 2, 2026 18:10
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