pwstore-cli 0.3 → 0.4
raw patch · 5 files changed
+90/−80 lines, 5 filesdep ~test-frameworkdep ~test-framework-hunit
Dependency ranges changed: test-framework, test-framework-hunit
Files
- NEWS +0/−23
- NEWS.md +29/−0
- README +0/−51
- README.md +51/−0
- pwstore-cli.cabal +10/−6
− NEWS
@@ -1,23 +0,0 @@-pwstore-cli-===========--Version 0.3-------------- * Bumped dependency on cmdargs to allow versions >= 0.7 and < 1.0.- * Switched tests from hspec to test-framework.- * Define a cabal test suite.--Version 0.2-------------- * Changed category "Crypto" to "Cryptography".- * Require at least pwstore-fast version 2.2 to avoid a space leak- present in earlier versions.- * Use Data.Text.Encoding.decodeUtf8 instead of the deprecated- function decodeASCII.--Version 0.1--------------Initial release allowing generation, verification, and strengthening.
+ NEWS.md view
@@ -0,0 +1,29 @@+pwstore-cli+===========++Version 0.4+-----------++ * Relaxed version dependencies on test-framework.+ * Migrated to darcs hub.++Version 0.3+-----------++ * Bumped dependency on cmdargs to allow versions >= 0.7 and < 1.0.+ * Switched tests from hspec to test-framework.+ * Define a cabal test suite.++Version 0.2+-----------++ * Changed category "Crypto" to "Cryptography".+ * Require at least pwstore-fast version 2.2 to avoid a space leak+ present in earlier versions.+ * Use Data.Text.Encoding.decodeUtf8 instead of the deprecated+ function decodeASCII.++Version 0.1+-----------++Initial release allowing generation, verification, and strengthening.
− README
@@ -1,51 +0,0 @@-pwstore-cli-===========--About--------This is a simple command line interface to Peter Scott's pwstore-library. It allows-- * generation of password hashes from a given password;- * verification that a given password hash match a given password; and- * strengthening a given password hash.--Building and Installing--------------------------In most cases you can build and install this program using the regular-cabal commands-- $ cabal configure- $ cabal build- $ cabal install--Alternatively, if you wish to build the program such that it uses-`pwstore-purehaskell`, rather than `pwstore-fast` then disable the-"fast" flag. That is, change the configure command to-- $ cabal configure -f '-fast'--Examples-----------This is an example shell session running a few variants of the pwstore-command.-- $ pwstore- Password:- Repeat password:- sha256|12|F8+RyvEYct+f3u0OIXf7zA==|vG8+SvGD78BbNP5cO4yFyIxvauRMK5DLf3cMFWex804=- $ pwstore <<<hunter2- sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=- $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hunter2- good password- $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hello- bad password- $ pwstore strengthen -s 13 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo='- sha256|13|nFXB28V2In4jg3XT7FnREw==|vkeWCO9CA1ZPlInaoLlR4Ei5c+Y6EVLZdi5ucrQED5g=- $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hello- bad password- $ pwstore verify 'sha256|13|nFXB28V2In4jg3XT7FnREw==|vkeWCO9CA1ZPlInaoLlR4Ei5c+Y6EVLZdi5ucrQED5g=' <<<hunter2- good password
+ README.md view
@@ -0,0 +1,51 @@+pwstore-cli+===========++About+-----++This is a simple command line interface to Peter Scott's pwstore+library. It allows++ * generation of password hashes from a given password;+ * verification that a given password hash match a given password; and+ * strengthening a given password hash.++Building and Installing+-----------------------++In most cases you can build and install this program using the regular+cabal commands++ $ cabal configure+ $ cabal build+ $ cabal install++Alternatively, if you wish to build the program such that it uses+`pwstore-purehaskell`, rather than `pwstore-fast` then disable the+"fast" flag. That is, change the configure command to++ $ cabal configure -f '-fast'++Examples+--------++This is an example shell session running a few variants of the pwstore+command.++ $ pwstore+ Password:+ Repeat password:+ sha256|12|F8+RyvEYct+f3u0OIXf7zA==|vG8+SvGD78BbNP5cO4yFyIxvauRMK5DLf3cMFWex804=+ $ pwstore <<<hunter2+ sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=+ $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hunter2+ good password+ $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hello+ bad password+ $ pwstore strengthen -s 13 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo='+ sha256|13|nFXB28V2In4jg3XT7FnREw==|vkeWCO9CA1ZPlInaoLlR4Ei5c+Y6EVLZdi5ucrQED5g=+ $ pwstore verify 'sha256|12|nFXB28V2In4jg3XT7FnREw==|MQP6yr9RcyRm7J72dtruzseBfQFC31WKQWRxY225KWo=' <<<hello+ bad password+ $ pwstore verify 'sha256|13|nFXB28V2In4jg3XT7FnREw==|vkeWCO9CA1ZPlInaoLlR4Ei5c+Y6EVLZdi5ucrQED5g=' <<<hunter2+ good password
pwstore-cli.cabal view
@@ -1,12 +1,12 @@ name: pwstore-cli-version: 0.3+version: 0.4 synopsis: Command line interface for the pwstore library description: This program provides a command line interface for Peter Scott's pwstore library. Specifically, it is possible to generate, validate, and strengthen passwords hashed in the pwstore format.-homepage: http://darcsden.com/rycee/pwstore-cli/-bug-reports: http://darcsden.com/rycee/pwstore-cli/issues+homepage: http://hub.darcs.net/rycee/pwstore-cli+bug-reports: http://hub.darcs.net/rycee/pwstore-cli/issues license: GPL-3 license-file: LICENSE author: Robert Helgesson@@ -15,7 +15,7 @@ category: Cryptography, Console build-type: Simple cabal-version: >=1.8-extra-source-files: README NEWS tests/test.hs+extra-source-files: README.md NEWS.md tests/test.hs flag fast description: Depend on pwstore-fast rather than pwstore-purehaskell@@ -40,7 +40,11 @@ build-depends: base < 5 , bytestring , process- , test-framework == 0.4.*- , test-framework-hunit == 0.2.*+ , test-framework+ , test-framework-hunit , HUnit , pwstore-fast >= 2.2 && < 3.0++source-repository head+ type: darcs+ location: http://hub.darcs.net/rycee/pwstore-cli