GPGMEx
Native Elixir bindings for GnuPG.
This is in early stages of development and should be thought of as Alpha software.
getting-started
Getting Started
This has only been tested on Linux
You'll need:
- a working version of gpg installed
- gpgme c library
- configuration added to
config.exs
debian-based-ubuntu-pop-os-etc
Debian based (ubuntu, pop-os, etc)
Installing gpg and gpgme
$ sudo apt install gpg libgpgme-dev
Configuration
Add this to config.exs
in your app
config :gpgmex,
gpg_home: "~/.gnupg", # where your gpg home path is
gpg_path: "/usr/bin/gpg" # where your gpg binary lives
arch-based-arch-manjaro-etc
Arch based (Arch, Manjaro, etc)
Installing gpg and gpgme
$ sudo pacman -Syu gpg gpgme
Configuration
Add this to config.exs
in your app
config :gpgmex,
gpg_home: "~/.gnupg", # where your gpg home path is
gpg_path: "/usr/bin/gpg" # where your gpg binary lives
finally
Finally
Add gpgmex to your dependencies
defp deps do
[
{:gpgmex, "~> 0.0.7"}
]
end