h-gpgme: High Level Binding for GnuPG Made Easy (gpgme)

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

High Level Binding for GnuPG Made Easy (gpgme): A Haskell API for the gpgme C library.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.5.0.0, 0.5.1.0
Change logCHANGELOG.markdown
Dependenciesbase (==4.*), bindings-gpgme (>=0.1.6 && <0.2), bytestring (>=0.9), data-default, email-validate, time (>=1.4 && <2.0), transformers (>=0.4.1 && <0.6), unix (>=2.5) [details]
LicenseMIT
Copyright(c) Reto Habluetzel 2018
AuthorReto Habluetzel
Maintainerrethab@protonmail.ch
CategoryCryptography
Home pagehttps://github.com/rethab/h-gpgme
Bug trackerhttps://github.com/rethab/h-gpgme/issues
Source repositoryhead: git clone https://github.com/rethab/h-gpgme
UploadedThu May 3 11:07:17 UTC 2018 by rethab

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for h-gpgme-0.5.0.0

[back to package description]

Hackage Build Status

h-gpgme: High Level Haskell Bindings for GnuPG Made Easy

Examples

let alice_pub_fpr = "EAACEB8A"

-- encrypt
Just enc <- withCtx "test/bob" "C" OpenPGP $ \bCtx -> runMaybeT $ do
        aPubKey <- MaybeT $ getKey bCtx alice_pub_fpr NoSecret
        fromRight $ encrypt bCtx [aPubKey] NoFlag plain

-- decrypt
dec <- withCtx "test/alice" "C" OpenPGP $ \aCtx ->
        decrypt aCtx enc

See the test folder for more examples

Changelog