Plug GPG Verify

A plug that can be used to verify the ownership of public gpg keys.

TLDR;

It simply generates a random phrase and sends that to the user. The user then is required to sign the phrase and send it back which can then be verified.

Installation

Add plug_gpg_verify to your list of dependencies in mix.exs:

def deps do
  [
    {:plug_gpg_verify, "~> 0.1.0"}
  ]
end

This plug makes use of a gpg library that requires:

Usage

Documentation