Paul Spooren
40d955a156
proper permission for secrets aka 0o600
...
When creating secret keys or use the out file feature, the material
shouldn't be readble to everyone by default.
Fix : #260
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-20 14:24:23 +01:00
Karolin Varner
cd23e9a2d0
fix: Failing tests
2024-03-12 22:34:31 -04:00
Karolin Varner
4d482aaab7
chore: Cargo fmt & fix
2024-03-12 22:11:17 -04:00
Karolin Varner
3175b7b783
Merge branch 'main' into feat/cookie-mechanism
2024-03-12 22:08:04 -04:00
Paul Spooren
baa35af558
bench: exclude rosenpass-fuzzing
...
This stops fuzzing to run which takes forever and breaks the CI.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-12 19:28:27 +01:00
Paul Spooren
b2de384fcf
constant-time: add secure memcmp_le function
...
The compare function should do a little-endian comparision, therefore
copy the code from quinier/memsec and don't revert the loop, tada, le.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-11 13:08:41 +01:00
Paul Spooren
c69fd889fb
ci: enable cargo bench again
...
It only takes a few seconds to run, enable it.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-11 13:08:41 +01:00
Dimitris Apostolou
13a853ff42
fix: Fix crate vulnerabilities
2024-03-10 18:11:43 +01:00
Paul Spooren
13df700ef5
flake: drop overlay due to upstream fix
...
Upstream fix #216904 got fixed to remove the extra overlay.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-08 20:22:41 +01:00
Ilka Schulz
2e7f34f4b2
Merge pull request #253 from aparcar/welcome-home
...
config: drop deprecated std::env::home_dir()
2024-03-05 14:54:42 +01:00
Ilka Schulz
292b4bbae0
Merge pull request #255 from aparcar/aarch64-ci
...
ci: Enable aarch64-linux builds again
2024-03-05 14:51:34 +01:00
Ilka Schulz
c75d222477
Merge pull request #254 from aparcar/manual
...
build: add link to manual
2024-03-05 12:26:51 +01:00
Paul Spooren
478fadb80d
ci: Enable aarch64-linux builds again
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-05 10:39:46 +01:00
Paul Spooren
7c1ada4b10
build: add link to manual
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-01 19:12:30 +01:00
Paul Spooren
4f4e8e1018
config: drop deprecated std::env::home_dir()
...
Instead use the `home` create.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-01 19:00:00 +01:00
Ilka Schulz
971e49b894
debug-log change in log level filter via CLI parameter
2024-02-29 13:38:54 +01:00
Ilka Schulz
262e32fe35
resolve #92 : add CLI argument to specify log level filter
2024-02-29 13:38:54 +01:00
Ilka Schulz
4dab97d84e
use <> brackets around hyperlinks in comments because GitHub actions complained
2024-02-29 13:37:43 +01:00
Ilka Schulz
1a5ffdd495
resolve #237 : resolve paths starting with "~/" in config file
2024-02-29 13:37:43 +01:00
Ilka Schulz
fb91688672
add few comments to config.rs
2024-02-29 13:37:43 +01:00
Ilka Schulz
27ba729c14
move each primitive into its own module; add rough documentation
...
This commit does not change anything about the implementations.
2024-02-29 13:36:54 +01:00
Ilka Schulz
60235dc6ea
GihHub Workflow "Quality Control": add flag "--all-features" to cargo in order to run all available tests behind feature flags
2024-02-28 17:07:40 +01:00
Ilka Schulz
36c99c020e
implement test to statistically check constant run time of memcmp (feature: constant_time_tests)
2024-02-28 17:07:40 +01:00
James Brownlee
8c469af6b1
adding identity hiding improvements:
...
seperate files for responder and initiator tests
test file that shows other participants leaking info has an effect
general code clean up
performance improvement: initiator and responder tests now run in ~10s
2024-02-26 17:20:33 +01:00
James Brownlee
e96968b8bc
adding dos protection code
2024-02-26 17:20:33 +01:00
Aaron Kaiser
81487b103d
refactor: Get rid of comment and unessary truncation of buffer
2024-02-21 14:04:39 +01:00
Aaron Kaiser
8ea253f86b
refactor: use memoffset crate instead of unstable offset_of feature
2024-02-21 14:04:39 +01:00
Aaron Kaiser
fd8f2e4424
style: apply rustfmt
2024-02-21 14:04:39 +01:00
Aaron Kaiser
a996b08279
refactor: replace lenses library with the zerocopy crate
2024-02-21 14:04:39 +01:00
Prabhpreet Dua
19a0a22b62
Cargo fmt
2024-02-18 14:13:33 +05:30
Prabhpreet Dua
b51466eaec
Add intg test to pipeline
2024-02-18 14:10:49 +05:30
Prabhpreet Dua
9552d5a46c
Merge branch 'main' into feat/cookie-mechanism
2024-02-18 13:25:01 +05:30
Prabhpreet Dua
a1d61bb48e
Evaluate both active and retired cookies- cookie rotation
2024-02-18 13:19:22 +05:30
Emil Engler
e38a6b8ed4
Merge pull request #238 from beau2am/contribution-beau2am
...
Fixed grammatical typo in 'cli.rs'. To resolve issue #236 .
2024-02-10 17:46:45 +01:00
Beau McDermott
639541ab4f
fix: Grammatical typo in cli.rs
...
Fixes #236
2024-02-10 17:45:20 +01:00
Prabhpreet Dua
ec0b5f7fb1
Cargo fmt
2024-02-04 20:18:58 +05:30
Prabhpreet Dua
0b4699e24a
Poll based under load with intg test
2024-02-04 20:17:28 +05:30
Prabhpreet Dua
d18107b3a9
Merge branch 'poll-based-under-load-in-progress' into feat/cookie-mechanism
2024-02-04 11:53:05 +05:30
Prabhpreet Dua
715893e1ac
cargo fmt
2024-02-04 11:49:08 +05:30
Prabhpreet Dua
92b2f6bc7c
Match to main
2024-02-04 11:48:49 +05:30
Prabhpreet Dua
3498ab2d7b
Checkpoint
2024-02-04 11:39:34 +05:30
Karolin Varner
9690085156
chore: Cargo fmt
2024-01-27 21:38:13 +01:00
Karolin Varner
ca972e8b70
feat: Remove libsodium
2024-01-27 21:38:13 +01:00
Karolin Varner
2fa0a2a72a
feat: Use core::hint::black_box in rosenpass_constant_time::xor
2024-01-27 21:38:13 +01:00
Karolin Varner
b6203683fc
feat: Migrate away from sodium blake2b towards the rust crypto implementation
2024-01-27 21:38:13 +01:00
Karolin Varner
e0f75ab97e
feat: Use xchacha implementation from rust crypto instead of sodium
2024-01-27 21:38:13 +01:00
Karolin Varner
0789c60602
feat: Use chacha implementation from rust crypto instead of sodium
2024-01-27 21:38:13 +01:00
Karolin Varner
e42f90b048
chore: Add helper to turn typenums into const values
2024-01-27 21:38:13 +01:00
Emil Engler
29917fd7a6
doc: Fix keygen/gen-keys misspell
...
Fixes #166
2024-01-21 20:54:29 +01:00
Prabhpreet Dua
efd0ce51cb
On-stack allocated host identification
2024-01-21 13:53:05 +05:30