Commit Graph

325 Commits

Author SHA1 Message Date
619cb523af
pool: rm event_str remnants
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-07 23:44:17 +01:00
29f7ebd529
sfm: new seed_f_path "/var/tmp/.fortuna.seed"
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-07 23:16:03 +01:00
4176de2e12
fix(SeedFileManager): 6-byte seed file issue
All checks were successful
continuous-integration/drone/push Build is passing
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
5d1d25ecb4
pool: rm unused strsource, using vect<char> anyway
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-07 03:25:21 +01:00
7626158f76
add basic meson.build file
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 21:39:35 +01:00
1ec70d1161
fortuna,generator({fmt}) print with colours
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 04:52:19 +01:00
ffca8a8d37
main: use moar_random_data()
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 03:15:53 +01:00
2c215967cd
fortuna: correctly decrement in moar_random_data()
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 03:14:55 +01:00
a6f9fb5e8c
chance: add lil_demo() fun
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 03:05:09 +01:00
ffd0180578
chore(generator): collapse 2 try-catch blocks
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 02:56:28 +01:00
348b921795
generator: add const qualifier to vars where sound
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 02:41:47 +01:00
c4dcab3046
generator: stop hex-encoding bytes in do_crypto()
All checks were successful
continuous-integration/drone/push Build is passing
in fortuna, print the random bytes as they come, without a newline, to
stdout. the idea is it can be directly piped to, say, dieharder, for,
e.g. testing purposes. also print info msg to stderr as is now customary
throughout the program.
2022-02-03 03:35:11 +01:00
3fe5c06c49
fortuna: add moar_random_data() fun
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 02:10:06 +01:00
fab8e72975
chore(generator): rm comment [skip ci] 2022-02-03 02:06:19 +01:00
1da24b13da
{,generate_}random_data: use const uint64_t
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:53:53 +01:00
bec124e7c8
fortuna: throw on PRNG init failure
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:48:56 +01:00
226f264fcd
cmake: add more diagnostic warning flags
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:43:21 +01:00
e2f540664b
fix(-Wuseless-cast) rm a cast in UrandomEntropySrc
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:26:06 +01:00
8cfb49e486
fix(-Wsuggest-override): override virtual base fun
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:17:47 +01:00
baaf4f6db0
fix: -Wnon-virtual-dtor
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 01:11:39 +01:00
8cafbc7706
fix: -Wextra-semi
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 00:49:40 +01:00
a3daa722da
chore: print info msgs to stderr
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-03 00:37:20 +01:00
0e4d1aeef0
cmake: enable building with '-pedantic'
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 23:00:13 +01:00
80fcb13e8b
generator: use least-significant-byte-first ctr
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 22:56:08 +01:00
c6bf1c7f52
generator: use de_hex()
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 22:40:21 +01:00
fa9dc26f66
Util: add de_hex() fun
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 21:56:20 +01:00
dc1ab343eb
rename: set_gen() -> set_gen_ptr()
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 20:48:08 +01:00
01238c805a
generator: change exit(1) -> throw
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 00:00:20 +01:00
df4c9d7bdb
accumulator: add noexcept where reasonable
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-29 23:54:26 +01:00
74f8af7bfc
accumulator: rm unused pools_service()
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 23:59:56 +01:00
19ea0076a3
accumulator: rm unused accumulator_service()
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 23:59:38 +01:00
1a02256b2b
generator: add ctr_inc() fun
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 22:54:53 +01:00
715523eb1a
generator: add std::array<std::byte, 16> counter
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 22:48:58 +01:00
c9218e47e8
chore(main): rm unused var
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 21:22:50 +01:00
71f61085dd
cmake: change -mtune generic -> native
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 21:19:50 +01:00
ad6c01daaa
remove unused event_scheduler
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 20:46:27 +01:00
2b1349b256
cmake: add -fno-signed-zeros, -ffunction-sections
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 20:32:57 +01:00
d99ef986bf
cmake: add -Wvla in Debug builds
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-27 20:28:16 +01:00
a1beb2893d
generator: make sure not to return data unseeded
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 22:59:37 +01:00
8f0f29d190
generator: make some internal vars const
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 22:43:22 +01:00
c40806e68d
generator: create permanent Serpent encryption obj
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 22:35:45 +01:00
1517b150ed
cmake: CMAKE_BUILD_TYPE MATCHES -> STREQUAL
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-26 17:07:34 +01:00
c9398a0bf4
fix(sfm): use correct size in cast
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-24 19:25:04 +01:00
7d856dab8e
cmake: use clang-tidy with extra-arg '-std=c++20'
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-24 10:31:16 +01:00
a3251a7c8b
fix(pool): properly encode full event
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-24 03:55:19 +01:00
d401bb6c25
add chance namespace; handle signals
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 22:22:28 +01:00
710ee80f91
chore(pool): format
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 22:12:17 +01:00
a68166da57
fortuna: run svcs while(continue_running.load())
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 20:47:42 +01:00
5693b24ee0
fortuna: sleep only if sfm svc is running
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 20:45:06 +01:00
2c56d9af27
fortuna: std::atomic<bool> continue_running
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-23 20:39:11 +01:00