P
P
Push Pull2014-09-05 11:27:31
Programming
Push Pull, 2014-09-05 11:27:31

OpenPGP, PGP client plugins, applications (related to email clients) - how is the file decrypted?

I would like to hear from pgp experts how files added to through the mail client are decrypted. For example outlook pgp. From the mail server I receive the source text of the letter, and everything that is related to attachments is, for example, the header "x-content-pgp-universal-saved-content-type" - where is the mime type of the attachment stored, it is not always the same as needed, sometimes it's just octeat-stream, I get the extension from it.
But how do client plugins, applications parse such encrypted attachments and restore data about their name, extension? I can’t get it out of the text of the letter, so there is something of my own, but what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Push Pull, 2014-09-05
@deadbyelpy

I will answer myself - when unpacking files, use the "--list-packets" option,
for example "gpg --list-packets test.gpg"
or "gpg --verbose --decrypt test.gpg > NUL"
original answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question