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:
parent
1493d9fb29
commit
f928a2ba45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443421
@ -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
|
||||
|
18
security/rubygem-securecompare/Makefile
Normal file
18
security/rubygem-securecompare/Makefile
Normal 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>
|
3
security/rubygem-securecompare/distinfo
Normal file
3
security/rubygem-securecompare/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1497262188
|
||||
SHA256 (rubygem/securecompare-1.0.0.gem) = cb0c6599deaaedf6d28f8d88538b06e7198c4826b1b8edb1dbeb44a2162fc62b
|
||||
SIZE (rubygem/securecompare-1.0.0.gem) = 6656
|
6
security/rubygem-securecompare/pkg-descr
Normal file
6
security/rubygem-securecompare/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user