-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypt + Sign #202
Comments
mencrypt uses I think above error results due to using mverify as a filter, but it's a tool you need to call on the whole message. |
I'll double check this part so
oh ? But it seems that the vanilla mverify can't check the signature too
The signature seems included in the encrypted part as the raw email looks like
Anyway I'll adapt it to be usable as filter. I'd like to display signature verification with mless |
It seems it is not enough to emulate the mail from sr.ht
|
I may be wrong about all this. Does decrypt also check the signature ? Does the npgp filter will just break if the mail is wrongly signed ? In this case, I should not focus that much on the signature.asc |
Filters only get the attachment as input, but you need the whole message to verify. |
And please provide the raw message, I don't want to guess the MIME headers to reproduce this. |
here the full message but I think you'll have difficulties to decrypt it. If you got an sr.ht account, this is the test email button after setting up the encryption pgp key |
I think the encrypted part contain in itself multiple subparts. mblaze in it current state can't know about the signature encrypted subpart. Here the mpgp filter stdout
The mshow and mless display it as an ordinary subpart but it is a little trickier |
Yes, mverify won't work on that encrypted file (could be extended I guess). But mgpg should show
at the end. |
Putting an external signature into a GPG signed part seems weird, as you could just sign the GPG part in the first place. But on this content mverify should work. |
Also see #175. |
gpg2 -d do not display signature information
probably cause the signature is in its dedicated subpart ant not the gpg part |
I'll try to extends the mverify to decrypt the encrypted part then check signature in the case of pgp emails |
It work nicely with encrypted email from mblaze (signature in the gpg part) but I dunno what will be display if there is a signature missmatch. I'd like to be noticed somehow |
Something like this seems enough to me
edit: we should add some |
I just configured filters with some contrib scripts from this repo and I received this mail
It seems this signature could not be verified.
After some check, it seems I can't send an encrypted + signed email too
In recap:
The text was updated successfully, but these errors were encountered: