Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please explain how webpg depends on GnuPG #33

Open
nick7ikin opened this issue Sep 3, 2013 · 1 comment
Open

Please explain how webpg depends on GnuPG #33

nick7ikin opened this issue Sep 3, 2013 · 1 comment

Comments

@nick7ikin
Copy link

I see two option:

  1. developer have to install GnuPG in order to compile webpg
  2. each user that installs webpg have to install GnuPG on his PC.

Which option is correct?

I see compiled binaries here that webpg is depending on. So I guess that GnuPG library is needed only during compilation when header files are required. But at runtime webpg links with dynamic libraries and doesn't require GnuPG installed.

@kylehuff
Copy link
Owner

kylehuff commented Sep 3, 2013

The build documentation should not reference GnuPG anymore. Before the project had the static libs integrated into the build environment, in order to build the GPGME library (and headers) needed to be on the development system. I have since changed the project to include the required libraries within the project tree.

On the end-user side, GnuPG is still a requirement. The libraries that are statically included into WebPG are for communicating with GnuPG (libgpgme) -- WebPG does not provide the GnuPG, or any other crypto engine.

One of the primary reasons for this is because even if WebPG provided an instance of GnuPG, I am not aware of a manner in which the installation of WebPG could install and configure a valid key agent. The key agent is one of more vital parts concerning WebPG, as WebPG does not handle passphrases. WebPG merely invokes an operation of the gnupg context and expects the key agent to pickup the event and unlock the keyring for the current operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants