Skip to content

blindsign/blindrsa: reject message unless co-prime with modulus - #616

Merged
cjpatton merged 1 commit into
mainfrom
cjpatton/blindrsa-signer
Jun 4, 2026
Merged

blindsign/blindrsa: reject message unless co-prime with modulus#616
cjpatton merged 1 commit into
mainfrom
cjpatton/blindrsa-signer

Conversation

@cjpatton

@cjpatton cjpatton commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Before blinding the message, ensure that the message and modulus don't have any factor in common. Otherwise, the signer would learn the GCD of the message and modulus which, depending on the modulus, could leak bits of the message.

Before blinding the message, ensure that the message and modulus don't
have any factor in common. Otherwise, the signer would learn the GCD of
the message and modulus which, depending on the modulus, could leak bits
of the message.
@bwesterb

bwesterb commented Jun 2, 2026

Copy link
Copy Markdown
Member

Couldn't find that stipulation in the spec.

@cjpatton

cjpatton commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Couldn't find that stipulation in the spec.

It's steps 4 and 5 in Blind()

@cjpatton
cjpatton merged commit fad76c3 into main Jun 4, 2026
13 checks passed
@cjpatton
cjpatton deleted the cjpatton/blindrsa-signer branch June 4, 2026 15: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.

2 participants