Description
====================
gpgauth-npapi is an NPAPI plugin project that provides gpgAuth related Public Key/Private Key operations for use with gpgAuth client-side browser implementations.
This is a firebreath NPAPI plugin project, and this repository includes a submodule of FireBreath 1.4
Current Version: v1.0.3b
Building Dependencies
=====================
* cmake
* development headers and libraries for libgpgme and gpg-error
Prep Build Environment
======================
From the root of this repository, do the following:
git submodule update --recursive --init
Next, type one of the following, depending on your OS:
Linux:
./firebreath/prepmake.sh . build
Windows:
For visual studio 2008:
firebreath\prep2008.cmd . build
For visual studio 2009:
firebreath\prep2009.cmd . build
For visual studio 2010:
firebreath\prep2010.cmd . build
Mac OSX:
firebreath/prepmac.sh . build
(or to specify i386: firebreath/prepmac.sh . build -DCMAKE_OSX_ARCHITECTURES=i386 -DCMAKE_BUILD_TYPE=MinSizeRel)
Build gpgAuth Plugin
====================
* cd ./build
Linux:
* make gpgAuthPlugin
Mac OSX:
xcodebuild -configuration MinSizeRel -target gpgAuthPlugin ARCHS="i386"
MS Windows:
cmake --build . --config MinSizeRel --target gpgAuthPlugin
Move/Copy the plugin file to someplace accessible by the browser/extension
====================
Under linux, you can find the compiled .so file under:
build/bin/gpgAuthPlugin/npgpgAuthPlugin.so
Under Windows you can find the compiled .dll file under:
build\bin\gpgAuthPlugin\MinSizeRel\npgpgAuthPlugin.dll
Under Mac OSX you can find the compiled .plugin file under:
build/projects/gpgAuthPlugin/MinSizeRel/gpgAuthPlugin.plugin