All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
- JVM-based cryptographic/hashing operations use the pandect library by default.
- Missing
(if-some)
form in check-solution
for expire-time
.
- Stripping parameters from salt during verification to prevent duplication.
- typo from previous version
- added missing
throw-on-false?
parameter to check-solution-base64
- getting
current-time
incorrectly branching to calling (now)
in create-challenge
throw-on-false?
key for check-solution
for throwing and ex-info
message
with operation details in case of a false result
get
arguments order in check-solution
- Handling flat response (without a nested
:challenge
object) in validation
- More robust handling of some encoding edge cases
- URL parameters are now decoded before being extracted into a map during salt validation
- Added missing test hook for
calculate-expiration-offset
- Challenge expiration is now more pure and deterministic, some related petty errors fixed
- Some extra tests, particularly for various challenge response configurations
- Additional parameters for
create-challenge
- :ttl
and :current-time
- Default max-number is now cast to an integer (1e6 is a
Double
by default)
- Generation of expire time value
- Made the generation of challenge expiration offset 'more pure'
- Made some functions and constants private
java.util.Base64
import not wrapped in feature constraint properly
- Challenge and signature verification.
- Bugs in decoding functionality.
- Added
^:const
annotations for default values in core
namespace. - Expanded and corrected documentation.
- Updated the project name so that it can be published to Clojars
- Added a function to create challenge messages that the client can process.