New port: security/rubygem-securecompare

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
This commit is contained in:
Torsten Zuehlsdorff 2017-06-12 10:14:08 +00:00
parent 1493d9fb29
commit f928a2ba45
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443421
4 changed files with 28 additions and 0 deletions

View File

@ -1076,6 +1076,7 @@
SUBDIR += rubygem-ruby-rc4
SUBDIR += rubygem-ruby-saml
SUBDIR += rubygem-scrypt
SUBDIR += rubygem-securecompare
SUBDIR += rubygem-signet
SUBDIR += rubygem-six
SUBDIR += rubygem-sshkey

View File

@ -0,0 +1,18 @@
# $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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1497262188
SHA256 (rubygem/securecompare-1.0.0.gem) = cb0c6599deaaedf6d28f8d88538b06e7198c4826b1b8edb1dbeb44a2162fc62b
SIZE (rubygem/securecompare-1.0.0.gem) = 6656

View File

@ -0,0 +1,6 @@
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