Hello Herr Kreuzer. I would have a look into the unit tests. they helped me a lot!
The require function is for the grunt build proccess afaik. In the minified versions they dont exist. Also have a look into the web worker unit tests. If you don't want the browser to freeze for seconds when generating big keys, this will help you. Another note: You seem to have allmost the same project as i am doing right now xD more or less. We could exchange ideas or something. Greetings, Payk On Thu, Feb 6, 2014 at 3:15 PM, Michael Kreuzer <[email protected]>wrote: > Hi @all, > > at the moment I'm writing my Bachelor's Thesis and my topic is to > integrate the OpenPGP functionality in Facebook chat. > So you could use my web site to chat encrypted with other FB friends (The > chat part is done with XMPP using Strophe.js). > Therefore I'm using openPGP js and I think you guys did a really great > job. So thanks for the hard work. > Till now I've made it to automatically send and receive encrypted > messages, to decrypt them, sign (and partly to verify them). > > But I did this only in openPGP 0.1.0 and the current version is 0.3.2. > Now I wanted to migrate, but basicially the whole structure of openpgp js > has changed. > > So here's my problem: > a) When I'm using the source code version javascript can't find the > "require()" function. > I assume this part of node.js / browserify / ... > I don't have any experience with these plugins, so maybe someone could > tell me what to do. > > b) When I'm using the minified version it simply can't find the functions > e.g. "signAndEncryptMessage()". > > In Version 0.1.0 the examples helped me a lot. > Would be nice if someone could give me some help. Thanks in advance! > > Regards, > Michael > _______________________________________________ > > http://openpgpjs.org > Subscribe/unsubscribe: http://list.openpgpjs.org >
_______________________________________________ http://openpgpjs.org Subscribe/unsubscribe: http://list.openpgpjs.org

