securecompare borrows the secure_compare private method from ActiveSupport::MessageVerifier which lets you do safely compare strings without being vulnerable to timing attacks. Useful for Basic HTTP Authentication in your rack/rails application. WWW: https://github.com/samuelkadolph/securecompare
18 lines
283 B
Makefile
18 lines
283 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= securecompare
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= security rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Constant time string comparison
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
NO_ARCH= yes
|
|
USE_RUBY= yes
|
|
USES= gem
|
|
|
|
.include <bsd.port.mk>
|