You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: devise.gemspec
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,4 +32,11 @@ Gem::Specification.new do |s|
32
32
s.add_dependency("bcrypt","~> 3.0")
33
33
s.add_dependency("railties",">= 7.0")
34
34
s.add_dependency("responders")
35
+
36
+
s.post_install_message=%q{
37
+
[DEVISE] Devise now strictly enforces a 72-byte limit on passwords.
38
+
This prevents a known BCrypt security issue where passwords exceeding 72 bytes are silently truncated, potentially causing hash collisions.
39
+
40
+
This new validation runs automatically alongside your existing character length checks, specifically targeting passwords with heavy multi-byte characters (like emojis) that might look short but are large in memory.
0 commit comments