# Are the metadata encrypted by PGP? [closed]

I know that PGP provides an hybrid scheme of encryption which can ensure both the encryption of a message and the authentication, but how it stores the secondary data, such as the object, the sender, the receiver, time, etc. on the server? Are they encrypted or stored in plaintext?

## closed as off-topic by fgrieu, e-sushiDec 13 '16 at 10:27

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Programming questions are off-topic even if you are writing or debugging cryptographic code. Unless your question is specifically about how the cryptographic algorithm or protocol works, you should look into asking on Stack Overflow instead." – fgrieu, e-sushi
If this question can be reworded to fit the rules in the help center, please edit the question.

• This is off-topic, thus I will only comment. Classic PGP/GPG enciphers/signs only the data bytes in the file, not in alternate data streams, resource fork or similar. File name/extension can moreless be kept as the default destination file name, but that's not enciphered of signed, and easily modified. Anything else is ignored, including dates, owner, group, access permissions, sparsity, version history... – fgrieu Dec 12 '16 at 17:20
• I'm sorry, what do you mean by "anything else is ignored"? Is it stored in plaintext? – M-elman Dec 12 '16 at 19:41
• I mean anything else has no effect on the ciphertext or signature; and is thus lost on decryption, or/and not integrity-protected by signature. – fgrieu Dec 12 '16 at 21:26

Should you receive an encrypted mail by pgp, you will notice that you have 2 files attached: noname.pgp and encrypted.asc. Thus the content of the message is hidden but not the metadata.