Karolin Varner
46e855b266
chore(doc): Documentation, examples & tests for protocol.rs
...
Co-authored-by: Paul Spooren <mail@aparcar.org >
2024-12-16 16:31:22 +01:00
Karolin Varner
c0b91fd729
fix: Reinstate blanket error handling in event loop
...
Fixes #534
2024-12-16 16:31:22 +01:00
Karolin Varner
97dff8453d
Fix grcov reports not including doctest and branch coverage ( #548 )
2024-12-16 16:30:55 +01:00
Philipp Dresselmann
a3d4686104
chore(coverage): Fix doctest coverage in the grcov reports
...
The binary path doesn't contain any doctest executables (i.e., rust_out).
Coverage reports then don't include doctests, presumably because grcov can't map the profdata references to its respective doctest binary.
2024-12-16 15:13:07 +01:00
Philipp Dresselmann
cee0678817
chore(coverage): Fix llvm-cov branch coverage metrics
...
Without this flag, the generated reports show 0% branch coverage.
2024-12-16 15:13:07 +01:00
Paul Spooren
a996f194c7
docs(util): add docs and examples to the zerocopy module ( #532 )
2024-12-16 11:25:24 +01:00
Paul Spooren
447be89414
docs(util): fix doc reference in decoder.rs ( #538 )
2024-12-16 09:59:58 +01:00
Amin Faez
ef4f550abc
docs(util): fix doc reference in the zerocopy module
2024-12-15 13:05:55 +01:00
Amin Faez
4737cd2b2a
docs(util): fix doc reference in decoder.rs
...
docs(util): add more tests and example to complete coverage
2024-12-15 12:48:47 +01:00
Amin Faez
9336794e4d
docs(util): add docs and examples to the zerocopy module
2024-12-14 03:00:27 +01:00
Paul Spooren
096bac6ee5
Add documentation for the rp crate ( #528 )
2024-12-13 12:35:19 +01:00
Karolin Varner
161826979a
build(deps): bump serde from 1.0.215 to 1.0.216 ( #530 )
2024-12-13 10:25:20 +01:00
dependabot[bot]
c435b772d2
build(deps): bump serde from 1.0.215 to 1.0.216
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.215 to 1.0.216.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.215...v1.0.216 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-12 23:45:16 +00:00
David Niehues
8805ef7c38
style: Ensure inline comments start upper case and end with a dot, and fix some overlong lines.
2024-12-12 21:14:02 +01:00
David Niehues
cca02dc8d1
add documentation for the rp crate
2024-12-12 21:14:02 +01:00
Karolin Varner
d4350195eb
build(deps): bump rustix from 0.38.41 to 0.38.42 ( #524 )
2024-12-12 18:13:23 +01:00
dependabot[bot]
1c5e4ecf95
build(deps): bump rustix from 0.38.41 to 0.38.42
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.41 to 0.38.42.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.41...v0.38.42 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-12 18:12:41 +01:00
Karolin Varner
b15947b815
Add doc-tests to the cipher-traits crate ( #529 )
2024-12-12 18:08:00 +01:00
David Niehues
cacbf8535c
add eqality test for the shk in the DummyKem
2024-12-12 15:42:56 +01:00
David Niehues
f6d9da4a18
add doc-tests to cipher-traits
2024-12-11 21:16:40 +01:00
David Niehues
68f73e264d
add oqs and secret-memory as dev-dependencies to cipher-trait for doc-tests
2024-12-11 21:11:51 +01:00
David Niehues
d5f68dcbd2
fix typo in readme.md
2024-12-11 21:08:40 +01:00
Karolin Varner
96581ed118
Add docs and tests for the decoder module in util::length_prefix_encoding ( #526 )
2024-12-11 00:11:57 +01:00
Karolin Varner
553b058759
build(deps): bump libc from 0.2.167 to 0.2.168 ( #525 )
2024-12-11 00:07:46 +01:00
dependabot[bot]
85286c146f
build(deps): bump libc from 0.2.167 to 0.2.168
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.167 to 0.2.168.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.168/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.167...0.2.168 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-11 00:07:31 +01:00
Karolin Varner
0f58b36c5b
chore(coverage): Fix missing coverage from API integration tests ( #523 )
2024-12-11 00:02:34 +01:00
Karolin Varner
737781c8bc
chore(coverage): Fix missing coverage from API integration tests
...
Three changes:
1. We neglected to forward stderr from Rosenpass subprocess two
in the API setup integration test (driveby fix)
2. Added rudimentary signal handling for program termination
to rosenpass, specifically for the coverage reporting
3. Apparently std::process::Child::kill() sends SIGKILL and not
SIGTERM, so our nice new signal handler was never used.
Switched to a rustix based child reaper.
(2) and (3) where necessary because llvm-cov does not produce coverage
when a subprocess terminates due to a default signal handler.
2024-12-11 00:01:44 +01:00
Karolin Varner
4ea1c76b81
Add documentation for the ciphers crate ( #506 )
2024-12-10 23:57:56 +01:00
Amin Faez
5251721bcf
Add docs and tests for the decoder module in length_prefix_encoding
2024-12-10 16:13:16 +01:00
David Niehues
a789f801ab
fix formatting
2024-12-10 12:35:22 +01:00
David Niehues
be06f8adec
add tests and documentation for hash_domain.rs
2024-12-10 12:35:22 +01:00
David Niehues
03d3c70e2e
document lib.rs and mod.rs, and format documentation for incorrect_hmac_blake2b.rs
2024-12-10 12:35:22 +01:00
David Niehues
94ba99d89b
add documentation for hash_domain.rs
2024-12-10 12:35:22 +01:00
David Niehues
667a994253
add documentation for blake2b hmac
2024-12-10 12:35:22 +01:00
David Niehues
9561ea4a47
add documentation for xchacha20polxy1305_ietf.rs and improve documentaion for other implementations for chacha20poly1305
2024-12-10 12:35:22 +01:00
David Niehues
fb641f8568
document chacha20poly1305 as implemented in RustCrypto
2024-12-10 12:35:22 +01:00
David Niehues
6e16956bc7
document chacha20poly1305 as implemented in libcrux
2024-12-10 12:35:22 +01:00
David Niehues
eeb738b649
add documentation and doc-tests for blake2b.rs
2024-12-10 12:35:21 +01:00
Karolin Varner
2d20ad6335
fix: CI issues under Darwin
2024-12-09 15:35:34 +01:00
Jacek Galowicz
df3d1821c8
Fix build for mac
2024-12-09 15:35:34 +01:00
Jacek Galowicz
6048ebd3d9
rp systemd unit file: introduce and test
2024-12-09 15:35:34 +01:00
Jacek Galowicz
cd7558594f
rp: Add exchange-config command
...
This is similar to `rosenpass exchange`/`rosenpass exchange-config`.
It's however slightly different to the configuration file models the `rp
exchange` command line.
2024-12-09 15:35:34 +01:00
Jacek Galowicz
022cdc4ffa
rp: set allowed-ips as routes
...
Prepare the rp app for a systemd unit file that sets up wireguard
connections.
2024-12-09 15:35:34 +01:00
Jacek Galowicz
06d4e289a5
rp: Add ip parameter to exchange command
...
Prepare the `rp` app for a systemd unit that sets up a wireguard connection.
2024-12-09 15:35:34 +01:00
Jacek Galowicz
f9dce3fc9a
rosenpass systemd unit file: introduce and test
2024-12-09 15:35:34 +01:00
Karolin Varner
d9f3c8fb96
Documentation and unit tests for the rosenpass crate ( #520 )
2024-12-09 07:23:09 +01:00
Karolin Varner
0ea9f1061e
chore(doc): rosenpass::api
2024-12-08 23:29:31 +01:00
Karolin Varner
737f0bc9f9
chore(tests): Man page generation integration tests
2024-12-08 23:26:06 +01:00
Karolin Varner
32ebd18107
chore(doc): Docu & tests for rosenpass/src/main.rs
2024-12-08 23:26:06 +01:00
Karolin Varner
f04cff6d57
chore: Remove unused error case InvalidApiMessage
2024-12-08 23:26:06 +01:00