We encrypt a file for a client using BouncyCastle API. He gets a “For your eyes only” message from PGP when trying to decrypt it. Why?

I'm guessing that PgpLiteralDataGenerator. Console is what is causing it to show up only in the console of the client machine Stream literalOut = literalDataGenerator. Open( compressedOut, PgpLiteralData.

Binary, PgpLiteralDataGenerator. Console, DateTime. Now, new byteBUFFER_SIZE).

I'm guessing that PgpLiteralDataGenerator. Console is what is causing it to show up only in the console of the client machine. Stream literalOut = literalDataGenerator.

Open( compressedOut, PgpLiteralData. Binary, PgpLiteralDataGenerator. Console, DateTime.

Now, new byteBUFFER_SIZE).

That could be it. Thank you! I'll look into it.

– Linus May 17 at 19:42 is the encrypted data originating from a file? You could put the filename in place of the PgpLiteralDataGenerator. CONSOLE – PeskyGnat May 17 at 19:48 Yes it is in this case, so that is what I'm trying.In the case where it isn't originating from a file--maybe just an input stream, is there a typical value to use for that parameter other than _Console?

Is it safe to put a placeholder filename like "Contents"? – Linus May 17 at 20:13 Replacing PgpLiteralDataGenerator. Console with the filename of the file we are encrypting fixed the problem for the client.

– Linus May 170 at 3:45.

This message is shown when the encrypted file doesn't include a name of the original file. If you are not encrypting the file, you can put almost anything to that field (given that it constitutes a file name, valid for the target system).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions