a C++ take on Fortuna CSPRNG implementation, as devised by Niels Fergusson and Bruce Schneier in Practical Cryptography 🍀
This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
surtur 4176de2e12
All checks were successful
continuous-integration/drone/push Build is passing
fix(SeedFileManager): 6-byte seed file issue
there was a reggression in a series of commits that led to this issue,
mainly revolving around the switch from hex-encoded output to raw bytes.
the result was a seed file in which just the first 6 bytes were updated.
this is now fixed

refs:
c4dcab3046
revert c9398a0bf4
2022-02-07 23:00:01 +01:00
lib chore: update fmt submodule to c2850055 2022-01-21 05:39:24 +01:00
.clang-format clang-format: BinPack{Arguments,Parameters}: false 2022-01-13 06:04:18 +01:00
.clang-tidy chore(clang-tidy): unify flags 2021-12-10 18:57:25 +01:00
.drone.starlark ci: rm 'build on alpine' step 2022-01-10 05:02:44 +01:00
.editorconfig add .editorconfig [skip ci] 2022-01-10 08:55:07 +01:00
.gitattributes add .gitattributes file 2021-10-24 21:34:16 +02:00
.gitignore add proper SeedFileManager implementation 2022-01-09 11:58:38 +01:00
.gitmodules feat: use fmt instead of iostreams 2021-11-18 22:05:05 +01:00
.pre-commit-config.yaml chore(.pre-commit-config.yaml): bump hook versions 2022-01-21 05:44:28 +01:00
accumulator.cpp chore: print info msgs to stderr 2022-02-03 00:37:20 +01:00
accumulator.h chore: print info msgs to stderr 2022-02-03 00:37:20 +01:00
CMakeLists.txt cmake: add more diagnostic warning flags 2022-02-03 01:43:21 +01:00
do_task.cpp DoTask: timed_mutex -> recursive_timed_mutex 2022-01-21 02:54:15 +01:00
do_task.h DoTask: timed_mutex -> recursive_timed_mutex 2022-01-21 02:54:15 +01:00
entropy_src.h fix: -Wnon-virtual-dtor 2022-02-03 01:11:39 +01:00
event_adder_impl.h chore: print info msgs to stderr 2022-02-03 00:37:20 +01:00
event_adder.h fix: -Wnon-virtual-dtor 2022-02-03 01:11:39 +01:00
fortuna.cpp fortuna,generator({fmt}) print with colours 2022-02-03 04:52:19 +01:00
fortuna.h fortuna: add moar_random_data() fun 2022-02-03 02:10:06 +01:00
generator.cpp fortuna,generator({fmt}) print with colours 2022-02-03 04:52:19 +01:00
generator.h chore(generator): rm comment [skip ci] 2022-02-03 02:06:19 +01:00
LICENSE initial commit 2021-10-24 21:29:49 +02:00
main.cpp main: use moar_random_data() 2022-02-03 03:15:53 +01:00
Makefile makefile: build in tmp when not in CI 2022-01-21 19:14:55 +01:00
meson.build add basic meson.build file 2022-02-03 21:39:35 +01:00
pool.cpp pool: rm unused strsource, using vect<char> anyway 2022-02-07 03:25:21 +01:00
pool.h fix: -Wextra-semi 2022-02-03 00:49:40 +01:00
seed_file_management.cpp fix(SeedFileManager): 6-byte seed file issue 2022-02-07 23:00:01 +01:00
seed_file_management.h fix: -Wextra-semi 2022-02-03 00:49:40 +01:00
urandom_entropy_src.cpp fix(-Wuseless-cast) rm a cast in UrandomEntropySrc 2022-02-03 01:26:06 +01:00
urandom_entropy_src.h fix(-Wsuggest-override): override virtual base fun 2022-02-03 01:17:47 +01:00
util.h Util: add de_hex() fun 2022-01-30 21:56:20 +01:00