Page 1 of 1

How about OpenPGP.js

PostPosted: Sun Dec 28, 2014 10:59 am
by Abdullah
Hello,

Is there any chance to develop a neobook project using this lib ?

website :
Code: Select all
http://openpgpjs.org/


Any advice ?

Re: How about OpenPGP.js

PostPosted: Mon Dec 29, 2014 11:23 am
by dpayer
Abdullah wrote:Hello,

Is there any chance to develop a neobook project using this lib ?

website :
Code: Select all
http://openpgpjs.org/


Any advice ?


I have converted many JS projects to work with NB. Here is the issue you want to understand when you undertake this: look for the variables.

The JS app will look for a string that you will encrypt, it will be provided in a variable. You need to supply that variable via NB using the nbGetVar command in your function. When the action is complete, it will provide the encrypted string in a variable. You will need to convert that to an NB variable using nbSetVar.

Look in the resource center for some of the javascript code I used to create NB functions. It will give you some ideas. Post your progress here. People will help when you show what you've done.

Re: How about OpenPGP.js

PostPosted: Mon Aug 14, 2017 1:00 pm
by krackerjaxz
Another option would be to use the command line of GnuPG. You could include the GnuPG executable (and related libraries) within your Neobook's application folder. Then, use your Neobook app to run the appropriate command of GnuPG.