jedisct1 / rust-blind-rsa-signatures

RSA blind signatures in Rust
MIT License
26 stars 12 forks source link

Implement Partially Blind RSA Signatures #9

Closed amarjotgill closed 1 month ago

amarjotgill commented 1 month ago

Working on an implementation for https://www.ietf.org/archive/id/draft-amjad-cfrg-partially-blind-rsa-03.html, wanted to see if desire of this would be making new function for functions such as Blind making Partially Blind and Blind RSA signatures separate from one another.

jedisct1 commented 1 month ago

Since this is a port of the Zig version, which has had support for PBRSA for a long time, I'd just do the same thing, and use distinct namespaces.

There's not a lot that can be factored, and trying to do so would just increase complexity.

jedisct1 commented 1 month ago

In addition to be insecure against side channels, expect the pure Rust implementation to be awfully slow. In a Rust application, I'd rather write bindings against the C or Zig versions to be honest.