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 incheck-solution
forexpire-time
.
- Stripping parameters from salt during verification to prevent duplication.
- typo from previous version
- added missing
throw-on-false?
parameter tocheck-solution-base64
- getting
current-time
incorrectly branching to calling(now)
increate-challenge
throw-on-false?
key forcheck-solution
for throwing andex-info
message with operation details in case of a false result
get
arguments order incheck-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 incore
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.