On 2014-09-02 11:06 AM, Derek Wueppelmann wrote:
> Hello,
>
> I've started to use the openpgpjs library recently and was interested in
> getting the generateKeyPair method to run a callback method instead of
> blocking while running. However after several attempts at using the
> callback method I have been unsuccessful in getting this to work. My
> first attempts resulted in error messages about not having a worker
> initialized. My attempt to initialize a worker failed due to not knowing
> what path to use. Or when I used the minified version of the library it
> failed due to not being able to find the correct library file.
>
> Is there an example of using the minified library and having the
> generateKeyPair method run asynchronously?
Never mind, I found an archive of the list and looked back at previous 
messages. I found the solution. I was missing a library. After making a 
call to openpgp.initWorker with the correct path to the 
openpgp.worker.min.js it all works out.

-- 
  o)   Derek Wueppelmann           (o
(D .   [email protected]         D).
((`     http://www.monkeynet.ca   ( ) `



-- 
BEGIN-ANTISPAM-VOTING-LINKS
------------------------------------------------------

Teach CanIt if this mail (ID 02MKrirbH) is spam:
Spam:        
http://canit.monkeynet.ca/canit/b.php?i=02MKrirbH&m=e8f2e8a36814&t=20140902&c=s
Not spam:    
http://canit.monkeynet.ca/canit/b.php?i=02MKrirbH&m=e8f2e8a36814&t=20140902&c=n
Forget vote: 
http://canit.monkeynet.ca/canit/b.php?i=02MKrirbH&m=e8f2e8a36814&t=20140902&c=f
------------------------------------------------------
END-ANTISPAM-VOTING-LINKS

_______________________________________________

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

Reply via email to