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
Karolin Varner
2c1a0a7451
chore(doc): document rosenpass/src/lib.rs
2024-12-08 23:26:06 +01:00
Karolin Varner
74fdb44680
chore(doc): Move doc from protocol::protocol into protocol
2024-12-08 00:45:58 +01:00
Karolin Varner
c3adbb7cf3
chore(doc): Documentation for gen-ipc-msg-types binary
...
It is very basic, because this a developer tool we should refactor anyway.
2024-12-08 00:45:58 +01:00
Karolin Varner
fa583ec6ae
chore(doc): Document rosenpass:hash_domains
2024-12-07 17:32:42 +01:00
Karolin Varner
aa76db1e1c
chore(rosenpass::msgs): Remove unused fields
2024-12-07 15:26:47 +01:00
Karolin Varner
c5699b5259
chore(doc): Documentation & tests for rosenpass::msgs
2024-12-07 15:26:47 +01:00
Karolin Varner
d3c52fdf64
chore(coverage): Use CodeCov token
2024-12-07 15:26:47 +01:00
Karolin Varner
b18f05ae19
feat(doc): How to format rust code
2024-12-07 15:26:47 +01:00
Karolin Varner
d8839ba341
feat(coverage): Reduce coverage false-negatives using grcov
...
Previously, we would report some tag style macros such as
`#[repr(packed)]` as being uncovered.
We are now also including doctests in our coverage reports.
Finally, a new script `coverage_report.sh` makes coverage checking
easier.
2024-12-07 15:26:47 +01:00
Karolin Varner
7022a93378
feat(docs): CONTRIBUTING.md with basic info about testing coverage
2024-12-07 15:26:47 +01:00
Karolin Varner
c9da9b8591
Hash based retransmission ( #513 )
2024-12-07 12:37:01 +01:00
Karolin Varner
b483612cb7
feat(protocol): Hash-based retransmission mechanism
...
See the updated whitepaper for details.
Fixes : #331
2024-12-07 12:36:40 +01:00
Karolin Varner
a30805f8a0
feat(nix): Dev shell environment with full rust installation
...
$ nix develop .#fullEnv
This environment contains extra utilities such as the rust language
server.
2024-12-07 12:36:40 +01:00
Karolin Varner
a9b0a90ab5
chore: Update affiliations in whitepaper
2024-12-07 12:36:40 +01:00
Karolin Varner
2bc138e614
chore: Add more info on denial of service mitigation to whitepaper changelog
2024-12-07 12:36:40 +01:00
Karolin Varner
f97781039f
build(deps): bump clap from 4.5.22 to 4.5.23 ( #519 )
2024-12-06 17:00:00 +01:00
dependabot[bot]
5eda161cf2
build(deps): bump clap from 4.5.22 to 4.5.23
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.22 to 4.5.23.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.22...clap_complete-v4.5.23 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-05 23:53:58 +00:00
Karolin Varner
a473fe6d9b
build(deps): bump clap from 4.5.21 to 4.5.22 ( #518 )
2024-12-04 11:40:33 +01:00
dependabot[bot]
e2c46f1ff0
build(deps): bump clap from 4.5.21 to 4.5.22
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.21 to 4.5.22.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.21...clap_complete-v4.5.22 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-04 11:40:25 +01:00
Karolin Varner
c8b804b39d
build(deps): bump tokio from 1.41.1 to 1.42.0 ( #517 )
2024-12-04 11:40:14 +01:00