Skip to content

Opsifier 0.23.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 13:10
· 2 commits to main since this release

Opsifier 0.23.1

Setting up two-factor sign-in, someone whose phone showed the wrong time saw every code refused, with any authenticator app, from the QR code or from the key. A setup code that is wrong now but right on a clock up to 12 hours off is now refused with how far off that clock is: "Your phone's clock is about 1 h off, so its codes don't match. Set its date and time to automatic, then try again." That check only explains a refusal and never lets a code in; sign-in still allows half a minute either way. The setup's code field now also says that the code follows the phone's clock.

Each opening of the setup made a new key, so an entry added to the app at an earlier opening, under the same name, never worked. A setup under way now keeps its key for 15 minutes after its last opening. "Use a new key" starts over with another one, after your password again, for a key that someone else may have seen.

An error from the API may now carry params, values a client can put into its own wording of the error's code: two_factor_clock_off carries the offset as params.offset.

Upgrading: nothing to do.