zxcvbn 0.1.7 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/README.md +16 -4
- data/lib/zxcvbn/frequency_lists.rb +1 -3
- data/lib/zxcvbn/matching.rb +13 -2
- data/lib/zxcvbn/version.rb +1 -1
- data/lib/zxcvbn.rb +1 -1
- data/zxcvbn.gemspec +6 -3
- metadata +4 -14
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.rubocop.yml +0 -45
- data/.travis.yml +0 -9
- data/CODE_OF_CONDUCT.md +0 -84
- data/Gemfile +0 -17
- data/Gemfile.lock +0 -80
- data/Rakefile +0 -12
- data/bin/console +0 -18
- data/bin/setup +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a374558176fa132c830032ab3cf333483389b98ce54ef92bfd026400362a224
|
4
|
+
data.tar.gz: eb751fc63e94b4573144f66ef9cc343695104cd4461fd170931b5b5fa06e0ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e50119ccf438121beee719afe200c7a2085c0a266f5c5595fb95bebc01a10fca980dec4df8a30374dc5f7cf7bb5c57708a7f71565877ee8885d6740e54e71d66
|
7
|
+
data.tar.gz: 1323dff6d9433298bc44c4a2632de42af7137629d02113e60f2a64f6d184967a27a13e161ff3d2404b6a58177d880465bd865cc4d95158bd33c07849ed0361f4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## [0.1.9] - 2023-01-27
|
2
|
+
- [#6] [#7] Security/Performance fix to vulnerability to DoS attacks.
|
3
|
+
|
4
|
+
## [0.1.8] - 2023-01-22
|
5
|
+
- How to find information on translations on README.
|
6
|
+
- Drop automatic tests on ruby 2.5 (It still works on it but development gems are failing to build).
|
7
|
+
- Update dev gems to prepare to test on Ruby 3.1 and 3.2. (mini_racer, rubocop and bundler)
|
8
|
+
- Fix Style/RedundantStringEscape on frequency_lists.rb.
|
9
|
+
- Add automated tests for Ruby 3.1 and 3.2.
|
10
|
+
- Add MFA requirement on release.
|
11
|
+
- Trim non-production files from final gem.
|
12
|
+
|
1
13
|
## [0.1.7] - 2021-06-12
|
2
14
|
- Ported original specs
|
3
15
|
- Fix difference found on enumerate_l33t_subs
|
data/README.md
CHANGED
@@ -5,7 +5,20 @@
|
|
5
5
|
|
6
6
|
Ruby port of Dropbox's [zxcvbn.js](https://github.com/dropbox/zxcvbn) JavaScript library running completely in Ruby (no need to load execjs or libv8).
|
7
7
|
|
8
|
-
|
8
|
+
### Goals:
|
9
|
+
- Exact same results as [dropbox/zxcvbn.js (Version 4.4.2)](https://github.com/dropbox/zxcvbn). If **result compatibility** is found or made different a major version will be bumped so no one is caught off guard.
|
10
|
+
- Parity of features to [dropbox/zxcvbn.js (Version 4.4.2)](https://github.com/dropbox/zxcvbn) interface.
|
11
|
+
- 100% native Ruby solution: **No Javascript Runtime**.
|
12
|
+
|
13
|
+
### Compatible with [zxcvbn-js](https://github.com/bitzesty/zxcvbn-js) and [zxcvbn-ruby](https://github.com/envato/zxcvbn-ruby)
|
14
|
+
|
15
|
+
This gem include compatibility interfaces so it can be used as a drop-in substitution both of the most popular alternatives `zxcvbn-js` and `zxcvbn-ruby`). Besides `Zxcvbn.zxcvbn` you can just call `Zxcvbn.test` or use `Zxcvbn::Tester.new` the same way as you would if you were using any of them.
|
16
|
+
|
17
|
+
| | `zxcvbn-rb` | `zxcvbn-js` | `zxcvbn-ruby` |
|
18
|
+
|------------------------------------|------------------------|------------------------|------------------------|
|
19
|
+
| Results match `zxcvbn.js (V4.4.2)` | :white_check_mark: yes | :white_check_mark: yes | :x: no |
|
20
|
+
| Run without Javascript Runtime | :white_check_mark: yes | :x: no | :white_check_mark: yes |
|
21
|
+
| Interface compatibility with others| :white_check_mark: yes | :x: no | :x: no |
|
9
22
|
|
10
23
|
## Installation
|
11
24
|
|
@@ -71,9 +84,8 @@ Zxcvbn.zxcvbn("password")
|
|
71
84
|
}
|
72
85
|
```
|
73
86
|
|
74
|
-
###
|
75
|
-
|
76
|
-
This gem include a compatible interface so it can be used as a drop-in substitution for `zxcvbn-js` or `zxcvbn-ruby`. You can just call `Zxcvbn.test` or use `Zxcvbn::Tester.new` the same way as you would if you were using `zxcvbn-js` or `zxcvbn-ruby`.
|
87
|
+
### Note about translations (i18n, gettext, etc...)
|
88
|
+
Check the [wiki](https://github.com/formigarafa/zxcvbn-rb/wiki) for more details on how to handle translations.
|
77
89
|
|
78
90
|
## Development
|
79
91
|
|