abhishek-ram / pyas2-lib

AS2 Library for building and parsing Messages and MDNs
GNU General Public License v3.0
42 stars 27 forks source link

Other signing algorithms? #60

Open jon-torodash opened 1 year ago

jon-torodash commented 1 year ago

The call to sign

            signed_data = sign_message(
                canonicalize(self.payload), self.digest_alg, message.receiver.sign_key
            )

does not pass down sign_alg, so any non-RSA key won't work. Can this be updated?

abhishek-ram commented 1 year ago

I guess we would have to store this as a part of the Partner configuration. I do not have the time to pick this right now, would you be able to open a PR

chadgates commented 3 months ago

@jon-torodash : which other algos are you looking at beside the following that are there?
rsassa_pkcs1v15 rsassa_pss

gertcuykens commented 2 months ago

I assume Ed25519 / EdDSA is the mainstream now?