File: CHANGELOG.md

package info (click to toggle)
ruby-rotp 6.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: ruby: 1,020; makefile: 16
file content (167 lines) | stat: -rw-r--r-- 3,685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Changelog

## [6.3.0](https://github.com/mdp/rotp/compare/v6.2.2...v6.3.0) (2023-08-30)


### Features

* Allow for non-standard provisioning URI params, eg. image/icon ([#91](https://github.com/mdp/rotp/issues/91)) ([45d8aac](https://github.com/mdp/rotp/commit/45d8aac8356424897faf3a0dbda59f88b22df775))

## 6.2.2

- Removed `rjust` from `generate_otp` in favor of more time constant version

## 6.2.1

- Removed old rdoc folder that was triggering a security warning due to an
  old version of JQuery being included in the HTML docs. This has no impact
  on the Ruby library.

## 6.2.0

- Update to expand compatibility with Ruby 3. This was only a change to the
  gemspec, no code changes were necessary.

## 6.1.0

- Fixing URI encoding issues again, breaking out into it's own module
  due to the complexity - closes #100 (@atcruice)
- Add docker-compose.yml to help with easier testing

## 6.0.0

- Dropping support for Ruby <2.3 (Major version bump)
- Fix issue when using --enable-frozen-string-literal Ruby option #95 (jeremyevans)
- URI Encoding fix #94 (ksuh90)
- Update gems (rake, addressable)
- Update Travis tests to include Ruby 2.7

## 5.1.0

- Create `random_base32` to perform `random` to avoid breaking changes
  - Still needed to bump to 5.x due to Base32 cleanup

## 5.0.0

- Clean up base32 implementation to match Google Autheticator
- BREAKING `Base32.random_base32` renamed to random
  - The argument is now byte length vs output string length for more precise bit strengths

## 4.1.0

- Add a digest option to the CLI #83
- Fix provisioning URI is README #82
- Improvements to docs

## 4.0.2

- Fix gemspec requirment for Addressable

## 4.0.1

- Rubocop for style fixes
- Replace deprecated URI.encode with Addressable's version

## 4.0.0

- Simplify API
- Remove support for Ruby < 2.0
- BREAKING CHANGE: Removed optional second argument (`padding`) from:
  - `HOTP#at`
  - `OTP#generate_otp`
  - `TOTP#at`
  - `TOTP#now` (first argument)

## 3.3.1

- Add OpenSSL as a requirement for Ruby 2.5. Fixes #70 & #64
- Allow Base32 with padding. #71
- Prevent verify with drift being negative #69

## 3.3.0

- Add digest algorithm parameter for non SHA1 digests - #62 from @btalbot

## 3.2.0

- Add 'verify_with_drift_and_prior' to prevent prior token use - #58 from @jlfaber

## 3.1.0

- Add Add digits paramater to provisioning URI. #54 from @sbc100

## 3.0.1

- Use SecureRandom. See mdp/rotp/pull/52

## 3.0.0

- Provisioning URL includes issuer label per RFC 5234 See mdp/rotp/pull/51

## 2.1.2

- Remove string literals to prepare immutable strings in Ruby 3.0

## 2.1.1

- Reorder the params for Windows Phone Authenticator - #43

## 2.1.0

- Add a CLI for generating OTP's mdp/rotp/pull/35

## 2.0.0

- Move to only comparing string OTP's.

## 1.7.0

- Move to only comparing string OTP's. See mdp/rotp/issues/32 - Moved to 2.0.0 - yanked from RubyGems

## 1.6.1

- Remove deprecation warning in Ruby 2.1.0 (@ylansegal)
- Add Ruby 2.0 and 2.1 to Travis

## 1.6.0

- Add verify_with_retries to HOTP
- Fix 'cgi' require and global DEFAULT_INTERVAL

## 1.5.0

- Add support for "issuer" parameter on provisioning url
- Add support for "period/interval" parameter on provisioning url

## 1.4.6

- Revert to previous Base32

## 1.4.5

- Fix and test correct implementation of Base32

## 1.4.4

- Fix issue with base32 decoding of strings in a length that's not a multiple of 8

## 1.4.3

- Bugfix on padding

## 1.4.2

- Better padding options (Pad the output with leading 0's)

## 1.4.1

- Clean up drift logic

## 1.4.0

- Added clock drift support via 'verify_with_drift' for TOTP

## 1.3.0

- Added support for Ruby 1.9.x
- Removed dependency on Base32