gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
https://gchq.github.io/CyberChef
Apache License 2.0
27.31k stars 3.09k forks source link

Feature request: support more Message type of RSA Verify #1583

Open Blank0120 opened 1 year ago

Blank0120 commented 1 year ago

Is your feature request related to a problem? Please describe. the Message arg of RSA Verify OP, it only support Plain Text, but in my case, I always met that Message is in hexadecimal form. And RSA Verify can not handle that.

Describe the solution you'd like The signature always signed into gibberish, So let signature be the ingredient of operation in hexadecimal form, Then let Message being Input arg, And we can use those 'From Operations' handle Message now.

Describe alternatives you've considered Or just add one more option ingredient, which describes the Message type.

hkc94501 commented 11 months ago

I would particularly like to be able to sign and verify binary objects. Specifically both TLS RSA key exchange and ANSI X.9.24 Part 2 "Unilateral Key Transport" encrypt and sign the exchanged symmetric key.

Blank0120 commented 11 months ago

I would particularly like to be able to sign and verify binary objects. Specifically both TLS RSA key exchange and ANSI X.9.24 Part 2 "Unilateral Key Transport" encrypt and sign the exchanged symmetric key.

In my case, I use it to verify certificate chain, PKCS#10(Certification Request Standard) ...etc which the Plain Text is ASN.1 structure. I do think it's useful for signing and verifying binary objects.

nmweizi commented 10 months ago

In some applications, some verification messages are hex, and the input is also hex. Hope to increase the base64 type of message and input