Bug 209411 - [NEW PORT] security/libargon2: Memory hard password hashing program and library
Summary: [NEW PORT] security/libargon2: Memory hard password hashing program and library
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: feature, patch
Depends on:
Blocks:
 
Reported: 2016-05-10 02:10 UTC by Christopher Hall
Modified: 2016-07-12 08:56 UTC (History)
2 users (show)

See Also:


Attachments
Port files for libargon2 (1.91 KB, text/plain)
2016-05-10 02:10 UTC, Christopher Hall
no flags Details
shar of complete port, revision 20160530 (2.03 KB, text/plain)
2016-06-02 03:32 UTC, Christopher Hall
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Hall 2016-05-10 02:10:14 UTC
Created attachment 170163 [details]
Port files for libargon2

I did not find this library in the ports tree or on bugzilla, so here is a port.  This port installs shared and static libraries pls the command-line argon2 program.

I named it "libargon2" since the primary purpose is to use as a library.

See attached shar file, extract in ports/security/libargon2
Comment 1 Yonas Yanfa 2016-06-01 10:31:34 UTC
Nice work Christopher, I was just about to make a port myself :P

Two recommendations:
- update to use "GH_TAGNAME=	4625cc5"
- update Makefile and pkg-plist to install the new manpage (man/argon2.1)
Comment 2 Yonas Yanfa 2016-06-01 10:34:02 UTC
Also, update Makefile to use "PORTVERSION= 20160530".
Comment 3 VK 2016-06-01 23:54:54 UTC
Thanks for the submission, Christopher.

May I also suggest the COMMENT be the summary given in this PR? "Memory hard password hashing program and library" sounds better than "Password hash Argon2". ;)

Also, please use the same maintainer email address as in the bugzilla account (whichever, just that they're the same) because that helps automate certain tasks and easily verify maintainer posts.
Comment 4 Christopher Hall 2016-06-02 03:32:44 UTC
Created attachment 170928 [details]
shar of complete port, revision 20160530

Updated github hash, install man page
Comment 5 Christopher Hall 2016-06-02 03:35:35 UTC
Thanks for taking time to look at my port, I just added an updated shar.
Comment 6 commit-hook freebsd_committer freebsd_triage 2016-07-12 08:46:52 UTC
A commit references this bug:

Author: jbeich
Date: Tue Jul 12 08:46:22 UTC 2016
New revision: 418416
URL: https://svnweb.freebsd.org/changeset/ports/418416

Log:
  security/libargon2: add new port

  PR:		209411
  Submitted by:	Christopher Hall <christopherhall.hsw@gmail.com>
  Reviewed by:	Yonas Yanfa, Vladimir Krstulja

  Argon2 is a password-hashing function that summarizes the state of the
  art in the design of memory-hard functions and can be used to hash
  passwords for credential storage, key derivation, or other
  applications.

  https://github.com/P-H-C/phc-winner-argon2

Changes:
  head/security/Makefile
  head/security/libargon2/
  head/security/libargon2/Makefile
  head/security/libargon2/distinfo
  head/security/libargon2/pkg-descr
  head/security/libargon2/pkg-plist
Comment 7 Jan Beich freebsd_committer freebsd_triage 2016-07-12 08:56:26 UTC
Thanks. Landed.