aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authortz <tz@FreeBSD.org>2016-08-10 22:21:02 +0800
committertz <tz@FreeBSD.org>2016-08-10 22:21:02 +0800
commitb221b1b4e21fc4be684f8910c386eaca832607da (patch)
treea50856488fca24479f44503113eb1402a605c092 /security
parent4269bc0101ecde4f09ed25682ac43895ed4649c8 (diff)
downloadfreebsd-ports-gnome-b221b1b4e21fc4be684f8910c386eaca832607da.tar.gz
freebsd-ports-gnome-b221b1b4e21fc4be684f8910c386eaca832607da.tar.zst
freebsd-ports-gnome-b221b1b4e21fc4be684f8910c386eaca832607da.zip
security/rubygem-devise-two-factor: Update from 2.1.0 to 3.0.0
3.0.0. - Adds support for Devise 4. - Relax dependencies to allow attr_encrypted 3.x. - Blocks the use of attr_encrypted 2.x. There was a significant vulnerability in the encryption implementation in attr_encrypted 2.x, and that version of the gem should not be used. 2.2.0 - Use 192 bits, not 1024, as a secret key length. RFC 4226 recommends a minimum length of 128 bits and a recommended length of 160 bits. Google Authenticator doesn't accept 160 bit keys. Approved by: swills (mentor)
Diffstat (limited to 'security')
-rw-r--r--security/rubygem-devise-two-factor/Makefile4
-rw-r--r--security/rubygem-devise-two-factor/distinfo5
2 files changed, 5 insertions, 4 deletions
diff --git a/security/rubygem-devise-two-factor/Makefile b/security/rubygem-devise-two-factor/Makefile
index 355fb9ae6e30..3be3e3f2b33e 100644
--- a/security/rubygem-devise-two-factor/Makefile
+++ b/security/rubygem-devise-two-factor/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= devise-two-factor
-PORTVERSION= 2.1.0
+PORTVERSION= 3.0.0
CATEGORIES= security rubygems
MASTER_SITES= RG
@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-activesupport4>=0:devel/rubygem-activesupport4 \
rubygem-attr_encrypted>=1.3:security/rubygem-attr_encrypted \
- rubygem-devise-rails4>=3.5:devel/rubygem-devise-rails4 \
+ rubygem-devise-rails4>=4.0:devel/rubygem-devise-rails4 \
rubygem-railties4>=0:www/rubygem-railties4 \
rubygem-rotp>=2.0:devel/rubygem-rotp
diff --git a/security/rubygem-devise-two-factor/distinfo b/security/rubygem-devise-two-factor/distinfo
index 43a2df235d7e..3b0db20d3c62 100644
--- a/security/rubygem-devise-two-factor/distinfo
+++ b/security/rubygem-devise-two-factor/distinfo
@@ -1,2 +1,3 @@
-SHA256 (rubygem/devise-two-factor-2.1.0.gem) = 0adfac2887441f7dfeced64722fea189d3c70f970fd278a9f3fe4ae3481b85bf
-SIZE (rubygem/devise-two-factor-2.1.0.gem) = 26112
+TIMESTAMP = 1469115414
+SHA256 (rubygem/devise-two-factor-3.0.0.gem) = fa116fcd6e0a94d5a0581e230a9ac286eee8c17299d54e36ad443d5a346f74de
+SIZE (rubygem/devise-two-factor-3.0.0.gem) = 27648