How about OpenPGP.js

Questions and information about using VBScript and JavaScript in NeoBook functions

Moderator: Neosoft Support

Locked
User avatar
Abdullah
Posts: 11
Joined: Tue Mar 10, 2009 8:08 pm
Location: Palestine

How about OpenPGP.js

Post by Abdullah »

Hello,

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

website :

Code: Select all

http://openpgpjs.org/
Any advice ?
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: How about OpenPGP.js

Post 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.
David Payer
Des Moines, Iowa
USA
krackerjaxz
Posts: 46
Joined: Sun Nov 24, 2013 8:58 am

Re: How about OpenPGP.js

Post 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.
Locked