To store passwords securely, they should be salted, then hashed

with a slow hash function. This library uses PBKDF1-SHA256, and
handles all the details.

ok sthen@
This commit is contained in:
kili 2012-01-22 17:16:57 +00:00
parent ca7604ff1e
commit 61d6a9fd8a
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/01/22 17:16:57 kili Exp $
COMMENT = secure password storage
DISTNAME = pwstore-fast-2.2
CATEGORIES = security
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
RUN_DEPENDS = devel/hs-base64-bytestring>=0.1 \
security/hs-cryptohash>=0.6
BUILD_DEPENDS = ${RUN_DEPENDS}
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (ghc/pwstore-fast-2.2.tar.gz) = bfDacgQWZhOqYM5th/DUTQ==
RMD160 (ghc/pwstore-fast-2.2.tar.gz) = QxEXMr9fTC67Z2utlT9xi9AxbZA=
SHA1 (ghc/pwstore-fast-2.2.tar.gz) = sanAdJQsu3nBU2lXceAf3poVN0A=
SHA256 (ghc/pwstore-fast-2.2.tar.gz) = yqROE/J0b5zw77OyvwGUBktSZ1oo08FN3E0xI0veaQ0=
SIZE (ghc/pwstore-fast-2.2.tar.gz) = 6565

View File

@ -0,0 +1,3 @@
To store passwords securely, they should be salted, then hashed
with a slow hash function. This library uses PBKDF1-SHA256, and
handles all the details.

View File

@ -0,0 +1,26 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/01/22 17:16:57 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Crypto/
lib/ghc/${DISTNAME}/Crypto/PasswordStore.hi
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Crypto-PasswordStore.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Crypto-PasswordStore.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/pwstore-fast.haddock
share/doc/hs-${DISTNAME}/html/synopsis.png