> 1. Can openpgpjs read a signature directly?
Here is an example:
https://github.com/openpgpjs/openpgpjs/blob/master/test/general/signature.js#L472
> 2. Can openpgjs handle binary signatures?
You could do:
openpgp.message.fromBinary('\r').sign(...
Or what is your exact use case?
Thomas
On Mon, Apr 7, 2014 at 4:08 AM, Tim Prepscius <[email protected]> wrote:
> I just wanted to check to make sure I've not overlooked it:
>
> 1. Can openpgpjs read a signature directly?
> (I haven't found it, and am using this kludge
>
> // i'm having problems getting the signature with openpgpjs,
> so I
> make a fake message and
> // then get the signature from that
>
> var armoredText = "-----BEGIN PGP SIGNED MESSAGE-----\n\n" +
> data[1];
> var input = window.openpgp.armor.decode(armoredText);
> var packetlist = new window.openpgp.packet.List();
> packetlist.read(input.data);
>
> )
>
>
> 2. Can openpgjs handle binary signatures?
>
> Actually I sort of know that it can't. Or, any signature that
> requires the \r. -- And have done a work around. Is a bug for that
> somewhere I can put myself as a watcher? I'd like to eventually
> remove my work-around.
>
> -tim
> _______________________________________________
>
> http://openpgpjs.org
> Subscribe/unsubscribe: http://list.openpgpjs.org
_______________________________________________
http://openpgpjs.org
Subscribe/unsubscribe: http://list.openpgpjs.org