-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Description
When using the tss-rsa-cpp library to generate and sign data, signatures often fail to verify on the Arweave platform. This behavior is inconsistent and requires multiple attempts of encoding and signing before a valid signature is produced.
Steps to Reproduce
- Use the library to generate RSA keys and create a signature for a arweave signature (using Arweave JS's getSignatureData method).
- Attempt to verify the signature on Arweave.
- Observe that verification fails most of the time, even though no changes are made to the signing process or data.
Observations
- Using different
SaltLengthsettings (e.g.,AutoLengthorEqualToHash) during EMSA-PSS encoding does not resolve the issue. - The issue appears probabilistic, as repeated encoding/signing eventually produces a valid signature.
Expected Behavior
Signatures generated by the library should consistently verify on Arweave without requiring multiple attempts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels