Karolin Varner
fded3b2e79
chore: cargo-audit in nix develop .#fullEnv ( #597 )
2025-02-04 19:37:12 +01:00
Karolin Varner
1471bb6a9f
chore: cargo-audit in nix develop .#fullEnv
2025-02-04 19:36:56 +01:00
Karolin Varner
7edf84bd4a
fix: Accidental removed line of comment ( #595 )
2025-02-04 19:36:42 +01:00
Karolin Varner
5187e50bb7
fix: Accidental removed line of comment
...
9bae080c4d
Co-Authored-By: @phildremi
2025-02-04 18:37:38 +01:00
Karolin Varner
fd5806ba55
fix(deps): fix crate vulnerabilities ( #571 )
2025-02-04 18:36:11 +01:00
Dimitris Apostolou
8e50d38b38
fix(deps): fix crate vulnerabilities
2025-02-04 17:20:40 +02:00
Karolin Varner
377f2f40d2
fix: Input dependent memory access in statistical constant time execu… ( #586 )
2025-02-04 16:12:43 +01:00
Karolin Varner
9bae080c4d
fix: Input dependent memory access in statistical constant time execution test
...
Supplying different memory locations to the memcmp function
in the test is not constant time; this was an issue wit
the test and not with memcmp itself.
The issue mainly showed up in the Release build where the
correlation coefficient was in the ballpark of just below
-0.01 with enough variance to sometimes but not usually fail
the test. The precise reason for this is unknown but some
optimization applied in the release build is most likely the
culprit.
This should increase the stability of our CI which occasionally
was flaky.
2025-02-04 13:34:19 +01:00
Karolin Varner
3392da5163
chore: Fix CI ( #585 )
2025-02-03 20:38:09 +01:00
Karolin Varner
3109cf1ffc
chore: Fix CI
2025-02-03 19:58:14 +01:00
dependabot[bot]
d2539e445f
build(deps): bump serde from 1.0.216 to 1.0.217 ( #570 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.216 to 1.0.217.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.216...v1.0.217 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-29 17:48:54 +01:00
dependabot[bot]
6dc58cc6c1
build(deps): bump anyhow from 1.0.94 to 1.0.95 ( #569 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.94...1.0.95 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-25 10:47:12 +01:00
Karolin Varner
e3d16966c9
Add documentation and tests for the build_crypto_server module ( #568 )
2024-12-21 17:02:02 +01:00
Philipp Dresselmann
a5e6af4b49
chore(docs): Add docstrings for the build_crypto_server module
2024-12-21 00:35:26 +01:00
Karolin Varner
24a71977f0
API Doc and a few tests for rosenpass::api ( #566 )
2024-12-20 09:24:57 +01:00
Karolin Varner
5f0ac579d7
chore: Documentation and few tests for rosenpass::api
2024-12-19 19:42:09 +01:00
Karolin Varner
4df994b5f0
fix: Coverage reporting in API integration tests
2024-12-19 19:42:09 +01:00
Karolin Varner
e4e0a9e661
chore: Example on how to use to use the Rosenpass API
2024-12-19 19:42:09 +01:00
Karolin Varner
742e037936
chore: Smoketests for rosenpass-gen-ipc-msg-types
2024-12-19 19:42:09 +01:00
Karolin Varner
b5848af799
chore: Smoketests for rp command ( #565 )
2024-12-19 15:11:08 +01:00
Karolin Varner
4982e40084
chore: Smoketests for rp
2024-12-19 15:00:08 +01:00
Karolin Varner
c1ae3268c6
Add a missing cleanup step to the coverage script ( #564 )
2024-12-19 14:59:51 +01:00
Paul Spooren
524ec68f3f
Add a docstring example for mio/uds_send_fd ( #563 )
2024-12-19 13:07:13 +01:00
Philipp Dresselmann
184603aa2c
chore: Add a missing cleanup step to the coverage script
...
Looks like `cargo llvm-cov` doesn't clean up the entire `target/llvm-cov-target` directory tree, which means running the coverage script more than once fails as `mv` refuses to overwrite the leftover doctest binaries from a previous run.
2024-12-19 12:36:32 +01:00
Philipp Dresselmann
ec6706ffeb
chore(docs): Add a docstring example for uds_send_fd
2024-12-19 11:42:46 +01:00
Paul Spooren
7571670e71
docs(wireguard-broker): add docs and examples ( #550 )
2024-12-19 09:51:51 +01:00
David Niehues
0d7dd99d96
test(wireguard-broker): Add smoketest and doc-tests for wiregaurd broker
2024-12-19 09:34:40 +01:00
David Niehues
c78a9cb777
docs(wireguard-broker): add docs and examples
2024-12-19 09:34:15 +01:00
Paul Spooren
dd0db53e8b
chore(doc): Docs for rosenpass::{config, cli} ( #560 )
2024-12-18 23:11:45 +01:00
Paul Spooren
422acf9891
Docs and unit tests for app_server.rs ( #552 )
2024-12-18 23:11:25 +01:00
Paul Spooren
877c15a018
chore(docs): minor typo fixes in app_server.rs
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-12-18 22:47:37 +01:00
Paul Spooren
55d7f8b1c1
Avoid unnecessarily copying the doctest binaries ( #558 )
2024-12-18 22:44:24 +01:00
Paul Spooren
199ff63a06
Add docstring examples and unit tests for the LengthPrefixEncoder module ( #500 )
2024-12-18 22:01:53 +01:00
Karolin Varner
47b556e317
chore(doc): Docs for rosenpass::{config, cli}
2024-12-18 20:48:12 +01:00
Philipp Dresselmann
f87e2cb31b
chore(doc): Fix module descriptions for length_prefix_encoding
...
There's a more complete module description for the encoder and decoder now. Both versions get appended by rustdoc, which looks wrong and shouldn't be necessary.
2024-12-18 16:24:50 +01:00
Philipp Dresselmann
58e1c8fbff
chore(coverage): Add unit tests for the LengthPrefixEncoder
...
There's some redundancy here with the docstring examples/tests, but that's entirely on purpose:
Unfortunately, it seems that the coverage tool has trouble recognizing calls from within the docstring examples. It's an unstable feature - maybe that's why?
Even with these tests, the tool still doesn't properly detect everything. Regardless, function coverage is 100% when running the coverage tool locally.
2024-12-18 16:24:50 +01:00
Philipp Dresselmann
c89c7d7acf
chore(doc): Add docstring examples for the LengthPrefixEncoder
2024-12-18 16:24:50 +01:00
Philipp Dresselmann
a5b876f119
chore(doc): Add a module summary for LengthPrefixEncoder
2024-12-18 16:23:13 +01:00
Philipp Dresselmann
c2f50f47b3
chore(doc): Update docstrings for LengthPrefixEncoder
...
This is more consistent with the LengthPrefixDecoder documentation.
2024-12-18 16:23:13 +01:00
Paul Spooren
53168dc62d
Add documentation, doc-tests and examples to the secret-memory crate. ( #531 )
2024-12-18 16:18:11 +01:00
David Niehues
2cfe703118
docu(secret-memeory): improve comment in example for Secret
2024-12-18 16:15:35 +01:00
David Niehues
a2d7c3aaa6
chore(secret-memory): fix typos
2024-12-18 16:15:35 +01:00
David Niehues
1aa111570e
style(secret-memory): improve style in doc-tests around using the the ?-operator
2024-12-18 16:15:35 +01:00
David Niehues
a91d61f9f0
docs(secret-memory): fix warnings when generating the documentation
2024-12-18 16:15:35 +01:00
David Niehues
ff7827c24e
test(fix-doctest): fix doctests where a function si wrapped around a doctest but the function is never called
2024-12-18 16:15:35 +01:00
David Niehues
255e377d29
test(coverage): add unit tests to improve coverage in public.rs and secret.rs
2024-12-18 16:15:35 +01:00
David Niehues
50505d81cc
test: fix doctest in alloc/mod.rs to make it work on macos
2024-12-18 16:15:35 +01:00
David Niehues
10484cc6d4
docs(doctests+coverage): add documentation and doctests for all modules of secret-memory except for alloc
2024-12-18 16:15:35 +01:00
David Niehues
d27e602f43
docu(doctest+coverage): add documentation, doc-tests and examples to the alloc module
2024-12-18 16:15:35 +01:00
Philipp Dresselmann
73f6b33dbb
chore: Avoid unnecessarily copying the doctest binaries
...
The doctest binaries can take up ~3GB for a debug build. There's no reason to waste that much disk space and copying them is slower than moving, too. They're only used by `grcov` right now, so they needn't be preserved.
2024-12-18 16:05:34 +01:00