Johan Ouwerkerk
68bd4dad00
Fix failing tests due to inconsistencies in French number formatting
2019-10-22 19:34:38 +02:00
Johan Ouwerkerk
543766b819
Introduce a validator for the HOTP counter field.
2019-10-02 21:56:58 +02:00
Johan Ouwerkerk
d60cb92b21
Refactor: support injecting locales through test data
2019-10-02 21:34:33 +02:00
Johan Ouwerkerk
3bc3a14575
Introduce a validator for name input fields (account name).
2019-09-30 20:25:56 +02:00
Johan Ouwerkerk
bccf2565b8
Refactor: extract the common logic/boilerplate of a validator test to a helper utility (header)
...
With this change adding tests for new validators will be much less work.
2019-09-29 19:51:00 +02:00
Johan Ouwerkerk
eeeac7511c
Introduce a custom base32 secret validator to perform input validation.
...
- Add a new static library "validator_lib" covering the "validators" namespace in C++
- Introduce the Base32Validator to perform input field validation with fixup support
2019-09-29 12:48:25 +02:00
Johan Ouwerkerk
4fe0d069cd
Add a test to check the TOTP implementation can (at least) generate the values from the RFC test vector correctly.
2019-09-11 09:40:44 +02:00
Johan Ouwerkerk
2d147e2427
Add a test to check the HOTP implementation can (at least) generate the values from the RFC test vector correctly.
2019-09-11 09:40:44 +02:00
Johan Ouwerkerk
6d7c56f94b
Add autotests for validating the new base32 decoding utilities.
2019-09-11 09:40:44 +02:00