yep, I had to do it too.

var message =
openpgp.message.readArmored(openpgp.armor.encode(binaryContent));


W dniu 21.04.2015 o 07:11, Barry de Graaff pisze:
> I looked for this too, but could not find it, other than some hint in
> the Github issues,
> 
> ended up base64 encoding first, 
> 
> If anyone knows how to deal with binary files in openpgp, I also like to
> know!
> 
>> Date: Mon, 20 Apr 2015 19:41:20 +0200
>> From: [email protected]
>> To: [email protected]
>> Subject: [openpgpjs] Decryption of the binary message
>>
> Hello
> 
> I am a little lost. Is it possible to decrypt a message which is not
> armored, like a file encrypted with gpg?
> message.fromBinary() creates only one literal package.
> 
>> _______________________________________________
>>
>> http://openpgpjs.org
>> Subscribe/unsubscribe: http://list.openpgpjs.org
> 
> 
> _______________________________________________
> 
> http://openpgpjs.org
> Subscribe/unsubscribe: http://list.openpgpjs.org
> 

-- 
Paweł Górny
mailto:[email protected] http://pawelgorny.com
* only way to feel the noise is when it's good and loud *

In reply please use the key: 0xF0F72044
_______________________________________________

http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org

Reply via email to