Skip to content

Releases: infocyph/OTP

5.02.2

Choose a tag to compare

@abmmhasan abmmhasan released this 05 May 16:34
05bd983

What's Changed

Full Changelog: 5.02.1...5.02.2

5.02.1

Choose a tag to compare

@abmmhasan abmmhasan released this 25 Apr 06:39
85dd316

What's Changed

Full Changelog: 5.02...5.02.1

5.02

Choose a tag to compare

@abmmhasan abmmhasan released this 20 Apr 04:50
3da3ab9

What's Changed

Full Changelog: 5.01...5.02

5.0

5.0

Choose a tag to compare

@abmmhasan abmmhasan released this 19 Apr 17:46
4bcaea4

Version 5.0 - Release Notes

Requirements

  • PHP 8.4+ (up from 8.2)

Breaking Changes

  • Generic OTP codes are now strings (leading zeroes preserved), digit count limited to 4-10
  • Generic OTP requires caller-provided PSR-6 cache pool (replaces Symfony)
  • TOTP leeway replaced with configurable VerificationWindow

Major Features

  • Replay protection via ReplayStoreInterface and InMemoryReplayStore
  • Recovery codes with hashed storage and consumption tracking
  • URI parsing - Parse existing otpauth:// URIs
  • Richer verification - New verifyWithResult() APIs for TOTP, HOTP, OCRA
  • HOTP look-ahead resynchronization with matched counter reporting
  • Enrollment payloads - Complete provisioning data (secret, URI, QR SVG)

New Components

  • Contracts: ReplayStoreInterface, RecoveryCodeStoreInterface
  • Support utilities: SecretUtility, ProvisioningUriParser, AlgorithmValidator, StepUp
  • Result objects: VerificationResult, RecoveryCodeGenerationResult, ParsedOtpAuthUri
  • Value objects: VerificationWindow, OcraSuite, EnrollmentPayload, DeviceEnrollment

Improvements

  • Stricter Base32 normalization and validation
  • Safer label and issuer handling
  • Enhanced OCRA suite parsing
  • Comprehensive test coverage and benchmarking support

Documentation

https://docs.infocyph.com/projects/OTP

5.01

Choose a tag to compare

@abmmhasan abmmhasan released this 19 Apr 18:39
ef023af

What's Changed

Full Changelog: 5.0...5.01

4.01.4

Choose a tag to compare

@abmmhasan abmmhasan released this 20 Jan 09:42
1ed4695

What's Changed

Full Changelog: 4.01.3...4.01.4

4.01.3

Choose a tag to compare

@abmmhasan abmmhasan released this 03 Aug 07:17
bb001aa

What's Changed

Full Changelog: 4.01.2...4.01.3

4.01.2

Choose a tag to compare

@abmmhasan abmmhasan released this 25 May 03:08
7fb7522

What's Changed

Full Changelog: 4.01.1...4.01.2

4.01.1

Choose a tag to compare

@abmmhasan abmmhasan released this 12 May 17:16
bcd65bb

What's Changed

Full Changelog: 4.01...4.01.1

4.0

4.0

Choose a tag to compare

@abmmhasan abmmhasan released this 26 Apr 08:35
5ccb3a7

What's Changed

New Contributors

Full Changelog: 3.0...4.0