13
Views
3
Comments
[OpenPGP] Signing of encrypted files
Question
openpgp
Service icon
Forge asset by João Barata
Application Type
Service

Hi! Awesome component, works like a charm!

I'm not sure if this is included or not, but is there a way in this component to sign an encrypted file with your own private key so that the receiver can use your public key to verify the origin of the file?


Thanks in advance!

2020-10-08 19-51-35
João Barata
Staff

Hi @Ruben Schietse,

The current implementation only allows for encryption and decryption of data using OpenPGP.

That is done by using the public key of the recipient to encrypt the data so that only the recipient can decrypt the data using his private key.

My understanding is that you wanted to sign a message with the private key so that the recipient could validate that the message had not been tampered with and was sent by the owner of the private key that matches the public key, am I correct?

Regards,

UserImage.jpg
Ruben Schietse

Hi João, that is correct. I sign it with my private key to validate the authenticity and they can verify that with my public key.

2022-08-19 18-39-37
Lode Desplancke

@João Barata have you been thinking about this signing-question lately? I think it would be valuable for us too. I ve been looking into your C# code already, but we re not quiet getting there. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.