packages feed

otp-authenticator-0.1.0.1: otp-authenticator.cabal

name:                otp-authenticator
version:             0.1.0.1
synopsis:            OTP Authenticator (a la google) command line client
description:         Simple tool for keeping track of your one-time pad
                     two-factor authentication keys; basically a command-line
                     version of the canonical
                     <https://github.com/google/google-authenticator google authenticator app>.
                     .
                     The library uses GnuPG (through /h-gpgme/) to safely
                     encrypt your secret keys. The first time you use it, it
                     asks for a fingerprint to use for encryption. Currently
                     /GnuPG 1.x/ has some issues with /h-gpgme/ when asking
                     for keys, so /GPG 2.x/ is recommended.  Keys are stored,
                     encrypted, at `~/.otp-auth.vault` by default.
homepage:            https://github.com/mstksg/otp-authenticator
license:             BSD3
license-file:        LICENSE
author:              Justin Le
maintainer:          justin@jle.im
copyright:           (c) Justin Le 2017
category:            CLI, Security
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.10
tested-with:         GHC == 8.0.2
                   , GHC == 8.2.1

library
  hs-source-dirs:      src
  exposed-modules:     Authenticator.Vault
                       Encrypted
                       Authenticator.Common
                       Authenticator.Actions
                       Authenticator.Options
  build-depends:       base >= 4.9 && < 5
                     , aeson
                     , sandi
                     , haskeline
                     , bifunctors
                     , binary
                     , bytestring
                     , containers
                     , cryptonite
                     , dependent-sum
                     , filepath
                     , h-gpgme
                     , microlens
                     , one-time-password
                     , optparse-applicative
                     , singletons
                     , text
                     , time
                     , transformers
                     , trifecta
                     , type-combinators
                     , unix
                     , uri-encode
                     , witherable
                     , yaml
  default-language:    Haskell2010
  ghc-options:         -Wall

executable otp-auth
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  build-depends:       base
                     , aeson
                     , binary
                     , bytestring
                     , h-gpgme
                     , otp-authenticator
                     , text
                     , yaml
  default-language:    Haskell2010

test-suite otp-authenticator-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , otp-authenticator
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/mstksg/otp-authenticator