Benjamin Lipp
bf67344e86
feat: build with feature experiment_api
2025-01-10 01:09:03 +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
Paul Spooren
a279dfc0b1
docs+doctest(to): Add tests, examples and documentation to the to-crate ( #546 )
2024-12-18 14:30:38 +01:00
Karolin Varner
caf2f6bfec
chore: Remove unused warning in api integration test
2024-12-18 14:28:51 +01:00
Karolin Varner
d398ad369e
fix: Disable asserts that rely on timing characteristics during coverage testing
2024-12-18 14:28:35 +01:00
Karolin Varner
00696321ff
chore: Final improvements on the to crate API doc
2024-12-18 14:28:24 +01:00
Paul Spooren
d807a1bca7
Add examples and docstring improvements for mio/uds_recv_fd ( #551 )
2024-12-18 12:29:20 +01:00
Karolin Varner
4daf97b2ee
style(ciphers): improve style in doc-tests around using the the ?-operator in the ciphers crate ( #549 )
2024-12-18 11:23:59 +01:00
Karolin Varner
b394e302ab
chore(tests): start using unused test output ( #547 )
2024-12-18 11:22:38 +01:00
Paul Spooren
198bc2d5f2
chore(tests): start using unused test output
...
Resolve a warning of unused `output` variable.
Fixes: 0745019 docs(cli): Create commented config file
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-12-18 11:22:16 +01:00
Paul Spooren
fc2f535eae
docs(util): add docs and examples for the remaining util crate ( #545 )
2024-12-18 11:16:00 +01:00
Paul Spooren
302e249f08
docs(constant-time): add docs, examples and safety notices ( #544 )
2024-12-18 10:58:35 +01:00
dependabot[bot]
d8fe3eba5f
build(deps): bump clap_complete from 4.5.38 to 4.5.40
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.38 to 4.5.40.
- [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.38...clap_complete-v4.5.40 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-18 10:29:44 +01:00
Karolin Varner
35519e7baa
chore: Documentation and examples for app_server.rs
2024-12-17 18:18:27 +01:00
Karolin Varner
78af5d1dc4
chore: Mark CryptoServer::poll example as ignore
...
No need to run a test that is in tests/ also during the doctests
2024-12-17 18:14:55 +01:00
David Niehues
61b8b28e86
style(ciphers): improve style in doc-tests around using the the ?-operator in the ciphers crate
2024-12-17 11:57:54 +01:00
Amin Faez
26f77924f8
docs(constant-time): add docs, examples and safety notices
2024-12-17 11:56:33 +01:00
Amin Faez
2e0e2cfa0c
docs(util): add docs and examples for the remaining util crate
2024-12-17 11:55:23 +01:00
Karolin Varner
9cc860fdeb
Fix doctests where Function is wrapped around the actual test but is never called in cipher traits ( #542 )
2024-12-16 23:30:34 +01:00
Philipp Dresselmann
a537eb3e1b
chore(docs): Adjust docstrings for the mio module
2024-12-16 22:29:01 +01:00
Philipp Dresselmann
ea233bf137
chore(docs): Add an example for the UnixListenerExt trait
2024-12-16 22:28:53 +01:00
Philipp Dresselmann
db8796ab40
chore(docs): Add an example for the uds_recv_fd module
2024-12-16 20:54:08 +01:00
David Niehues
0353c82729
docs+doctest(to): Add tests, examples and documentation to the to-crate
2024-12-16 17:47:44 +01:00
David Niehues
ae3fbde0a3
test(fix-doctest): fix doctests where a function is wrapped around a doctest but the function is never called
...
In the doctests in kem.rs, the actual tests that are run to verify that the KyberKem and the DummyKem actually work
are wrapped inside a function to make use of the ?-operator. However, these functions were never called and thus
the tests weren't really helpful and didn't provide proper coverage.
2024-12-16 17:05:41 +01:00
Philipp Dresselmann
51d4dede15
chore(doc): Add a link to the MIO utils module summary
2024-12-16 17:02:43 +01:00
Karolin Varner
4725a2d628
Merge: fix most broken doc-links (ciphers & cipher-traits) ( #543 )
2024-12-16 16:34:14 +01:00
David Niehues
a6bac74d48
docs(ciphers+cipher-traits):fix most broken doc-links in the ciphers and cipher-traits crates.
...
Some links in the documentation of the ciphers and cipher-traits were broken or linked to private fields.
This PR fixes most of these occasions and some more warnings in cargo doc.
The reaming issues are links to chacha20poly1305_ietf, that are broken because the feature experiment_libcrux corresponding feature is enabled. Analogously, disabling the feature would lead to broken links to chacha20poly1305_ietf_libcrux.
2024-12-16 16:33:18 +01:00
Karolin Varner
b9a34f4238
protocol.rs docs and unit tests ( #537 )
2024-12-16 16:31:33 +01:00
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
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
dependabot[bot]
e56798b04c
build(deps): bump tokio from 1.41.1 to 1.42.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.41.1 to 1.42.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.41.1...tokio-1.42.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-04 11:40:04 +01:00
Karolin Varner
b76d18e3c8
build(deps): bump anyhow from 1.0.93 to 1.0.94 ( #516 )
2024-12-04 11:39:54 +01:00
dependabot[bot]
a9792c3143
build(deps): bump anyhow from 1.0.93 to 1.0.94
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.93...1.0.94 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-03 23:26:40 +00:00
Karolin Varner
cb2c1c12ee
Dev/karo/docs and unit tests ( #512 )
2024-11-30 16:30:48 +01:00
Karolin Varner
08514d69e5
feat: Expand Rosenpass unix socket API documentation
2024-11-30 16:17:56 +01:00
Karolin Varner
baf2d68070
build(deps): bump mio from 1.0.2 to 1.0.3 ( #511 )
2024-11-30 14:34:43 +01:00
dependabot[bot]
cc7f7a4b4d
build(deps): bump mio from 1.0.2 to 1.0.3
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-30 14:34:20 +01:00
Karolin Varner
5b701631b5
build(deps): bump libc from 0.2.166 to 0.2.167 ( #510 )
2024-11-30 14:34:12 +01:00
dependabot[bot]
402158b706
build(deps): bump libc from 0.2.166 to 0.2.167
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.166 to 0.2.167.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.167/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.166...0.2.167 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-30 14:34:05 +01:00
Karolin Varner
e95636bf70
build(deps): bump postcard from 1.1.0 to 1.1.1 ( #509 )
2024-11-30 14:33:55 +01:00
dependabot[bot]
744e2bcf3e
build(deps): bump postcard from 1.1.0 to 1.1.1
...
Bumps [postcard](https://github.com/jamesmunns/postcard ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/postcard/v1.1.0...postcard/v1.1.1 )
---
updated-dependencies:
- dependency-name: postcard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-29 23:31:34 +00:00
Karolin Varner
8c82ca18fb
fix: API should be disabled by default
2024-11-29 18:42:15 +01:00
Karolin Varner
208e79c3a7
build(deps): bump postcard from 1.0.10 to 1.1.0 ( #507 )
2024-11-29 08:50:55 +01:00
dependabot[bot]
6ee023c9e9
build(deps): bump postcard from 1.0.10 to 1.1.0
...
Bumps [postcard](https://github.com/jamesmunns/postcard ) from 1.0.10 to 1.1.0.
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/v1.0.10...postcard/v1.1.0 )
---
updated-dependencies:
- dependency-name: postcard
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 23:12:57 +00:00
Karolin Varner
6f75d34934
build(deps): bump tempfile from 3.13.0 to 3.14.0 ( #489 )
2024-11-28 21:13:59 +01:00
dependabot[bot]
6b364a35dc
build(deps): bump tempfile from 3.13.0 to 3.14.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.13.0 to 3.14.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.13.0...v3.14.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 21:13:46 +01:00
Karolin Varner
2b6d10f0aa
build(deps): bump clap from 4.5.20 to 4.5.21 ( #494 )
2024-11-28 21:13:37 +01:00
dependabot[bot]
cb380b89d1
build(deps): bump clap from 4.5.20 to 4.5.21
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.20 to 4.5.21.
- [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.20...clap_complete-v4.5.21 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 21:13:12 +01:00
Karolin Varner
f703933e7f
build(deps): bump clap_complete from 4.5.37 to 4.5.38 ( #495 )
2024-11-28 21:13:05 +01:00
dependabot[bot]
d02a5d2eb7
build(deps): bump clap_complete from 4.5.37 to 4.5.38
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.37 to 4.5.38.
- [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.37...clap_complete-v4.5.38 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 21:12:49 +01:00
Karolin Varner
c7273e6f88
build(deps): bump codecov/codecov-action from 4 to 5 ( #497 )
2024-11-28 21:12:21 +01:00
dependabot[bot]
85eca49a5b
build(deps): bump codecov/codecov-action from 4 to 5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 21:11:19 +01:00
dependabot[bot]
9943f1336b
build(deps): bump rustix from 0.38.40 to 0.38.41
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.40 to 0.38.41.
- [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.40...v0.38.41 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-28 21:11:08 +01:00
Karolin Varner
bb2a0732cc
refactor: replace rustix with std where possible
...
Merge pull request #490 from mkroening/rustix
2024-11-28 21:01:34 +01:00
Karolin Varner
1275b992a0
Merge branch 'main' into rustix
2024-11-28 21:01:07 +01:00
Karolin Varner
196767964f
Fix docstring warnings
...
Merge pull request #479 from aparcar/docstrings
2024-11-28 20:59:53 +01:00
Karolin Varner
d4e9770fe6
Merge branch 'main' into docstrings
2024-11-28 20:59:31 +01:00
Karolin Varner
8e2f6991d1
Rename mio.connection.shoud_close (typo in function name)
...
Merge pull request #501 from PD3P/mio-connection-typo
2024-11-28 20:58:07 +01:00
dependabot[bot]
af0db88939
build(deps): bump libc from 0.2.165 to 0.2.166 ( #505 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.165 to 0.2.166.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.166/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.165...0.2.166 )
---
updated-dependencies:
- dependency-name: libc
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-11-28 19:00:49 +01:00
dependabot[bot]
6601742903
build(deps): bump libc from 0.2.162 to 0.2.165 ( #503 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.162 to 0.2.165.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.165/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.162...0.2.165 )
---
updated-dependencies:
- dependency-name: libc
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-11-26 20:54:02 +01:00
Philipp Dresselmann
9436281350
Docs: Add cargo test arguments in CONTRIBUTING.md ( #502 )
...
Presumably, this should match the command used in the CI workflow and not skip any features?
2024-11-25 14:52:51 +01:00
Philipp Dresselmann
f3399907b9
chore(API): Rename mio.connection.shoud_close
...
Technically a breaking change... Hopefully that's not a problem here?
2024-11-22 09:43:33 +01:00
dependabot[bot]
0cea8c5eff
build(deps): bump rustix from 0.38.39 to 0.38.40
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.39 to 0.38.40.
- [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.39...v0.38.40 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-14 11:33:23 +01:00
dependabot[bot]
5b3f4da23e
build(deps): bump serde from 1.0.214 to 1.0.215
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.214 to 1.0.215.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.214...v1.0.215 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-14 11:33:08 +01:00
dependabot[bot]
c13badb697
build(deps): bump thiserror from 1.0.68 to 1.0.69
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.68...1.0.69 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-13 14:06:25 +01:00
dependabot[bot]
cc7757a0db
build(deps): bump serial_test from 3.1.1 to 3.2.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.1...v3.2.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-13 11:48:07 +01:00
Paul Spooren
d267916445
docs(cli): Improve help text
...
This commit does multiple things at once to improve the user experience:
* Always start with an upper case letter, no mixing
* Hide deprecated `keygen` command, it still works if called
* Extend and rework some documentation textx
* Drop false `log_level` text, it contains a logic error
* Wrap all documentation at 80 chars
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-13 11:36:16 +01:00
Martin Kröning
03bc89a582
build(rosenpass): only enable rustix for experimental API
...
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de >
2024-11-11 11:14:33 +01:00
Martin Kröning
19b31bcdf0
refactor(mio): close FDs via std instead of rustix
...
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de >
2024-11-11 11:14:33 +01:00
Martin Kröning
939d216027
refactor: import FD traits from std instead of rustix
...
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de >
2024-11-11 11:14:33 +01:00
Paul Spooren
05fbaff2dc
docs(to): fix docstrings and add examples
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 12:49:10 +01:00
Paul Spooren
1d1c0e9da7
chore(examples): add examples to docs
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
e19b724673
docs(typenum): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
f879ad5020
docs(result): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
29e7087cb5
docs(mem): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
637a08d222
docs(io): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
6416c247f4
docs(fd): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
4b3b7e41e4
docs(util): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
325fb915f0
docs(result): add docstring and examples
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
43cb0c09c5
docs(length_prefix_encoding): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
0836a2eb28
docs(zerocopy): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
ca7df013d5
docs(option): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
1209d68718
docs(zeroize): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
Paul Spooren
8806494899
docs(mio): fix docstring warnings
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-08 11:17:43 +01:00
dependabot[bot]
582d27351a
build(deps): bump libfuzzer-sys from 0.4.7 to 0.4.8
...
Bumps [libfuzzer-sys](https://github.com/rust-fuzz/libfuzzer ) from 0.4.7 to 0.4.8.
- [Changelog](https://github.com/rust-fuzz/libfuzzer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-fuzz/libfuzzer/compare/0.4.7...0.4.8 )
---
updated-dependencies:
- dependency-name: libfuzzer-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-08 10:50:37 +01:00
dependabot[bot]
61136d79eb
build(deps): bump tokio from 1.41.0 to 1.41.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.41.0 to 1.41.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.41.0...tokio-1.41.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-08 10:50:27 +01:00
dependabot[bot]
71bd406201
build(deps): bump libc from 0.2.161 to 0.2.162
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.161 to 0.2.162.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.162/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.161...0.2.162 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-08 10:50:17 +01:00
Paul Spooren
ce63cf534a
Merge pull request #485 from rosenpass/dependabot/github_actions/actions/checkout-4
...
build(deps): bump actions/checkout from 3 to 4
2024-11-08 10:47:58 +01:00
dependabot[bot]
d3ff19bdb9
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-07 23:45:49 +00:00
Paul Spooren
3b6d0822d6
Merge pull request #468 from aparcar/hello-config
2024-11-07 15:14:00 +01:00
Paul Spooren
533afea129
Merge pull request #453 from aparcar/boot_race
2024-11-07 15:13:38 +01:00
Paul Spooren
da5b281b96
ci: add regression test for boot race condition
...
If two instances start up at the same time, they end up with different
keys on both ends. Test this with different delays of 2 (working), 1
(flaky) and 0 (broken) seconds.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-07 14:38:31 +01:00
Paul Spooren
b9e873e534
feat(config): Implenent todos from validate function
...
Readability of public/secret keys can be checked by simply loading the
key and thereby also checking that it's actually valid.
A user should either define `key_out` or a valid WireGuard peer (made of
`device` and `peer`). If neither is defined, let the user know that this
function will never do any good.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-07 14:34:57 +01:00
dependabot[bot]
a3b339b180
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-07 14:33:23 +01:00
Paul Spooren
b4347c1382
feat(cli): Print downstream error of config validation
...
The incredible helpful error message would never reach the enduser.
Attach it to upper layer print to help users fix the issues.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-07 14:23:46 +01:00
Paul Spooren
0745019e10
docs(cli): Create commented config file
...
The previous `gen-config` output contained no comments and was partly
misleading, i.e. the `pre_shared_key` is actually a path and not the
key itself. Mark things that are optional.
To keep things in sync, add a test that verifies that the configuration
is actually valid.
While at it, use 127.0.0.1 as peer address instead a fictitious domain
which would break the tests.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-07 14:23:46 +01:00
dependabot[bot]
2369006342
build(deps): bump actionsx/prettier from 2 to 3
...
Bumps [actionsx/prettier](https://github.com/actionsx/prettier ) from 2 to 3.
- [Release notes](https://github.com/actionsx/prettier/releases )
- [Commits](https://github.com/actionsx/prettier/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actionsx/prettier
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-07 14:17:32 +01:00
dependabot[bot]
0fa6176d06
build(deps): bump arbitrary from 1.3.2 to 1.4.1
...
Bumps [arbitrary](https://github.com/rust-fuzz/arbitrary ) from 1.3.2 to 1.4.1.
- [Changelog](https://github.com/rust-fuzz/arbitrary/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-fuzz/arbitrary/compare/v1.3.2...v1.4.1 )
---
updated-dependencies:
- dependency-name: arbitrary
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 16:17:02 +01:00
dependabot[bot]
22bdeaf8f1
build(deps): bump anyhow from 1.0.91 to 1.0.93
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.91 to 1.0.93.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.91...1.0.93 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:44:55 +01:00
dependabot[bot]
5731272844
build(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:13:43 +01:00
dependabot[bot]
bc7cef9de0
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:13:22 +01:00
dependabot[bot]
4cdcc35c3e
build(deps): bump cachix/install-nix-action from 21 to 30
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 21 to 30.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v30 )
---
updated-dependencies:
- dependency-name: cachix/install-nix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:12:58 +01:00
dependabot[bot]
a8f1292cbf
build(deps): bump cachix/cachix-action from 12 to 15
...
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action ) from 12 to 15.
- [Release notes](https://github.com/cachix/cachix-action/releases )
- [Commits](https://github.com/cachix/cachix-action/compare/v12...v15 )
---
updated-dependencies:
- dependency-name: cachix/cachix-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:12:38 +01:00
dependabot[bot]
ae5c5ed2b4
build(deps): bump softprops/action-gh-release from 1 to 2
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 15:12:11 +01:00
Paul Spooren
c483452a6a
ci(dependabot): check for GitHub action updates
...
We already use Dependabot for cargo updates, use it for GitHub action
updates, too. Right now we see warnings every now and then because Node
wants another upgrade or some checkout stuff is about to be deprecated.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-11-06 13:43:09 +01:00
dependabot[bot]
4ce331d299
build(deps): bump serde from 1.0.213 to 1.0.214
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.213 to 1.0.214.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.213...v1.0.214 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 13:29:18 +01:00
dependabot[bot]
d81eb7e2ed
build(deps): bump thiserror from 1.0.65 to 1.0.68
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.65 to 1.0.68.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.65...1.0.68 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 13:22:56 +01:00
dependabot[bot]
61043500ba
build(deps): bump rustix from 0.38.37 to 0.38.39
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.37 to 0.38.39.
- [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.37...v0.38.39 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 13:22:15 +01:00
dependabot[bot]
9c4752559d
build(deps): bump clap_complete from 4.5.35 to 4.5.37
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.35 to 4.5.37.
- [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.35...clap_complete-v4.5.37 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-06 10:39:38 +01:00
dependabot[bot]
6aec7acdb8
build(deps): bump clap_complete from 4.5.29 to 4.5.35
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.29 to 4.5.35.
- [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.29...clap_complete-v4.5.35 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-28 12:22:13 +01:00
dependabot[bot]
337cc1b4b4
build(deps): bump clap_mangen from 0.2.23 to 0.2.24
...
Bumps [clap_mangen](https://github.com/clap-rs/clap ) from 0.2.23 to 0.2.24.
- [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_mangen-v0.2.23...clap_mangen-v0.2.24 )
---
updated-dependencies:
- dependency-name: clap_mangen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-28 11:18:35 +01:00
Karolin Varner
387a266a49
chore: Dependency updates
...
Merge branch 'dev/karo/updates'
2024-10-24 17:30:52 +02:00
dependabot[bot]
179970b905
build(deps): bump thiserror from 1.0.64 to 1.0.65
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-24 17:30:32 +02:00
dependabot[bot]
8b769e04c1
build(deps): bump anyhow from 1.0.89 to 1.0.91
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.89...1.0.91 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-24 17:29:48 +02:00
dependabot[bot]
810bdf5519
build(deps): bump tokio from 1.40.0 to 1.41.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-24 17:29:23 +02:00
dependabot[bot]
d3a666bea0
build(deps): bump serde from 1.0.210 to 1.0.213
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.210 to 1.0.213.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.210...v1.0.213 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-24 17:28:47 +02:00
Karolin Varner
2b8f780584
Unit tests & api doc
...
Merge pull request #458 from rosenpass/dev/karo/docs_and_unit_tests
2024-10-24 17:25:56 +02:00
Karolin Varner
6aea3c0c1f
chore: Documentation and unit tests for rosenpass_util::io
2024-10-24 14:01:20 +02:00
Karolin Varner
e4fdfcae08
chore: Documentation and unit tests for rosenpass_util::functional
2024-10-24 14:01:20 +02:00
Karolin Varner
48e629fff7
feat: sideffect/mutating should take FnMut over Fn
2024-10-24 14:01:20 +02:00
Karolin Varner
6321bb36fc
chore: Formatting
2024-10-24 14:01:20 +02:00
Karolin Varner
2f9ff487ba
chore: Unused import
2024-10-24 14:01:20 +02:00
Karolin Varner
c0c06cd1dc
chore: Wrong formatting for module doc
2024-10-24 14:01:20 +02:00
Karolin Varner
e9772effa6
chore: Documentation and unit tests for rosenpass_util::file
2024-10-24 14:01:20 +02:00
Karolin Varner
cf68f15674
chore: Documentation and unit tests for rosenpass_util::fd
2024-10-24 14:01:20 +02:00
Karolin Varner
dd5d45cdc9
chore: Documentation and unit tests for rosenpass_util::controlflow
2024-10-24 14:01:20 +02:00
Karolin Varner
17a6aed8a6
feat(cli): Automatically generate man page
...
Merge pull request #434 from aparcar/lil-cli-ng
2024-10-24 13:59:31 +02:00
Paul Spooren
3f9926e353
feat(cli): Automatically generate man page
...
Instead of using a static one, generate it via clap_mangen. To generate
the manpage run `rosenpass --generate-manpage <folder>`.
Right now clap does not support flattening of generated manpages,
meaning that each subcommand is explained in its own file. To add extra
sections to the main file `rosenpass.1`, it's rewritten after the
initial creation.
Once clap support flattened Man pages, the `generate_to` call can be
removed and all subcommand are added to the `rosenpass.1` file.
This implementation allows downstream manpage generation to stay
unchanged even after switching from multiple manpages to a flattened
one.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-22 10:06:47 +02:00
dependabot[bot]
f4ab2ac891
build(deps): bump libc from 0.2.159 to 0.2.161 ( #449 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.159 to 0.2.161.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.161/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.159...0.2.161 )
---
updated-dependencies:
- dependency-name: libc
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-10-18 19:09:05 +02:00
Karolin Varner
de51c1005f
Merge pull request #447 from rosenpass/dev/update-cargolock
...
chore: update Cargo.lock
2024-10-14 15:43:35 +02:00
wucke13
1e2cd589b1
chore: update Cargo.lock
2024-10-14 15:42:40 +02:00
Karolin Varner
02bc485d97
Merge pull request #446 from rosenpass/dev/karo/docs_and_unit_tests
...
Documentation and unit tests
2024-10-14 15:42:13 +02:00
Karolin Varner
3ae52b9824
chore: Documentation and unit tests for crate rosenpass-util::build
2024-10-13 19:22:14 +02:00
Karolin Varner
cbf361206b
chore: Documentation and unit tests for crate rosenpass-util::b64
2024-10-13 17:21:30 +02:00
Karolin Varner
398da99df2
chore: Documentation and unit tests for crate rosenpass-constant-time
2024-10-13 16:58:20 +02:00
Karolin Varner
acfbb67abe
chore: Documentation and unit tests for crate rosenpass-oqs
2024-10-13 16:34:50 +02:00
Karolin Varner
c407b8b006
chore(rosenpass): Set version to 0.3.0-dev
...
Merge pull request #436 from aparcar/0.2.2-dev
2024-10-10 11:36:14 +02:00
Paul Spooren
bc7213d8c0
chore(rosenpass): Set version to 0.3.0-dev
...
The latest release left the `main` branch on 0.2.1
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-10 11:35:33 +02:00
dependabot[bot]
69e68aad2c
build(deps): bump clap from 4.5.19 to 4.5.20
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.19 to 4.5.20.
- [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.19...clap_complete-v4.5.20 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-10 11:34:22 +02:00
Karolin Varner
9b07f5803b
fix(rosenpass): fix compilation without API
...
Merge pull request #443 from mkroening/no-api
2024-10-10 11:33:33 +02:00
Martin Kröning
5ce572b739
fix(rosenpass): fix compilation without API
...
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de >
2024-10-09 12:52:18 +02:00
wucke13
d9f8fa0092
refactor(flake.nix): externalize pkgs, add overlay
...
This splits the complexity of the `flake.nix` into multiple files. At
cross-compiled and static builds at the benefit of simpler nix
expressions and generally better cross compilation compatibility.
the same time, naersk is removed; causing much slower builds for cross-
compiled packages.
This partially addresses the points mentioned in #412 .
2024-10-08 17:30:08 +02:00
dependabot[bot]
a5208795f6
build(deps): bump futures from 0.3.30 to 0.3.31
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.30 to 0.3.31.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.30...0.3.31 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-08 14:27:46 +02:00
Karolin Varner
0959148305
ci: add concurrency option to skip in progress
...
Merge pull request #432 from aparcar/con
2024-10-03 16:48:02 +02:00
Paul Spooren
f2bc3a8b64
ci: Rename regression workflow to "Regression"
...
No magic here, this is likely a copy&paste error. Problem is that one
workflow being called "QC" (regressions.yml) cancels out the other "QC"
(qc.yaml).
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-03 16:47:49 +02:00
Paul Spooren
06529df2c0
ci: add concurrency option to skip in progress
...
Instead of running outdated CI jobs, skip them automatically.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-03 16:47:49 +02:00
Karolin Varner
128c77f77a
ci: Skip Nix build of aarch64 since it takes forever
...
Merge pull request #433 from aparcar/no-arm-ci
2024-10-03 16:47:09 +02:00
Karolin Varner
501cc9bb05
Merge branch 'main' into no-arm-ci
2024-10-03 16:46:36 +02:00
dependabot[bot]
9ad5277a90
build(deps): bump clap from 4.5.18 to 4.5.19
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.18 to 4.5.19.
- [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.18...clap_complete-v4.5.19 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-02 18:45:26 +02:00
Paul Spooren
0cbcaeaf98
ci: Skip Nix build of aarch64 since it takes forever
...
More than 6 hours aka failing the CI. Drop it for now and hope to have
it enabled later again.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-01 14:18:50 +02:00
Paul Spooren
687ef3f6f8
docs: Correct protocol retransmission unit/vars
...
Those are seconds not ms, also it's BEGIN not BEG.
While over there, drop the unused variable `RETRANSMIT_ABORT` which was
never used anywhere in the code and drop an outdated TODO comment.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-01 14:08:44 +02:00
Paul Spooren
b0706354d3
chore: Format all Cargo.toml files
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-10-01 11:22:45 +01:00
dependabot[bot]
c1e86daec8
build(deps): bump libc from 0.2.158 to 0.2.159 ( #429 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.158 to 0.2.159.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.159/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.158...0.2.159 )
---
updated-dependencies:
- dependency-name: libc
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-09-25 20:02:31 +02:00
dependabot[bot]
18a286e688
build(deps): bump thiserror from 1.0.63 to 1.0.64 ( #428 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64 )
---
updated-dependencies:
- dependency-name: thiserror
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-09-24 17:28:42 +02:00
dependabot[bot]
cb92313391
build(deps): bump clap from 4.5.17 to 4.5.18 ( #427 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.17 to 4.5.18.
- [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.17...clap_complete-v4.5.18 )
---
updated-dependencies:
- dependency-name: clap
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-09-21 09:26:54 +02:00
dependabot[bot]
5cd30b4c13
build(deps): bump anyhow from 1.0.88 to 1.0.89 ( #425 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.88...1.0.89 )
---
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-09-17 17:41:27 +02:00
dependabot[bot]
76d8d38744
build(deps): bump rustix from 0.38.36 to 0.38.37
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.36 to 0.38.37.
- [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.36...v0.38.37 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-12 19:01:42 +02:00
dependabot[bot]
f63f0bbc2e
build(deps): bump anyhow from 1.0.87 to 1.0.88
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.87...1.0.88 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-12 19:01:31 +02:00
Karolin Varner
4a449e6502
chore: drop copy & paste doc error in protocol.rs
...
Merge pull request #422 from aparcar/cos1
2024-09-10 18:02:49 +02:00
Karolin Varner
1e6d2df004
Merge branch 'main' into cos1
2024-09-10 18:02:25 +02:00
Paul Spooren
3fa9aadda2
chore: drop copy & paste doc error in protocol.rs
...
There seem to be a paste typo in the docs, drop it to lower confusion.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-09-10 12:39:57 +02:00
dependabot[bot]
0c79a4ce95
build(deps): bump serde from 1.0.209 to 1.0.210 ( #420 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.209 to 1.0.210.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210 )
---
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-09-09 16:22:00 +02:00
dependabot[bot]
036960b5b1
build(deps): bump anyhow from 1.0.86 to 1.0.87 ( #421 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.86...1.0.87 )
---
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-09-09 15:01:01 +02:00
dependabot[bot]
e7258849cb
build(deps): bump rustix from 0.38.35 to 0.38.36 ( #419 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.35 to 0.38.36.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.35...v0.38.36 )
---
updated-dependencies:
- dependency-name: rustix
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-09-06 09:53:51 +02:00
dependabot[bot]
8c88f68990
build(deps): bump clap from 4.5.16 to 4.5.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.16 to 4.5.17.
- [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.16...clap_complete-v4.5.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-05 10:24:56 +02:00
dependabot[bot]
cf20536576
build(deps): bump tokio from 1.39.3 to 1.40.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.3 to 1.40.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.3...tokio-1.40.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-31 11:30:00 +02:00
dependabot[bot]
72e18e3ec2
build(deps): bump derive_builder from 0.20.0 to 0.20.1
...
Bumps [derive_builder](https://github.com/colin-kiegel/rust-derive-builder ) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/colin-kiegel/rust-derive-builder/releases )
- [Commits](https://github.com/colin-kiegel/rust-derive-builder/compare/v0.20.0...v0.20.1 )
---
updated-dependencies:
- dependency-name: derive_builder
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-30 08:56:28 +02:00
dependabot[bot]
6040156a0e
build(deps): bump rustix from 0.38.34 to 0.38.35 ( #414 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.38.34 to 0.38.35.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.34...v0.38.35 )
---
updated-dependencies:
- dependency-name: rustix
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-08-28 20:39:53 +02:00
dependabot[bot]
d3b318b413
build(deps): bump stacker from 0.1.16 to 0.1.17 ( #415 )
...
Bumps [stacker](https://github.com/rust-lang/stacker ) from 0.1.16 to 0.1.17.
- [Commits](https://github.com/rust-lang/stacker/compare/stacker-0.1.16...stacker-0.1.17 )
---
updated-dependencies:
- dependency-name: stacker
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-08-28 20:39:25 +02:00
dependabot[bot]
3a49345138
build(deps): bump serde from 1.0.208 to 1.0.209 ( #413 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.208 to 1.0.209.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209 )
---
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-08-27 20:02:59 +02:00
dependabot[bot]
4ec7813259
build(deps): bump stacker from 0.1.15 to 0.1.16
...
Bumps [stacker](https://github.com/rust-lang/stacker ) from 0.1.15 to 0.1.16.
- [Commits](https://github.com/rust-lang/stacker/compare/stacker-0.1.15...stacker-0.1.16 )
---
updated-dependencies:
- dependency-name: stacker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-22 16:54:13 +02:00
dependabot[bot]
db31da14d3
build(deps): bump postcard from 1.0.9 to 1.0.10
...
Bumps [postcard](https://github.com/jamesmunns/postcard ) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/v1.0.9...v1.0.10 )
---
updated-dependencies:
- dependency-name: postcard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-22 16:54:00 +02:00
Karolin Varner
4c20efc8a8
Merge: fix(API): Tests failing on mac
...
Merge pull request #409 from rosenpass/dev/karo/macos-fix
2024-08-21 13:46:53 +02:00
Karolin Varner
c81d484294
fix(API): Tests failing on mac
2024-08-21 12:48:45 +02:00
dependabot[bot]
cc578169d6
build(deps): bump postcard from 1.0.8 to 1.0.9 ( #408 )
...
Bumps [postcard](https://github.com/jamesmunns/postcard ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/jamesmunns/postcard/releases )
- [Changelog](https://github.com/jamesmunns/postcard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jamesmunns/postcard/compare/v1.0.8...v1.0.9 )
---
updated-dependencies:
- dependency-name: postcard
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-08-21 08:12:56 +02:00
dependabot[bot]
91527702f1
build(deps): bump tokio from 1.39.2 to 1.39.3 ( #407 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3 )
---
updated-dependencies:
- dependency-name: tokio
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-08-21 08:12:39 +02:00
dependabot[bot]
0179f1c673
build(deps): bump libc from 0.2.156 to 0.2.158 ( #406 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.156 to 0.2.158.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.158/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.156...0.2.158 )
---
updated-dependencies:
- dependency-name: libc
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-08-21 08:12:05 +02:00
Karolin Varner
2238919657
Merge: fd/time: add tests, docs, cleanups
...
Merge pull request #405 from aparcar/fd-tests-cleanup
2024-08-19 17:52:42 +02:00
Paul Spooren
d913e19883
test: add tests for controlflow
...
While at it, fix the label handling and fix a typo in continue_if, where
a `break` falsely replaced a `continue`
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-19 17:24:38 +02:00
Paul Spooren
1555d0897b
feat(ord): drop obsolete RTX_BUFFER_SIZE and usize_max
...
The RTX_BUFFER_SIZE function is nowhere used in the code and when
dropping it, usize_max (const version of max()) becomes obsolete, too.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-19 17:24:37 +02:00
Paul Spooren
abdbf8f3da
feat(util/time): cleanup, document and add tests
...
Drop the unused `dur` function, it's nowhere found in the code.
Document both Timebase and Timebase::now()
Add tests
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-19 17:24:16 +02:00
Paul Spooren
9f78531979
tests: cleanup fd.rs tests
...
Trigger the internal assert of owned.rs instead of writing our own. To
correctly test it use `should_panic` macro.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-19 17:24:16 +02:00
Karolin Varner
624d8d2f44
Merge: API: Close connections after errors & use mio::Token based polling
...
Merge pull request #404 from rosenpass/dev/karo/api_remove_connection
2024-08-19 15:03:46 +02:00
Karolin Varner
9bbf9433e6
fix(API): Be polite and kill child processes in api integration tests
2024-08-19 00:31:01 +02:00
Karolin Varner
77760d71df
feat(API): Use mio::Token based polling
...
Avoid polling every single IO source to collect events,
poll those specific IO sources mio tells us about.
2024-08-19 00:31:01 +02:00
Karolin Varner
53e560191f
feat(API): Close API connections after error
2024-08-19 00:31:01 +02:00
Karolin Varner
93cd266c68
Merge API Endpoint: AddPskBroker
...
Merge pull request #403 from rosenpass/dev/karo/api-add-psk-broker
2024-08-17 22:25:21 +02:00
Karolin Varner
594f894206
feat(API): AddPskBroker endpoint
2024-08-17 15:30:10 +02:00
Karolin Varner
a831e01a5c
chore: Utilities to check for unix domain stream sockets
2024-08-17 15:30:10 +02:00
dependabot[bot]
0884641d64
build(deps): bump libc from 0.2.155 to 0.2.156
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.155 to 0.2.156.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.156/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.155...0.2.156 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-17 10:54:06 +02:00
dependabot[bot]
ae85d0ed2b
build(deps): bump clap from 4.5.15 to 4.5.16
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.15 to 4.5.16.
- [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.15...clap_complete-v4.5.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-16 17:28:51 +02:00
Karolin Varner
163f66f20e
Merge – API Feature: Adding listen sockets
...
Merge pull request #395 from rosenpass/dev/karo/api-add-listen-socket
2024-08-16 17:16:44 +02:00
Paul Spooren
3caff91515
rosenpass: fallback for empty api section in config
...
The [api] section is newly added and causes existing installation to
break since they lack the configuration options. Instead, use a serde
default function.
Signed-off-by: Paul Spooren <mail@aparcar.org >
Co-authored-by: Karolin Varner <karo@cupdev.net >
2024-08-16 14:37:42 +02:00
Karolin Varner
24eebe29a1
feat(API): AddListenSocket endpoint
2024-08-16 14:37:42 +02:00
Karolin Varner
1d2fa7d038
feat(api): API Feature – Add server keys via API
...
Merge pull request #392 from rosenpass/dev/karo/api-supply-server-keys
2024-08-16 11:22:46 +02:00
Karolin Varner
edf1e774c1
feat(API): SupplyKeypair endpoint
2024-08-16 11:13:34 +02:00
Karolin Varner
7a31b57227
chore(API): Infrastructure to use endpoints with fd. passing
2024-08-16 08:39:27 +02:00
Karolin Varner
d5a8c85abe
chore(API): Specifying a keypair should be opt. at startup
...
…so we can specify it later using the API.
2024-08-16 08:34:07 +02:00
Karolin Varner
48f7ff93e3
chore(API, AppServer): Deal with CryptoServer being uninit.
...
Before this, we would just raise an error.
2024-08-16 08:34:07 +02:00
Karolin Varner
5f6c36e773
chore(AppServer): Decouple AppServer from CryptoServer::timebase
2024-08-16 08:34:07 +02:00
Karolin Varner
7b3b7612cf
chore(api): API should have access to AppServer
...
The borrow checker does not approve, hence there are many shenanigans
with extension traits.
2024-08-16 08:34:07 +02:00
Karolin Varner
c1704b1464
fix(API): Wrong response size set
2024-08-16 08:34:07 +02:00
dependabot[bot]
2785aaf783
build(deps): bump serde from 1.0.207 to 1.0.208
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-16 08:30:08 +02:00
Karolin Varner
15002a74cc
Merge: Experimental PSK Broker Support
...
Merge pull request #376 from pqcfox/feat/netlink-broker-cli
Add broker support to Rosenpass using `MioBrokerClient` (backport of dev/broker-architecture)
2024-08-16 08:26:15 +02:00
Karolin Varner
0fe2d9825b
fix: Remove ineffectual broker integration test
2024-08-16 00:35:46 +02:00
Karolin Varner
ab805dae75
fix: libc & rustix are making problems in CI for unknown reasons
2024-08-16 00:35:46 +02:00
Karolin Varner
08653c3338
chore: clippy
2024-08-16 00:35:46 +02:00
Karolin Varner
520c8c6eaa
chore: Feature naming scheme fully applied
...
experimental_broker_api -> experiment_broker_api
2024-08-15 22:47:20 +02:00
Karolin Varner
258efe408c
fix: PSK broker integration did not work
...
This commit resolves multiple issues with the PSK broker integration.
- The manual testing procedure never actually utilized the brokers
due to the use of the outfile option, this led to issues with the
broker being hidden.
- The manual testing procedure omitted checking whether a PSK was
actually sent to WireGuard entirely. This was fixed by writing an
entirely new manual integration testing shell-script that can serve
as a blueprint for future integration tests.
- Many parts of the PSK broker code did not report (log) errors
accurately; added error logging
- BrokerServer set message.payload.return_code to the msg_type value,
this led to crashes
- The PSK broker commands all omitted to set the memfd policy, this led
to immediate crashes once secrets where actually allocated
- The MioBrokerClient IO state machine was broken and the design was
too obtuse to debug. The state machine returned the length prefix as
a message instead of actually interpreting it as a state machine.
Seems the code was integrated but never actually tested. This was
fixed by rewriting the entire state machine code using the new
LengthPrefixEncoder/Decoder facilities. A write-buffer that was not
being flushed is now handled by flushing the buffer in blocking-io
mode.
2024-08-15 22:47:20 +02:00
Karolin Varner
fd0f35b279
chore: gen-key subcommand should show canonical paths
2024-08-15 22:12:02 +02:00
Karolin Varner
8808ed5dbc
fix: Quiet log level should be warn
2024-08-15 09:43:25 +02:00
Karolin Varner
6fc45cab53
chore: prettier
2024-08-15 08:55:13 +02:00
Katherine Watson
1f7196e473
doc: Add documentation for testing
2024-08-14 19:49:00 -07:00
Katherine Watson
c359b87d0c
chore: Convert broker interface setup to use mio's UnixStream where possible
2024-08-14 19:03:45 -07:00
Katherine Watson
355b48169b
chore: Make MiobrokerClient import conditional
2024-08-14 19:03:45 -07:00
Katherine Watson
274d245bed
chore: Unify enable_wg_broker and enable_broker_api features
2024-08-14 19:03:45 -07:00
Katherine Watson
065b0fcc8a
feat: Add enable_wg_broker feature using MioBrokerClient
...
doc: Add documentation for new methods and arguments
fix: Require new psk_broker_spawn flag to use broker without extra parameters, to make all-features cargo test pass
fix: Fix MioBrokerClient buffer size to allow room for length prefix
fix: Fix remaining issue with panic
2024-08-14 19:03:44 -07:00
dependabot[bot]
191fb10663
build(deps): bump mio from 1.0.1 to 1.0.2
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: mio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-14 09:28:27 +02:00
dependabot[bot]
3faa84117f
build(deps): bump tokio from 1.39.1 to 1.39.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.39.1 to 1.39.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.1...tokio-1.39.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-13 13:14:15 +02:00
dependabot[bot]
fda75a0184
build(deps): bump serde from 1.0.204 to 1.0.207
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.204 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.207 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-13 13:14:03 +02:00
dependabot[bot]
96b1f6c0d3
build(deps): bump procspawn from 1.0.0 to 1.0.1 ( #390 )
...
Bumps [procspawn](https://github.com/mitsuhiko/procspawn ) from 1.0.0 to 1.0.1.
- [Changelog](https://github.com/mitsuhiko/procspawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/procspawn/compare/1.0.0...1.0.1 )
---
updated-dependencies:
- dependency-name: procspawn
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-08-13 08:15:57 +02:00
dependabot[bot]
fb73c68626
build(deps): bump tempfile from 3.10.1 to 3.11.0 ( #387 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.10.1 to 3.11.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.10.1...v3.11.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-13 08:15:46 +02:00
dependabot[bot]
42b0e23695
build(deps): bump clap from 4.5.13 to 4.5.15 ( #397 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.13 to 4.5.15.
- [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.13...clap_complete-v4.5.15 )
---
updated-dependencies:
- dependency-name: clap
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-08-13 08:13:06 +02:00
Karolin Varner
c58f832727
Merge pull request #391 from aparcar/pb
...
add test cases for util modules
2024-08-12 16:26:01 +02:00
Paul Spooren
7b6a9eebc1
ci: test full workspace with codecov
...
Previously only the default members were checked for coverage.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-12 12:10:47 +02:00
Paul Spooren
4554dc4bb3
ci: drop codecov token
...
It's not needed to see generate results for pull requests.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-12 11:44:33 +02:00
Paul Spooren
465c6beaab
ci: switch to codecov action v4 branch
...
Instead of using a specific version, use branch v4 which stays API
compatible.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-12 11:43:26 +02:00
Paul Spooren
1853e0a3c0
feat: add test case and check fd value
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-08-12 11:37:15 +02:00
Benjamin Lipp
245d4d1a0f
feat: add tests for util file.rs
...
Co-authored-by: Paul Spooren <mail@aparcar.org >
2024-08-12 11:37:15 +02:00
Karolin Varner
d5d15cd9bc
Merge Rosenpass API infrastructure
...
Pull request #388 from rosenpass/dev/karo/api
2024-08-08 22:02:04 +02:00
Katherine Watson
9fd3df67ed
chore: Fix typos and add various comments
2024-08-07 23:11:13 -07:00
Karolin Varner
6d47169a5c
feat: Set CLOEXEC flag on claimed fds and mask them
...
Masking the file descriptors (by replaying them with a file descriptor pointing towards /dev/null)
mitigates use after free (on file descriptor) attacks. In case some
piece of code still holds a reference to the file descriptor, that
file descriptor now merely holds a reference to /dev/null.
Otherwise, the file descriptor might be reused and the reference
could now mistakenly point to all sorts of – potentially more harmful – files, such as memfd_secret
file descriptors, storing our secret keys.
2024-08-05 16:16:09 +02:00
Karolin Varner
4bcd38a4ea
feat: Infrastructure for the Rosenpass API
2024-08-03 16:51:18 +02:00
Karolin Varner
730a03957a
feat: A variety of utilities in preparation for implementing the API
2024-08-03 16:50:21 +02:00
Karolin Varner
ea071f5363
feat: Convenience functions and traits to automatically handle ErrorKind::{Interrupt, WouldBlock}
2024-08-03 16:49:02 +02:00
Karolin Varner
3063d3e4c2
feat: Convenience traits to get the ErrorKind of an io error for match clauses
2024-08-03 16:48:25 +02:00
Karolin Varner
1bf0eed90a
feat: Convenience function to just call a function
2024-08-03 16:46:48 +02:00
Karolin Varner
138e6b6553
chore: to crate documentation indendation (purely cosmetic)
2024-08-03 16:32:02 +02:00
Karolin Varner
2dde0a2b47
chore: Refactor integration_tests (purely cosmetic)
2024-08-03 16:31:19 +02:00
Karolin Varner
3cc3b6009f
chore: Move CliCommand::run -> CliArgs::run; do not mutate the configuration
...
This way CliArgs::run has access to all command line parameters.
Avoided mutating the CliArgs (or rather CliCommand) structure here,
because doing so is simply bad style. There is no good reasoning for
why this function should mutate CliCommand, except for a bit of
convenience.
2024-08-03 16:29:19 +02:00
Karolin Varner
1ab457ed37
fix: Print stack trace to errors propagated to main function
2024-08-03 15:50:14 +02:00
Karolin Varner
c9c266fe7c
fix: Flush stdout after printing key update notification
...
Otherwise, the notification might not be delivered due to buffering.
2024-08-03 15:50:14 +02:00
Karolin Varner
8d3c8790fe
chore: Reorganize memfd secret policy
...
- Policy is now set in main.rs, not cli.rs.
- Feature is called experiment_memfd_secret, not enable_memfd_alloc
This also fixes the last remaining warnings.
2024-08-03 15:17:09 +02:00
Karolin Varner
648a94ead8
chore: Clippy fixes on wireguard-broker
2024-08-03 15:02:49 +02:00
Karolin Varner
54ac5eecdb
chore: Warnings & clippy hints
2024-08-03 14:13:03 +02:00
Karolin Varner
40c5bbd167
chore: Ensure that rustAnalyzer is installed in dev environment
2024-08-03 14:06:19 +02:00
Karolin Varner
a4b8fc2226
chore: Move memcmp test API doc to test memcmp test module
2024-08-03 14:05:22 +02:00
Karolin Varner
37f7b3e4e9
fix: Consistently use feature flag experiment_libcrux
...
Before this, some parts of the code used an incorrect feature flag
name, preventing libcrux from being used.
2024-08-03 14:03:31 +02:00
Karolin Varner
deafc1c1af
chore: Style adjustments – Cargo.toml
2024-08-03 14:03:31 +02:00
Karolin Varner
6bbe85a57b
chore: Remove unnecessary imports
2024-08-03 13:59:55 +02:00
Karolin Varner
e70c5b33a8
chore: Ignore vscode directory
2024-08-03 13:35:31 +02:00
dependabot[bot]
25fdfef4d0
build(deps): bump clap from 4.5.11 to 4.5.13 ( #384 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.11 to 4.5.13.
- [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.11...v4.5.13 )
---
updated-dependencies:
- dependency-name: clap
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-08-01 09:47:20 +02:00
dependabot[bot]
6ab8fafe59
build(deps): bump clap from 4.5.9 to 4.5.11
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.9 to 4.5.11.
- [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.9...v4.5.11 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-29 14:28:22 +02:00
dependabot[bot]
c1aacf76b8
build(deps): bump mio from 0.8.11 to 1.0.1 ( #380 )
...
Bumps [mio](https://github.com/tokio-rs/mio ) from 0.8.11 to 1.0.1.
- [Release notes](https://github.com/tokio-rs/mio/releases )
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/mio/commits )
---
updated-dependencies:
- dependency-name: mio
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-27 15:59:48 +02:00
dependabot[bot]
1bcaf5781f
build(deps): bump tokio from 1.38.1 to 1.39.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.38.1 to 1.39.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-25 19:05:30 +02:00
Paul Spooren
de60e5f8f0
Docs: run prettier over CONTRIBUTING.md
...
... or else the CI fails on all PRs
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-07-25 15:56:54 +02:00
Alice Bowman
b50ddda151
Documentation: pointed to website documentation in readme
2024-07-23 10:46:52 +02:00
Alice Bowman
7282fba3b3
Docs: migrated cooking recipe from wiki
2024-07-23 10:41:44 +02:00
dependabot[bot]
0cca389f10
build(deps): bump thiserror from 1.0.62 to 1.0.63 ( #371 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63 )
---
updated-dependencies:
- dependency-name: thiserror
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-07-18 14:29:08 +02:00
Karolin Varner
8a08d49215
Merge pull request #370 from rosenpass/dependabot/cargo/tokio-1.38.1
...
build(deps): bump tokio from 1.38.0 to 1.38.1
2024-07-17 08:35:06 +02:00
dependabot[bot]
8637bc7884
build(deps): bump tokio from 1.38.0 to 1.38.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-16 23:32:14 +00:00
dependabot[bot]
4412c2bdd1
build(deps): bump thiserror from 1.0.61 to 1.0.62 ( #366 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62 )
---
updated-dependencies:
- dependency-name: thiserror
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-07-12 14:28:18 +02:00
Karolin Varner
ecc815dd8e
Merge pull request #363 from aparcar/regression-ci
...
Regression CI and fixup
2024-07-10 21:09:16 +02:00
Paul Spooren
b7d7c03e35
Merge branch 'main' into regression-ci
2024-07-10 20:06:33 +02:00
Paul Spooren
f6320c3c35
ci: fixup regression test
...
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-07-10 18:57:45 +02:00
Karolin Varner
19f7905bc9
Merge pull request #362 from rosenpass/dev/karo/libcrux_chacha20poly1305
...
feat: Experimental support for encryption using libcrux
2024-07-10 15:08:31 +02:00
Karolin Varner
9b5b7ee620
Merge pull request #338 from aparcar/no-unused
...
drop unused import of WG_B64_LEN
2024-07-10 15:04:35 +02:00
dependabot[bot]
4fdd271de7
build(deps): bump clap from 4.5.8 to 4.5.9 ( #365 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.8 to 4.5.9.
- [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/v4.5.8...v4.5.9 )
---
updated-dependencies:
- dependency-name: clap
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-07-10 14:17:45 +02:00
dependabot[bot]
860e65965a
build(deps): bump serde from 1.0.203 to 1.0.204 ( #364 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204 )
---
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-07-09 09:08:54 +02:00
Prabhpreet Dua
87144233da
Prettier
2024-07-08 13:54:26 +02:00
Prabhpreet Dua
d0a6e99a1f
feat: Regression CI based on misc/generate_configs.py
2024-07-08 13:54:26 +02:00
Paul Spooren
79b634fadf
drop unused import of WG_B64_LEN
...
This causes warnings
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-07-08 13:48:00 +02:00
Karolin Varner
99ac3c0902
feat: Experimental support for encryption using libcrux
...
Libcrux is a library for formally verified implementations of
cryptographic primitives. It uses multiple back ends; one of which is
libjade. A cryptographic library written in the jasmin assembly
language for high assurance cryptographic implementations.
To use compile with the experiment_libcrux feature enabled:
cargo build --features experiment_libcrux
2024-07-03 21:46:40 +02:00
dependabot[bot]
010c14dadf
build(deps): bump zerocopy from 0.7.34 to 0.7.35 ( #361 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.34 to 0.7.35.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/commits )
---
updated-dependencies:
- dependency-name: zerocopy
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-07-03 11:08:42 +02:00
dependabot[bot]
45b6132312
build(deps): bump clap from 4.5.7 to 4.5.8 ( #360 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.7 to 4.5.8.
- [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.7...v4.5.8 )
---
updated-dependencies:
- dependency-name: clap
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-06-29 20:18:42 +02:00
dependabot[bot]
77f9fd38f3
build(deps): bump log from 0.4.21 to 0.4.22 ( #359 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.21 to 0.4.22.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.21...0.4.22 )
---
updated-dependencies:
- dependency-name: log
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-06-29 20:17:25 +02:00
Karolin Varner
775ed86adc
Merge pull request #356 from pqcfox/hotfix/fix-kyber-encaps-fuzz-test
...
Fix Kyber encapsulation fuzz test shared key length to make test pass
2024-06-28 16:59:05 +02:00
Katherine Watson
40377dce1f
fix: Fix shared_secret length in Kyber encaps fuzz test
2024-06-27 09:17:05 -07:00
Karolin Varner
19293471e8
Merge pull request #357 from rosenpass/dev/cve/new_name
...
meta: Use my new name
2024-06-27 11:15:52 +02:00
Clara Engler
cc5877dd83
meta: Use my new name
2024-06-27 10:30:34 +02:00
Karolin Varner
ebb591aa6f
Merge pull request #354 from pqcfox/hotfix/fix-static-kem-branch-errors
...
Fix CI after merge of branch introducing PublicBox
2024-06-25 08:57:50 +02:00
Katherine Watson
07146d9914
fix: update handle_msg.rs fuzz test and handshake.rs bench to use PublicBox
2024-06-21 18:21:33 -07:00
Karolin Varner
cd04dbc4eb
Move static KEM public key to new PublicBox struct
2024-06-21 13:06:05 +02:00
Katherine Watson
cc22165dc4
chore: Ensure punctuation is consistent in doc comments
2024-06-17 20:53:19 -07:00
Katherine Watson
8496571765
test: Modify existing tests to cover load/store for PublicBox as well
2024-06-17 20:49:40 -07:00
Katherine Watson
ee3a1f580e
Refactor PublicBox to reuse Public code and minimize stack overhead
2024-06-17 20:49:40 -07:00
Katherine Watson
89584645c3
Migrate PublicBox to above tests
2024-06-17 20:49:40 -07:00
Katherine Watson
3286e49370
Replace &* incantations with .deref()
2024-06-17 20:49:40 -07:00
Karolin Varner
100d7b6e1c
chore: Simplify some dereferencing incantations in PublicBox
2024-06-17 20:49:40 -07:00
Katherine Watson
921b2bfc39
Fix comments in PublicBox impl to refer to PublicBox
2024-06-17 20:49:40 -07:00
Katherine Watson
a18658847c
Move static KEM public key to new PublicBox struct
2024-06-17 20:49:40 -07:00
Alice Michaela Bowman
bdad414c90
Add cargo-test runner for macos x86-64 ( #348 )
...
* added cargo-test runner for macos 86-64
---------
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
2024-06-17 15:48:19 +02:00
Paul Spooren
7c54a37618
misc: add generate_configs.py script
...
The script can be used to simulate setups of different sizes. A short
description is added to the `misc/` folder for further information.
This can be used for both benchmarking but also hunting down bugs which
may occur with larger setups.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-06-13 11:11:53 +02:00
Prabhpreet Dua
7a4f700186
feat: Improved memfd-secret allocation ( #347 )
...
Improve memfd-secret guard page allocation by using combination of mmap to map allocation area, and nest memfd-secret mapping and meta information with different permissions within the area
Implemented in quininer/memsec#18
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
Co-authored-by: Karolin Varner <karo@cupdev.net >
2024-06-13 10:04:35 +05:30
Prabhpreet Dua
f535a31cd7
Feature flag for memfd_secret alloc ( #343 )
...
* feature flag for memfd_secret alloc
* Cargo fmt
2024-06-11 14:53:30 +05:30
Karolin Varner
ac2aaa5fbd
Merge pull request #336 from rosenpass/dev/karo/rollback-proofs
...
chore: Rollback symbolic models to original state
2024-06-11 09:57:36 +02:00
dependabot[bot]
e472fa1fcd
build(deps): bump clap from 4.5.6 to 4.5.7 ( #340 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.6 to 4.5.7.
- [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/v4.5.6...v4.5.7 )
---
updated-dependencies:
- dependency-name: clap
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-06-11 08:26:40 +05:30
Prabhpreet Dua
526c930119
Secret memory with memfd_secret ( #321 )
...
Implements:
- An additional allocator to use memfd_secret(2) and guard pages using mmap(2), implemented in quininer/memsec#16
- An allocator that abstracts away underlying allocators, and uses specified allocator set by rosenpass_secret_memory::policy functions (or a function that sets rosenpass_secret_memory::alloc::ALLOC_INIT
- Updates to tests- integration, fuzz, bench: some tests use procspawn to spawn multiple processes with different allocator policies
2024-06-10 13:12:44 +05:30
Karolin Varner
5f8b00d045
chore: Rollback symbolic models to original state
...
The later edits where unfortunately incomplete. They lacked
modeling of multi-session, multi-user settings and they generally
rendered the models less trustworthy from my perspective.
These edits are still interesting as a starting point for analyzing
identity hiding and stealth, but they are not high-quality enough to be
present in main.
2024-06-07 20:05:23 +02:00
dependabot[bot]
b46fca99cb
build(deps): bump clap from 4.5.4 to 4.5.6 ( #335 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.4 to 4.5.6.
- [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.4...v4.5.6 )
---
updated-dependencies:
- dependency-name: clap
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-06-07 10:46:02 +05:30
Prabhpreet Dua
70c5ec2c29
chore: Remove libsodium references in nix flake, ci ( #334 )
2024-06-06 17:10:51 +05:30
Prabhpreet Dua
0e059af5da
fix(rosenpass): Fix duplicate key issue ( #329 )
...
Change handle_init_conf to return to instruct key exchange on encountering new biscuit_no for peer
2024-06-04 22:47:54 +05:30
Paul Spooren
99754f326e
Warn only if neither peer nor outfile is defined
...
Right now a warning message is logged if no Wireguard peer is defined.
This is misleading in cases where the outfile is used instead.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-06-03 17:58:50 +02:00
dependabot[bot]
fd397b9ea0
build(deps): bump tokio from 1.37.0 to 1.38.0 ( #324 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.37.0 to 1.38.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-31 08:30:41 +05:30
dependabot[bot]
e92fa552e3
build(deps): bump zeroize from 1.7.0 to 1.8.1 ( #322 )
...
Bumps [zeroize](https://github.com/RustCrypto/utils ) from 1.7.0 to 1.8.1.
- [Commits](https://github.com/RustCrypto/utils/compare/zeroize-v1.7.0...zeroize-v1.8.1 )
---
updated-dependencies:
- dependency-name: zeroize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
2024-05-28 14:23:45 +05:30
dependabot[bot]
c438d5a99d
build(deps): bump serde from 1.0.202 to 1.0.203 ( #323 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.202 to 1.0.203.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.202...v1.0.203 )
---
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-05-28 11:07:24 +05:30
dependabot[bot]
d4eef998f5
--- ( #318 )
...
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-05-21 07:12:19 +05:30
Prabhpreet Dua
c1abfbfd14
feat(rosenpass): Add wireguard-broker interface in AppServer ( #303 )
...
Dynamically dispatch WireguardBrokerMio trait in AppServer. Also allows for mio event registration and poll processing, logic from dev/broker-architecture branch
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
Co-authored-by: Karolin Varner <karo@cupdev.net >
2024-05-20 18:12:42 +05:30
dependabot[bot]
ae7577c641
build(deps): bump thiserror from 1.0.60 to 1.0.61 ( #316 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: thiserror
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-05-18 12:39:10 +02:00
dependabot[bot]
f07f598e44
build(deps): bump anyhow from 1.0.83 to 1.0.85 ( #317 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.83...1.0.85 )
---
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-05-18 12:38:46 +02:00
Alice Michaela Bowman
988f66cf2b
Merge pull request #314 from prabhpreet/fix/dep-workflow-permissions
...
chore: Add write permissions in dependent-issues workflow
2024-05-17 11:48:20 +02:00
Prabhpreet Dua
06969c406d
chore: Add write permissions in dependent-issues workflow
2024-05-17 14:56:29 +05:30
dependabot[bot]
b5215aecba
build(deps): bump serde from 1.0.201 to 1.0.202 ( #312 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.201 to 1.0.202.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.201...v1.0.202 )
---
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-05-16 14:18:26 +05:30
Alice Michaela Bowman
3e32bbad7c
Merge pull request #310 from rosenpass/ci/dependent-issues
...
Dependent issues Workflow
2024-05-10 16:42:34 +02:00
Prabhpreet Dua
650110a04f
Run prettier ( #311 )
2024-05-10 19:55:29 +05:30
Prabhpreet Dua
ee669823de
Create dependent-issues.yml
2024-05-10 19:47:10 +05:30
dependabot[bot]
40940ca1df
build(deps): bump serde from 1.0.200 to 1.0.201 ( #307 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.200 to 1.0.201.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.200...v1.0.201 )
---
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-05-09 07:41:30 +05:30
dependabot[bot]
b77eccffc0
build(deps): bump paste from 1.0.14 to 1.0.15 ( #304 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: paste
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-05-08 11:02:31 +05:30
dependabot[bot]
e17d8cd559
build(deps): bump thiserror from 1.0.59 to 1.0.60 ( #305 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.59...1.0.60 )
---
updated-dependencies:
- dependency-name: thiserror
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>
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
2024-05-08 10:24:19 +05:30
dependabot[bot]
c72e8bcda1
build(deps): bump zerocopy from 0.7.33 to 0.7.34 ( #306 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.33 to 0.7.34.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/commits )
---
updated-dependencies:
- dependency-name: zerocopy
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-05-08 10:06:29 +05:30
Prabhpreet Dua
2bac991305
feat(wireguard-broker): merge from dev/broker-architecture, fixes, test
...
* wireguard-broker: merge from dev/broker-architecture
* use zerocopy instead of lenses
* Require use_broker feature flag to comile broker binaries
* Remove PhantomData from BrokerServer & BrokerClient
* Modify mio client rx to be non-recursive, add integration test
Co-authored-by: Karolin Varner <karo@cupdev.net >
Co-authored-by: Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
2024-05-07 12:23:35 +05:30
dependabot[bot]
e6d114c557
build(deps): bump zerocopy from 0.7.32 to 0.7.33 ( #301 )
...
Bumps [zerocopy](https://github.com/google/zerocopy ) from 0.7.32 to 0.7.33.
- [Release notes](https://github.com/google/zerocopy/releases )
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md )
- [Commits](https://github.com/google/zerocopy/compare/v0.7.32...v0.7.33 )
---
updated-dependencies:
- dependency-name: zerocopy
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-05-07 08:35:36 +05:30
dependabot[bot]
29efbba97a
build(deps): bump anyhow from 1.0.82 to 1.0.83 ( #302 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.82...1.0.83 )
---
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-05-07 08:34:59 +05:30
Karolin Varner
3fb1220262
Merge pull request #300 from prabhpreet/codecov-yml
...
chore: Add codecov configuration file
2024-05-06 17:59:27 +02:00
Prabhpreet Dua
1ccf92c538
Merge branch 'main' into codecov-yml
2024-05-06 21:14:29 +05:30
Prabhpreet Dua
4bb3153761
feat(deps): Change base64 to base64ct crate ( #295 )
2024-05-06 21:14:10 +05:30
Prabhpreet Dua
a8ed0e8c66
chore: Update codecov configuration file
2024-05-06 20:59:08 +05:30
Prabhpreet Dua
ad6405f865
chore: Add codecov configuration file
2024-05-06 20:53:55 +05:30
Prabhpreet Dua
761d5730af
ci: Changes from #160- Invoke the mandoc linter ( #296 )
...
* ci: Changes from #160- Invoke the mandoc linter
* Add check.sh from #160 too
* Fix mandoc
2024-05-04 22:47:11 +02:00
Prabhpreet Dua
b45b7bc7f5
Update liboqs 0.9.1 ( #292 )
...
* deps,fuzz: update to liboqs 0.9.1
The release updates the Classic McEliece to NIST PQC Round 4 version
Updates breaking fuzz tests as well
Signed-off-by:
Paul Spooren <mail@aparcar.org >
Prabhpreet Dua <615318+prabhpreet@users.noreply.github.com >
* Update secret key length for McEliece KEM update
* Update to specifying key lengths of Kyber and McEliece through constants
---------
Co-authored-by: Paul Spooren <mail@aparcar.org >
2024-05-02 18:47:26 +05:30
dependabot[bot]
77a985dc02
build(deps): bump serde from 1.0.199 to 1.0.200 ( #299 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.199 to 1.0.200.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.199...v1.0.200 )
---
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-05-02 13:10:47 +05:30
Prabhpreet Dua
21e693a9da
ci: Add codecov (llvm-cov) coverage ( #297 )
...
* ci: Add codecov (llvm-cov) coverage
* Run prettier on qc.yaml
2024-05-01 18:31:46 +05:30
Emil Engler
be91b3049c
rp: Load WireGuard SK into secret memory ( #293 )
...
Fixes #287
2024-04-30 18:10:04 +02:00
dependabot[bot]
4dc24f745c
build(deps): bump serial_test from 3.1.0 to 3.1.1 ( #290 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.0...v3.1.1 )
---
updated-dependencies:
- dependency-name: serial_test
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-04-30 14:51:24 +05:30
dependabot[bot]
61a1cc3825
build(deps): bump serde from 1.0.198 to 1.0.199 ( #291 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.198 to 1.0.199.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.198...v1.0.199 )
---
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-04-30 13:22:37 +05:30
Prabhpreet Dua
2e01d1df46
Revert "build(deps): bump zeroize from 1.7.0 to 1.8.0 ( #285 )" ( #289 )
...
Reverts #285 since 1.8.0 has been yanked
Refer RustCrypto/utils#1067
2024-04-29 14:06:34 +05:30
Prabhpreet Dua
2c6411a2b1
Merge pull request #284 from rosenpass/dependabot/cargo/serial_test-3.1.0
...
build(deps): bump serial_test from 3.0.0 to 3.1.0
2024-04-29 12:47:04 +05:30
Karolin Varner
96b12ac261
Clippy Fixes
2024-04-25 20:32:46 +02:00
Emil Engler
3e734e0d57
rosenpass: Replace Into<> with From<> trait
2024-04-25 11:16:52 +02:00
Emil Engler
c9e296794b
rosenpass: Remove useless conversion
2024-04-25 11:15:51 +02:00
Emil Engler
bc6bff499d
rosenpass: Remove redundant Ok()
2024-04-25 11:14:59 +02:00
Emil Engler
de905056fc
rp: Remove needless borrow
2024-04-25 11:13:32 +02:00
Emil Engler
4e8344660e
rosenpass: Remove needless borrow
2024-04-25 11:11:56 +02:00
Emil Engler
a581f7dfa7
rosenpass: Replace if let with is_ok() call
2024-04-25 11:10:21 +02:00
Emil Engler
bd6a6e5dce
ciphers: Remove needless borrow for nonce array
2024-04-25 11:08:54 +02:00
Emil Engler
e0496c12c6
rosenpass: Use copy instead of clone trait
2024-04-25 11:05:16 +02:00
Emil Engler
f4116f2c20
ciphers: Remove redundant mutability
2024-04-25 11:03:48 +02:00
Emil Engler
8099bc4bdd
constant-time: Remove redundant cast
2024-04-25 11:01:41 +02:00
Emil Engler
39d174c605
util: Suppress clippy warnings for neutral element
2024-04-25 11:01:09 +02:00
dependabot[bot]
0257aa9e15
build(deps): bump zeroize from 1.7.0 to 1.8.0 ( #285 )
...
Bumps [zeroize](https://github.com/RustCrypto/utils ) from 1.7.0 to 1.8.0.
- [Commits](https://github.com/RustCrypto/utils/compare/zeroize-v1.7.0...zeroize-v1.8.0 )
---
updated-dependencies:
- dependency-name: zeroize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 10:54:55 +02:00
Emil Engler
3299b2bdb4
Merge branch 'main' into dependabot/cargo/serial_test-3.1.0
2024-04-23 11:15:57 +02:00
dependabot[bot]
f43b018511
build(deps): bump thiserror from 1.0.58 to 1.0.59 ( #283 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59 )
---
updated-dependencies:
- dependency-name: thiserror
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-04-23 11:15:28 +02:00
dependabot[bot]
0f884b79fa
build(deps): bump serial_test from 3.0.0 to 3.1.0
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v3.0.0...v3.1.0 )
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-22 23:31:58 +00:00
dependabot[bot]
ab83d3fae6
build(deps): bump tempfile from 3.9.0 to 3.10.1 ( #282 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.9.0 to 3.10.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.9.0...v3.10.1 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-20 17:46:35 +02:00
Gergő Móricz
cc7e8dc510
feat(rp-rust): implement rp tool in Rust ( #235 )
2024-04-19 20:44:55 +02:00
Gergő Móricz
c2d0d34c57
Add .devcontainer configuration ( #267 )
...
chore: Devcontainer config
2024-04-19 14:50:46 +02:00
Alice Michaela Bowman
5d46c93b2b
Merge pull request #142 from prabhpreet/feat/cookie-mechanism
...
Add cookie mechanism
2024-04-17 13:48:14 +02:00
Prabhpreet Dua
e6d7a7232f
Cargo lock update
2024-04-16 17:54:03 +05:30
Prabhpreet Dua
6ba1be6eae
Merge branch 'main' into feat/cookie-mechanism
2024-04-16 17:41:41 +05:30
dependabot[bot]
c194c74e55
build(deps): bump clap from 4.4.10 to 4.5.4
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.10 to 4.5.4.
- [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.4.10...v4.5.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-16 12:19:01 +02:00
dependabot[bot]
96de84e68f
build(deps): bump allocator-api2-tests from 0.2.14 to 0.2.15
...
Bumps [allocator-api2-tests](https://github.com/zakarumych/allocator-api2 ) from 0.2.14 to 0.2.15.
- [Changelog](https://github.com/zakarumych/allocator-api2/blob/main/CHANGELOG.md )
- [Commits](https://github.com/zakarumych/allocator-api2/compare/v0.2.14...v0.2.15 )
---
updated-dependencies:
- dependency-name: allocator-api2-tests
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-16 12:18:50 +02:00
Prabhpreet Dua
6215bc1514
Update whitepaper
2024-04-16 15:24:08 +05:30
Prabhpreet Dua
b0a93d6884
Whitepaper and cleanup
2024-04-16 15:07:01 +05:30
Prabhpreet Dua
bba0c874f2
Localhost ::1
2024-04-16 13:21:55 +05:30
Prabhpreet Dua
a32efb61d1
Skip cookie validation with InitConf, use 0.0.0.0 for loopback
2024-04-16 12:57:01 +05:30
Prabhpreet Dua
10bdb5f371
Display error if send to socket fails
2024-04-16 12:41:40 +05:30
Prabhpreet Dua
b07859f6ec
Change under load params, change localhost to IP
2024-04-16 12:16:30 +05:30
Prabhpreet Dua
65df24a98b
Consolidate tests with debugging
2024-04-16 11:41:43 +05:30
Prabhpreet Dua
9396784c0f
Cargo fmt
2024-04-16 11:18:47 +05:30
Prabhpreet Dua
8420d953eb
Add HostIdentification trait, add logging
2024-04-16 11:17:03 +05:30
Prabhpreet Dua
e7de4848fb
Try threads instead of process
2024-04-16 09:22:08 +05:30
Prabhpreet Dua
92824bb5b0
Integration test- add delay between server and client
2024-04-16 06:55:24 +05:30
Prabhpreet Dua
8d20e77173
Serialize integration tests
2024-04-16 06:45:05 +05:30
Prabhpreet Dua
15aafe7563
Cargo fmt fix
2024-04-15 22:13:14 +05:30
Prabhpreet Dua
b56af8b696
Simplify integration test
2024-04-15 22:10:40 +05:30
Prabhpreet Dua
a3e91a95df
Fix post merge integration test issue
2024-04-15 14:25:09 +05:30
Prabhpreet Dua
4ea51ab123
Merge branch 'main' into feat/cookie-mechanism
2024-04-14 18:53:51 +05:30
dependabot[bot]
4b849a4fe4
build(deps): bump anyhow from 1.0.81 to 1.0.82
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-11 11:47:09 +02:00
dependabot[bot]
16e67269ba
build(deps): bump thiserror from 1.0.50 to 1.0.58
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.50 to 1.0.58.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.58 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-11 11:46:59 +02:00
wucke13
76d5093a20
chore: apply .ci/gen-workflow-files.nu script
...
There is still hand-written stuff in the workflow file that we need to
get rid of, but now at least all autogenerated dependency fields are
sorted.
2024-04-06 17:45:34 +02:00
wucke13
0e8945db78
fix: .ci/gen-workflow-files.nu script
...
- Fix std log import (remove the asterisk)
- Add sort to dependencies field to make script output deterministic
- Remove whitespace error at EOF
- Add nushell to the default devShell, so that the script can be ran
from the devShell
2024-04-06 17:45:34 +02:00
wucke13
ffd81b6a72
chore: update flake.lock
...
Six months passed, time to get up-to-date again.
2024-04-06 17:45:34 +02:00
wucke13
d1d218ac0f
chore: add dedicated nixpkgs input to flake
...
This ensures that `nix flake update` doesn't create surprises on
different systems.
2024-04-06 17:45:34 +02:00
dependabot[bot]
0edfb625e8
build(deps): bump log from 0.4.20 to 0.4.21
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.20 to 0.4.21.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.20...0.4.21 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-06 15:14:03 +02:00
dependabot[bot]
16c0080cdc
build(deps): bump memoffset from 0.9.0 to 0.9.1
...
Bumps [memoffset](https://github.com/Gilnaa/memoffset ) from 0.9.0 to 0.9.1.
- [Changelog](https://github.com/Gilnaa/memoffset/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Gilnaa/memoffset/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: memoffset
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-06 15:13:35 +02:00
dependabot[bot]
b05c4bbe24
build(deps): bump serde from 1.0.193 to 1.0.197
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.193 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.197 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-06 15:13:21 +02:00
dependabot[bot]
639c65ef93
build(deps): bump env_logger from 0.10.1 to 0.10.2
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-21 00:39:00 +01:00
dependabot[bot]
332c549305
build(deps): bump anyhow from 1.0.75 to 1.0.81
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.75 to 1.0.81.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.81 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-21 00:38:44 +01:00
dependabot[bot]
ef973e9d7f
build(deps): bump base64 from 0.21.5 to 0.21.7
...
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.5 to 0.21.7.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.5...v0.21.7 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-21 00:38:34 +01:00
Paul Spooren
199ecb814b
dependabot: add configuration
...
This checks daily for outdated cargo crates.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-20 14:24:34 +01:00
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
Prabhpreet Dua
7739020931
Cargo fmt
2024-01-15 19:35:08 +05:30
Prabhpreet Dua
ecfecbb8f9
Host identification
2024-01-15 18:57:16 +05:30
Prabhpreet Dua
e8a81102f4
Whitepaper updates per review comments
2024-01-07 16:59:55 +05:30
Prabhpreet Dua
591e5226fd
Merge branch 'main' into feat/cookie-mechanism
2024-01-06 17:25:04 +05:30
wucke13
62aa9b4351
fix: second round of clippy lints
...
Clippy would not automatically apply these fixes, so they were applied
by hand.
2024-01-03 18:43:05 +01:00
wucke13
26cb4a587f
fix: apply clippy lints
2024-01-03 18:43:05 +01:00
wucke13
1c14be38dd
fix: make benches work again
...
Somehow in the past while splitting into many crates, we broke the bench
setup. This commit both fixes it, and adds a CI job that ensures it is
still working to avoid such silent failure in the future. The benchmarks
are not actually run, they would take forever on the slow GitHub Actions
runners, but they are at least compiled.
2024-01-03 18:43:05 +01:00
Karolin Varner
30cb0e9801
chore: Remove references to libsodium from secret-memory
2024-01-03 18:43:05 +01:00
Karolin Varner
9824db4f09
fix: Migrate away from lazy_static in favor of thread_local
...
The new secret memory pool was causing CI failures in the fuzzing code,
due to the fuzzer compiling its binaries with memory sanitizer support.
https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
Using lazy_static was – intentionally – introducing a memory leak, but the
LeakSanitizer detected this and raised an error.
Now by using thread_local we are calling the destructors and so – while still being a
memory leak in practice – the LeakSanitizer no longer detects this behaviour as an error.
Alternatively we could have used a known-leaks list with the leak-sanitizer, but this would have increased the complexity of the build setup.
Finally, this was likely triggered with the migration to memsec, because libsodium circumvents the malloc/free calls,
relying on direct calls to MMAP.
2024-01-03 18:43:05 +01:00
Karolin Varner
e3b72487db
fix: Make sure all tests are run during CI runs
...
Had to fix the tests in util/src/result.rs.
2024-01-03 18:43:05 +01:00
Karolin Varner
85c447052e
feat: Migrate to memsec
2024-01-03 18:43:05 +01:00
James Brownlee
b2a64ed17a
feat: add INITIATOR_TEST and RESPONDER_TEST macros
...
Added INITIATOR_TEST and RESPONDER_TEST macros to the identity hiding
mpv file that can be used to selectively test the anonymity of the
initiator or the responder.
2024-01-03 18:35:54 +01:00
James Brownlee
91da0dfd2d
feat: identity hiding in two stage process
...
Changed identity hiding test to work as a two stage process where
participants with fresh secure secret keys communicate with each other
and other compromised participants. Then the attacker is asked to
identify the difference between two of the secure participants as on of
them acts as a responder.
2024-01-03 18:35:54 +01:00
James Brownlee
4a170b1983
feat: add inital identity hiding code to proverif
2024-01-03 18:35:54 +01:00
wucke13
7c83e244f9
fix: fix Rust code in markdown files
...
This applies the novel format_rustcode.sh script to the markdown files in the
repo, to maintain a consistent style across code examples.
2023-12-22 17:57:32 +01:00
alankritdabral_2
eb76179dc4
feat: add format_rustcode.sh script
...
This script makes it possible to check formatting of rust code found in the various markdown files in the repo. It is also added as a job to the QC CI workflow.
2023-12-22 17:57:32 +01:00
wucke13
d84efa7422
Merge pull request #197 from guhitb/main
...
Add backwards compatibility for keygen command
2023-12-21 11:28:25 +01:00
user
61ef5b92bb
fix: add deprecated keygen command
...
This allows users to use the old keygen command, while being informed
about its deprecation.
2023-12-20 16:03:47 +01:00
Prabhpreet Dua
b336a0d264
Separate cookie message from envelope encapsulation, remove mac, cookie field
2023-12-12 07:24:08 +05:30
Prabhpreet Dua
0b7bec75de
Use common CookieStore for biscuit, and cookie secret, add padding to CookieReply, trigger immediate retransmission on recieving cookie reply
2023-12-10 18:17:37 +05:30
Prabhpreet Dua
87bbd1eef7
Reuse lifecycle (biscuit mechanism) for cookie expiration
2023-12-10 17:10:12 +05:30
Prabhpreet Dua
2646dc8398
Further updates to whitepaper
2023-12-08 00:13:55 +05:30
Prabhpreet Dua
4295ec9d80
Whitepaper changes, and reflect in code
2023-12-07 23:59:40 +05:30
Prabhpreet Dua
7cb643b181
app_server move under load handling to function, cargo fmt
2023-12-07 22:53:17 +05:30
Prabhpreet Dua
109d624227
SID specific cookie storage
2023-12-07 20:19:57 +05:30
Prabhpreet Dua
b96d195f54
Avoid memory allocations ctd
2023-12-06 23:02:57 +05:30
Prabhpreet Dua
775b464496
Remove debug message
2023-12-06 22:32:35 +05:30
Prabhpreet Dua
e2cd25c184
Use retransmitted message instead of storing last sent mac
2023-12-06 21:59:52 +05:30
Prabhpreet Dua
fdcb488d4b
Move IP+Port into AppServer from protocol.rs
2023-12-06 21:28:21 +05:30
Prabhpreet Dua
a8a596ca7e
Remove debug messages
2023-12-06 05:40:34 +05:30
Prabhpreet Dua
9ced9996d2
Remove serial_test deps
2023-12-05 06:40:35 +05:30
Prabhpreet Dua
df683f96b2
Remove ignore from second test, init libsodium in that test too
2023-12-05 06:30:59 +05:30
Prabhpreet Dua
27a8bdbe7b
Init libsodium in failing test
2023-12-05 06:26:41 +05:30
Prabhpreet Dua
bdabae9c33
Remove ignore for one test
2023-12-05 06:20:01 +05:30
Prabhpreet Dua
4d7c030476
Ignore existing tests
2023-12-05 06:15:19 +05:30
Prabhpreet Dua
95f22e98ac
Try all tests running in serial for protocol
2023-12-05 06:08:59 +05:30
Prabhpreet Dua
b0dada7613
cargo fmt run
2023-12-05 06:00:11 +05:30
Prabhpreet Dua
e54ea1feaa
Add parallel test flag, and remove .orig files
2023-12-05 05:58:13 +05:30
Prabhpreet Dua
0fd09c908b
Merge branch 'main' into feat/cookie-mechanism
2023-12-03 21:06:14 +05:30
Prabhpreet Dua
36628a46d6
Serial test execution for cookie exchange
2023-12-03 20:54:26 +05:30
wucke13
184cff0e5e
Merge pull request #196 from rosenpass/dev/fix-65
...
fix: remove OSFONTDIR var from whitepaper build
2023-12-03 14:01:25 +01:00
wucke13
9819148b6f
fix: remove OSFONTDIR var from whitepaper build
...
Fixes #65 . I checked with `pdffonts` that the whitepaper still has all fonts embedded.
2023-12-03 13:27:47 +01:00
Prabhpreet Dua
2904c90d4b
Cargo fmt
2023-12-02 19:38:10 +05:30
Prabhpreet Dua
f0dbe2bb54
Merge branch 'main' into feat/cookie-mechanism
2023-12-02 19:36:04 +05:30
Morgan Hill
3a0ebd2cbc
feat: Add fuzzing for libsodium allocator
2023-12-02 14:14:05 +01:00
Karolin Varner
1eefb5f263
fix: Guaranteed results typo
2023-12-02 12:21:41 +01:00
Karolin Varner
d45e24e9b6
feat: Move lenses into library
2023-12-02 12:21:41 +01:00
Karolin Varner
972e82b35f
chore: Move kems out of rosenpass crate
2023-12-02 10:42:13 +01:00
Karolin Varner
101c9bf4b3
feat: Add an internal library for guaranteed results
...
This is helpful for functions that have to return a result to
implement some interface but that do not actually need to return
a result value.
2023-12-02 10:42:13 +01:00
Marei (peiTeX)
955d57ea49
fix output of authorlist to support unlimited authors
2023-12-01 20:25:58 +01:00
Karolin Varner
838f700a74
chore: Upgrade dependencies
2023-12-01 18:43:32 +01:00
Karolin Varner
5448cdc565
feat: Use the rand crate for random values instead of sodium
2023-12-01 18:37:33 +01:00
Karolin Varner
77cd8a9fd1
feat: Move prftree into ciphers crate
...
- Use a new nomenclature for these functions based on the idea of a hash
domain (as in domain separation); this makes much more sence
- Remove the ciphers::hash export; we did not even export a hash
function in the purest sence of the word. This gets us around the
difficulty of figuring out what we should call the underlying
primitive
2023-12-01 18:36:46 +01:00
Karolin Varner
0f89ab7976
chore: Shorten fuzzing runtime to make sure the CI finishes quickly
2023-12-01 18:30:16 +01:00
Karolin Varner
70fa9bd6d7
feat: Wrap sodium_malloc as a custom allocator
...
This lets us get rid of quite a few unsafe blocks.
2023-12-01 18:29:53 +01:00
Karolin Varner
85a61808de
feat: Use the zeroize crate for zeroization
2023-12-01 18:11:05 +01:00
Karolin Varner
cf132bca11
chore: Move rest of coloring.rs into secret-memory crate
...
Also removes the StoreSecret trait from cli.rs as it was
redundant.
2023-12-01 18:11:05 +01:00
Karolin Varner
7bda010a9b
chore: Move Public and debug_crypto_array into secret-memory crate
2023-12-01 18:11:05 +01:00
Olaf Pichler
36089fd37f
Added example for additional PSK
2023-12-01 15:44:42 +01:00
Olaf Pichler
31d43accd5
#172 removed exchange_command
2023-12-01 15:44:42 +01:00
Olaf Pichler
205c301012
Added indications that file paths are used
2023-12-01 15:44:42 +01:00
Olaf Pichler
d014095469
Added indication that exchange_command is not used
2023-12-01 15:44:42 +01:00
Olaf Pichler
7cece82119
added WireGuard config example to gen-config
2023-12-01 15:44:42 +01:00
Ezhil Shanmugham
284ebb261f
fix: enabled fuzzing
2023-12-01 11:43:37 +01:00
Jemilu Mohammed
ba224a2200
add default member
...
add shared dependencies to workspace dependencies
all package level dependencies now rely on workspace
2023-11-30 18:44:28 +01:00
Jemilu Mohammed
ca35e47d2a
manage features in workspaces cargo.toml file
2023-11-30 18:44:28 +01:00
Jemilu Mohammed
181154b470
move external dependencies to workspace level
2023-11-30 18:44:28 +01:00
Karolin Varner
cc8c13e121
chore: Remove lprf.rs (dead code)
2023-11-30 11:26:24 +01:00
Prabhpreet Dua
e2792272e8
Merge branch 'main' into feat/cookie-mechanism
2023-11-29 21:01:32 +05:30
Karolin Varner
40861cc2ea
fix: Nix flake failing due to rosenpass-to
...
README.md was missing; added it to the list of source files
2023-11-29 11:36:28 +01:00
Karolin Varner
09aa0e027e
chore: Move hashing functions into sodium/ciphers crate
...
This finishes the last step of removing sodium.rs from the rosenpass crate
itself and also removes the NOTHING and NONCE0 constants.
Hashing functions now use destination parameters;
rosenpass_constant_time::xor now does too.
2023-11-29 11:36:28 +01:00
Morgan Hill
d44793e07f
Remove unwrap from fuzz targets that return errors
...
When fuzzing we are interested in what happens inside the target function
not necessarily what it returns. Functions returning errors with bogus
input in generally desired behaviour.
2023-11-29 11:36:07 +01:00
Prabhpreet Dua
1c65e67be2
Fix cargo fmt lint
2023-11-29 05:10:18 +05:30
Prabhpreet Dua
2ae3d6c271
Merge branch 'main' into feat/cookie-mechanism, ignore incoming messages when initiator is under load, whitepaper updates
2023-11-29 05:06:22 +05:30
Karolin Varner
d539be3142
feat: Rosenpass-to for nicely handling destination parameters
2023-11-26 11:18:47 +01:00
Morgan Hill
a49254a021
feat(fuzzing): Add initial set of fuzzing targets
...
These targets can be used with rust nightly and cargo-fuzz to fuzz
several bits of Rosenpass's API. Fuzzing is an automated way of
exploring code paths that may not be hit in unit tests or normal
operation. For example the `handle_msg` target exposed the DoS condition
fixed in 0.2.1.
The other targets focus on the FFI with libsodium and liboqs.
Co-authored-by: Karolin Varner <karo@cupdev.net >
2023-11-26 11:05:19 +01:00
Karolin Varner
86300ca936
chore: Use naming scheme without rosenpass- for crates
2023-11-26 10:38:24 +01:00
Karolin Varner
3ddf736b60
chore: Move xchacha20 implementation out of rosenpass::sodium
2023-11-26 10:38:24 +01:00
Karolin Varner
c64e721c2f
chore: Move chacha20 implementation out of rosenpass::sodium
...
Introduces a new crate for selected ciphers which references
a cipher implementation in the rosenpass-sodium crate.
2023-11-26 10:38:24 +01:00
Karolin Varner
4c51ead078
chore: Move libsodium's helper function into their own namespace
2023-11-26 10:38:24 +01:00
Karolin Varner
c5c34523f3
chore: Move libsodium's memzero, randombytes fns into rosenpass-sodium
2023-11-26 10:38:24 +01:00
Karolin Varner
6553141637
chore: Move libsodium's increment into rosenpass-sodium crate
2023-11-26 10:38:24 +01:00
Karolin Varner
a3de526db8
chore: Move libsodium's compare into rosenpass-sodium crate
2023-11-26 10:38:24 +01:00
Karolin Varner
5da0e4115e
chore: Move memcmp into rosenpass-sodium crate
2023-11-26 10:38:24 +01:00
Karolin Varner
99634d9702
chore: Move sodium init integration into rosenpass-sodium crate
2023-11-26 10:38:24 +01:00
Karolin Varner
46156fcb29
fix: Setup cargo fmt to check the entire workspace
2023-11-26 10:38:24 +01:00
Karolin Varner
e50542193f
chore: Move file utils into coloring or the util crate
2023-11-26 10:38:24 +01:00
Karolin Varner
3db9755580
chore: move functional utils into utils library
2023-11-26 10:38:24 +01:00
Karolin Varner
556dbd2600
chore: move time utils into util crate
2023-11-26 10:38:24 +01:00
Karolin Varner
6cd42ebf50
chore: move max_usize into util crate
2023-11-26 10:38:24 +01:00
Karolin Varner
a220c11e67
chore: Move xor_into, copying and base64 utils into own crates
2023-11-26 10:38:24 +01:00
Emil Engler
c9cef05b29
doc: Add bibliography to the manual page
...
Fixes #153
2023-11-26 09:51:11 +01:00
Prabhpreet Dua
96d4f0b545
Merge branch 'main' into feat/cookie-mechanism
2023-11-19 12:06:33 +05:30
Prabhpreet Dua
ad947a755c
Add test with initiator under load, add section to WP
2023-11-19 11:30:12 +05:30
wucke13
0b4b1279cf
chore: Release rosenpass version 0.2.1
2023-11-18 23:16:22 +01:00
wucke13
44264a7bb6
chore: Release rosenpass version 0.2.1-rc.3
2023-11-18 22:58:57 +01:00
wucke13
b095bdaa7c
refine ab085998bb
...
This commit refines the above by making cargo release emit no prefix for release tags even if only a single package is released.
2023-11-18 22:57:53 +01:00
wucke13
9597e485bf
chore: Release rosenpass version 0.2.1-rc.2
2023-11-18 22:48:35 +01:00
wucke13
ab085998bb
add new trigger for release workflow
...
The change to a multi crate cargo workspace makes `cargo release` behave differently. Now it prefixes the release tags (e.g. `v0.2.0`) with the package name, so for example `rosenpass-v0.2.0`. This change adds the
2023-11-18 22:43:47 +01:00
wucke13
3901e668cb
chore: Release rosenpass version 0.2.1-rc.1
2023-11-18 22:30:46 +01:00
wucke13
b7444bf9b4
add readme link to rosenpass package
2023-11-18 22:25:05 +01:00
Benjamin Lipp
0051cbd48e
doc: Add unit test for xor_into
2023-11-15 14:32:19 +01:00
Prabhpreet Dua
35f9c3bf68
Cookie reply processing continued
2023-11-14 21:42:48 +05:30
Prabhpreet Dua
ff44002b7c
Cookie reply handler test setup
2023-11-13 20:57:34 +05:30
Prabhpreet Dua
0ce8304c69
Merge branch 'main' into feat/cookie-mechanism
2023-11-13 14:55:10 +05:30
Prabhpreet Dua
5f91feb3a4
Checkpoint- cookie reply handler
2023-11-13 14:47:39 +05:30
Karolin Varner
27746781c0
fix: Doctest should pass buffers of correct length to handle_msg
2023-11-12 14:42:23 +01:00
Karolin Varner
93439858d1
fix crash on undersized buffers going through the lenses
...
Co-authored-by: wucke13 <wucke13@gmail.com >
2023-11-12 14:42:23 +01:00
wucke13
1223048b48
Merge pull request #148 from rosenpass/dev/wucke13-update-lock-files
...
update lock files
2023-11-12 13:44:10 +01:00
wucke13
932bde39cc
flake.lock: Update
...
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/add522038f2a32aa1263c8d3c81e1ea2265cc4e1' (2023-08-23)
→ 'github:nix-community/fenix/81ab0b4f7ae9ebb57daa0edf119c4891806e4d3a' (2023-11-12)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/9e3bf69ad3c736893b285f47f4d014ae1aed1cb0' (2023-08-22)
→ 'github:rust-lang/rust-analyzer/5fcf5289e726785d20d3aa4d13d90a43ed248e83' (2023-11-11)
• Updated input 'flake-utils':
'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
→ 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12)
• Updated input 'naersk':
'github:nix-community/naersk/78789c30d64dea2396c9da516bbcc8db3a475207' (2023-08-18)
→ 'github:nix-community/naersk/aeb58d5e8faead8980a807c840232697982d47b9' (2023-10-27)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/78287547942dd8e8afff0ae47fb8e2553db79d7e' (2023-08-08)
→ 'github:NixOS/nixpkgs/34bdaaf1f0b7fb6d9091472edc968ff10a8c2857' (2023-11-01)
2023-11-12 13:29:22 +01:00
wucke13
1d9e62e56b
update Cargo.lock
2023-11-12 13:29:06 +01:00
wucke13
3af722a066
Merge pull request #143 from rosenpass/dev/refactor-rp-to-workspace
...
refactor rp to workspace
2023-11-12 13:27:31 +01:00
wucke13
df60b0bfc3
refine source filter
...
In particular, replace the error prone sourceByRegex filter for the rosenpass derivation with a simple file suffix filter.
2023-11-12 13:16:34 +01:00
wucke13
6274c6fcdd
add workspace Cargo.toml
2023-11-12 13:16:34 +01:00
wucke13
cd00f023fb
move the current rosenpass codebase into a subdir
...
This is preparation to make the rosenpass repo a workspace, which can contain multiple crates.
2023-11-12 13:16:34 +01:00
Prabhpreet Dua
baebb8632f
Merge branch 'main' into feat/cookie-mechanism
2023-11-09 19:33:35 +05:30
Prabhpreet Dua
cb97f90581
cookie mechanism trigger- send cookie reply message under load if cookie not valid
2023-11-09 19:28:02 +05:30
Karolin Varner
13563237cb
chore: rustfmt
2023-11-08 22:05:30 +01:00
Karolin Varner
447a4f7a44
fix: Restore benchmarks to working order
2023-11-08 22:05:30 +01:00
Prabhpreet Dua
3d13caa37b
cookie mechanism trigger- under load condition and mio event length
2023-11-07 20:49:43 +05:30
Prabhpreet Dua
54ecfaddcf
Whitepaper- add cookie mechanism description draft
2023-10-25 01:43:08 +05:30
wucke13
6bac6a59ff
Merge pull request #141 from rosenpass/dev/engler/app_server
...
app_server: Replace `is_ok()` by `if let`
2023-10-19 23:09:05 +02:00
Emil Engler
e5e04c6d95
app_server: Replace is_ok() by if let
...
This commit replaces an `is_ok()` call with a call to `if let`, thereby
fixing a clippy warning.
2023-10-19 13:54:13 +02:00
Emil Engler
15ce25ccd2
Merge pull request #140 from rosenpass/AliceOrunitia-patch-1
...
Update rosenpass.1
2023-10-19 13:51:28 +02:00
Alice Michaela Bowman
1b383d494c
Update rosenpass.1
...
Small grammatical changes.
2023-10-19 12:44:56 +02:00
Emil Engler
605b6463ff
Merge pull request #134 from rosenpass/dev/engler/stack
...
Follow-ups to the stack increasements
2023-10-06 10:55:14 +02:00
Ashish SHUKLA
04eb86af87
cli: move wg exit status check to thread
2023-10-06 08:27:43 +02:00
Ashish SHUKLA
bf850e3072
cli: handle the exit status of wg process
2023-10-06 08:27:43 +02:00
Ashish SHUKLA
dd39936220
cli: reap spawned wireguard child
...
Fixes #132
2023-10-06 08:27:43 +02:00
wucke13
b15f17133f
Merge pull request #135 from lorenzleutgeb/patch-1
...
config: Default `WireGuard::extra_params` to empty `Vec`
2023-09-28 19:59:15 +02:00
Lorenz Leutgeb
b50820ecc0
config: Default WireGuard::extra_params to empty Vec
...
Otherwise, omitting `extra_params` in the configuration file will result in a `WireGuard` configuration object of `None`, even though not specifying `extra_params` is sane.
2023-09-28 11:16:38 +02:00
Emil Engler
f323839967
test: Fix wrong comment
...
This commit fixes a wrong comment, claiming that the unit tests uses a
stack size of 16MB, where in fact it only uses 8MiB.
2023-09-28 07:58:17 +02:00
Emil Engler
6e15c38254
flake: Remove redundant stack increase
...
This commit removes the setting of `RUST_MIN_STACK` by the Nix
development shell, because the tests now set the stack size on their
own.
See #128
2023-10-06 10:43:41 +02:00
Emil Engler
b7a76849b7
test: Ensure 8MiB of stack size for key generation
...
This commit ensures that the call to `StaticKEM::keygen` has a stack of
8MiB.
Especially on Darwin system, this commit is necessary in order to
prevent a stack overflow, as this system only provides stack sizes of
roughly 500KB which is way to small for a Classic McEliece key.
Fixes #118
2023-09-22 16:30:00 +02:00
Emil Engler
d2d72143b5
Merge pull request #126 from rosenpass/dev/engler/unsafe
...
Remove some `unsafe`s
2023-09-18 07:20:04 -10:00
Emil Engler
1135cd7bbb
util: Remove unsafe from store_secret
2023-09-14 10:36:53 +02:00
Emil Engler
51f04f749f
cli: Remove unsafe from store_secret
...
This commit removes the `unsafe` block from the `store_secret` function,
as I see no reason why we should have one here.
2023-09-14 10:34:07 +02:00
Emil Engler
37d1326481
Merge pull request #123 from rosenpass/dev/engler/unsafe
...
cli: Move `StaticKEM::keygen` out of `unsafe`
2023-09-13 18:09:28 +02:00
Emil Engler
d0a84294aa
cli: Move StaticKEM::keygen out of unsafe
...
This commit moves the `StaticKEM::keygen` call out of an `unsafe` call,
because the function is not unsafe.
2023-09-13 16:36:35 +02:00
wucke13
a98f64c17d
Merge pull request #119 from rosenpass/dev/engler/clippy
...
Fix all clippy warnings
2023-09-07 12:25:47 +02:00
Emil Engler
d6a7ebe88f
clippy: Allow false positive with redundancies
...
This commit allows a redundant closure call in the regard of clippy
warnings, as it is a false positive in our case.
2023-09-06 17:40:34 +02:00
Emil Engler
212336728c
build: Fix clippy warnings in build.rs
...
This commit fixes the clippy warnings in `build.rs`, by making use of
the `if let` language feature.
2023-09-06 17:32:26 +02:00
Emil Engler
f48a923dbf
refactor: Remove redundant references
...
This commit removes redundant references, noted by clippy.
2023-09-06 17:31:56 +02:00
Emil Engler
7b5d0f7d66
Merge pull request #117 from rosenpass/dev/engler/rp-ip
...
doc: Clarify the assumptions about the server
2023-09-06 17:20:27 +02:00
Emil Engler
1e37f89e83
doc: Clarify the assumptions about the server
...
This commit clarifies the assumptions about the server/responder in the
`rp.1` manual page, by specifying an IP and open UDP ports that the rest
of this tutorial is going to assume.
Reported-by: Robert Clausecker <fuzxxl@gmail.com >
Fixes #116
2023-09-06 14:25:48 +02:00
wucke13
b997238f42
chore: Release rosenpass version 0.2.0
2023-09-05 19:33:50 +02:00
wucke13
d915e63445
bump versions
2023-08-29 23:48:48 +02:00
wucke13
53d7996dd3
Merge pull request #111 from rosenpass/dev/bsd-port-for-rp-script
...
add freebsd support, prepare for other BSDs
2023-08-29 23:39:10 +02:00
wucke13
47b4d394ef
small fixups for rp script
2023-08-29 23:32:14 +02:00
Emil Engler
578d9e2eb5
Merge pull request #114 from rosenpass/dev/update-deps
...
cargo: Update outdated dependencies
2023-08-25 11:50:33 +02:00
wucke13
d6b83a4a0b
add freebsd support, prepare for other BSDs
2023-08-23 18:20:17 +02:00
Emil Engler
959cd50ef6
Merge pull request #113 from rosenpass/dev/ci/shellcheck
2023-08-23 16:09:05 +02:00
Emil Engler
6025623aad
cargo: Update outdated dependencies
2023-08-23 14:44:11 +02:00
Emil Engler
5a67b4708a
ci: Perform a shellcheck
2023-08-23 14:39:38 +02:00
wucke13
45145cdd9b
Merge pull request #110 from rosenpass/dev/update-oqs-and-flake
...
Dev/update oqs and flake
2023-08-23 12:59:44 +02:00
wucke13
66e696fea3
flake.lock: Update
...
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/6e6a94c4d0cac4821b6452fbae46609b89a8ddcf' (2023-06-09)
→ 'github:nix-community/fenix/add522038f2a32aa1263c8d3c81e1ea2265cc4e1' (2023-08-23)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/9c03aa1ac2e67051db83a85baf3cfee902e4dd84' (2023-06-08)
→ 'github:rust-lang/rust-analyzer/9e3bf69ad3c736893b285f47f4d014ae1aed1cb0' (2023-08-22)
• Updated input 'flake-utils':
'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
→ 'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
• Updated input 'naersk':
'github:nix-community/naersk/88cd22380154a2c36799fe8098888f0f59861a15' (2023-03-23)
→ 'github:nix-community/naersk/78789c30d64dea2396c9da516bbcc8db3a475207' (2023-08-18)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/81ed90058a851eb73be835c770e062c6938c8a9e' (2023-06-08)
→ 'github:NixOS/nixpkgs/78287547942dd8e8afff0ae47fb8e2553db79d7e' (2023-08-08)
2023-08-23 11:33:20 +02:00
wucke13
91d0592ad6
update oqs-sys from 0.7.2 to 0.8.0
2023-08-23 11:32:51 +02:00
Emil Engler
8ff9b53365
cli: include a static compiled manual page
...
This commit re-introduces a static and pre-compiled version of the
manual page back into the source code, in case that an installed version
cannot be found on the host system.
2023-08-21 14:05:34 +02:00
Marek Küthe
067a839d4b
rp: Defaults to dual-stack
...
If currently no IP address, only on IPv6 is listen by default. This commit would make it listen dual-stack - i.e. IPv4 and IPv6 - by default.
Signed-off-by: Marek Küthe <m.k@mk16.de >
2023-08-21 14:04:46 +02:00
Marek Küthe
38835fb0f8
Readme: Add mirrors
...
Signed-off-by: Marek Küthe <m.k@mk16.de >
2023-08-21 13:59:34 +02:00
wucke13
a2b177470c
Merge pull request #101 from rosenpass/dev/fix-ci
...
add .gitlab-ci.yml
2023-07-01 00:03:52 +02:00
wucke13
1c1e38e2f7
add .gitlab-ci.yml
...
This gitlab-ci.yml solely is there to enable mirroring to
https://gitlab.com/rosenpass/rosenpass
2023-06-30 23:54:40 +02:00
wucke13
46383bdc4d
Merge pull request #99 from rosenpass/dev/fix-ci
...
add smoke test for devshell and test without nix
2023-06-30 22:31:10 +02:00
wucke13
2805d686e6
default pinpointed macos-13, update nix action
...
This resolves an error with the darwin based builds, where the install
fails. Pinpointing the macos version will prevent random failrue in
the future --- now we have to opt-in to potential breaking changes when
a new macos release is added to the GitHub Actions runners.
relevant error message:
```console
...
---- Reminders -----------------------------------------------------------------
[ 1 ]
Nix won't work in active shell sessions until you restart them.
Could not set environment: 150: Operation not permitted while System Integrity Protection is engaged
Error: Process completed with exit code 150.
```
fixes #100
2023-06-30 22:17:35 +02:00
wucke13
b274519bad
add smoke test for devshell and test without nix
...
This commit adds two new jobs. One checks that `cargo test` runs
through, and second one checking that `cargo test` inside the nix
devshell runs through as well.
fixes #98
2023-06-30 21:23:04 +02:00
wucke13
3086c7fb93
Merge pull request #97 from rosenpass/engler/cargo-build-hotfix
...
fix devshell bug introduced in #90
2023-06-30 21:08:40 +02:00
wucke13
d21e3af1bb
fix broken devShell
...
The use of a fakecmake in the main step of the Rosenpass build removed real CMake from the devShell, essentially breaking cargo build from within it. This commit fixes that, by explicitly placing the real CMake in the devShell's nativeBuildInputs.
2023-06-30 21:03:32 +02:00
wucke13
b0332971df
Merge pull request #89 from rosenpass/dev/update-flake
...
update flake.lock
2023-06-14 20:33:58 +02:00
wucke13
be508b486a
refine CI further
...
- include default jobs
- clean up generator script
- fix wrong dependency estimation for release-package
2023-06-14 19:12:44 +02:00
wucke13
4314a0915a
fix tex build after update
2023-06-14 18:56:12 +02:00
wucke13
0d2ca37bbb
flake.lock: Update
...
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/d8067f4d1d3d30732703209bec5ca7d62aaececc' (2023-01-20)
→ 'github:nix-community/fenix/6e6a94c4d0cac4821b6452fbae46609b89a8ddcf' (2023-06-09)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/6e52c64031825920983515b9e975e93232739f7f' (2023-01-19)
→ 'github:rust-lang/rust-analyzer/9c03aa1ac2e67051db83a85baf3cfee902e4dd84' (2023-06-08)
• Updated input 'flake-utils':
'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
→ 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
• Added input 'flake-utils/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2dea8991d89b9f1e78d874945f78ca15f6954289' (2023-01-06)
→ 'github:NixOS/nixpkgs/81ed90058a851eb73be835c770e062c6938c8a9e' (2023-06-08)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/1bddde315297c092712b0ef03d9def7a474b28ae' (2023-02-15)
→ 'github:NixOS/nixpkgs/ba0f52d80375147840b83f1511599fbe333be3ad' (2023-06-09)
2023-06-14 18:56:12 +02:00
wucke13
7b69afabbc
Merge pull request #90 from rosenpass/dev/overhaul-ci
...
CLI improvements and CI refinery
2023-06-14 18:18:01 +02:00
wucke13
e24172d9b5
move if on upload pdf job in CI
2023-06-10 23:10:59 +02:00
wucke13
d01c96c1de
add i686 system
...
This still excludes static builds due to a bug in oqs-sys.
Once oqs-sys is bumped to use liboqs 0.8, full 32 bit x86 support is viable.
2023-06-10 16:00:12 +02:00
wucke13
4a3b59fd15
refine cli of exchange command
...
This implements feedback from #87 on ambiguities of the CLI
2023-06-10 04:03:55 +02:00
wucke13
11d60bcced
add GH-Actions based CI with cachix
2023-06-10 03:44:02 +02:00
wucke13
73a8489232
add private-key argument to cli parser
...
- fixes #72
2023-06-09 22:20:24 +02:00
Karolin Varner
2ac2c84c71
Trigger Website upload CI
2023-06-02 09:28:33 +02:00
Karolin Varner
a0f79478cc
Trigger upload-doc CI job
2023-06-02 09:28:33 +02:00
Karolin Varner
7e6985fdc6
fix: Revert spell correction zeroized -> zeroed
...
This is an established term.
2023-06-01 11:51:27 +02:00
Steffen Vogel
b958eacaae
fix: Typos in Rust code, readme and man pages
2023-06-01 11:51:27 +02:00
Karolin Varner
397a776c55
fix: Race condition due to concurrent handshake
...
After establishing a session in responder role, the peer
should abort ongoing handshakes in initiator role.
Also adds an extra wait period before creating an
initiation if peer had been the initiator in the previous
handshake. This makes sure that unless there are huge latencies,
there are no concurrent handshakes in the first place.
Fixes : #43
2023-05-26 11:46:00 +02:00
Karolin Varner
19fe7360d2
fix: Git directory detection should not print an error if we are not in a git repo
2023-05-26 11:46:00 +02:00
Karolin Varner
b29720b0c6
fix: Formatting
2023-05-23 22:26:56 +02:00
Karolin Varner
78e32a6f14
fix: Show cargo fmt errors
2023-05-23 22:26:56 +02:00
Karolin Varner
5f78857ff5
fix: Show warnings from git directory detection
2023-05-23 11:36:20 +02:00
Karolin Varner
69f62673a5
fix: Reintroduce ability to actually supply wireguard with keys
...
Regression introduced in b99d072879
due to forgetfullness
2023-05-23 11:26:01 +02:00
Karolin Varner
097fd0332d
chore: Upgrade crate dependencies
2023-05-23 11:24:39 +02:00
Mullana
303c5a569c
"key chaining..." to "chaining key..." (fixed)
2023-05-23 08:58:24 +02:00
Karolin Varner
7aa48b95af
fix: Escape uses of angle brackets and pointy brackets in documentation
...
This was a regression introduced in b99d072879
which went unnoticed because of the broken CI
https://github.com/rosenpass/rosenpass/issues/62
2023-05-23 08:54:53 +02:00
Karolin Varner
229224d078
fix: Restore QC/doc CI job to operation
...
https://github.com/rosenpass/rosenpass/issues/62
https://github.com/rust-lang/rust/issues/108378
2023-05-23 08:54:53 +02:00
Karolin Varner
e12cd18a42
fix: Disable broken CI jobs
...
These are cross compilation static build jobs
which are nice to have but non-essential.
https://github.com/rosenpass/rosenpass/issues/62
2023-05-23 08:54:53 +02:00
Mullana
0b1a00a32e
key chaining..." to "chaining key... (svg)
2023-05-23 00:30:00 +02:00
Mullana
7c3cd1acf6
"key chaining..." to "chaining key..."
2023-05-23 00:23:29 +02:00
Karolin Varner
3856d774ff
chore: Move slides into their own repo
2023-05-22 11:43:31 +02:00
Karolin Varner
62fab066d4
feat: Restart host discovery on connection loss
...
This will retry other sockets and the host-name given on the
command-line when a connection loss is detected.
2023-05-22 11:42:51 +02:00
Karolin Varner
9469b62f58
fix: Host-path discovery
...
When rosenpass is started, we either know no peer address or we know a
hostname. How to contact this hostname may not be entirely clear because
we now have multiple sockets we could send on and DNS may return
multiple addresses.
To robustly handle host path discovery, we try each
socket-ip-combination in a round robin fashion; the struct stores the
offset of the last used combination internally and and will continue
with the next combination on every call.
2023-05-22 11:42:51 +02:00
Karolin Varner
f8bea94330
fix: Always send messages to a peer using the socket they contacted us with
...
To implement this it was necessary to introduce an `Endpoint` abstraction
over SocketAddr's that includes the information which socket was used.
2023-05-22 11:42:51 +02:00
Karolin Varner
f3c343c472
fix: Handle the various possible dual-stack configurations reliably
2023-05-22 11:42:51 +02:00
Karolin Varner
7154af52f9
chore: Indicate that the listen parameter can be given multiple times in the help
2023-05-22 11:42:51 +02:00
Karolin Varner
e03fed404f
chore: Cleanup unneccesary debug output
2023-05-22 11:42:51 +02:00
Karolin Varner
42798699e4
fix: Adjust the rp(1) script to support the new rosenpass(1) command line parameters
...
The previous commit still introduces breaking changes;
this means we are now developing a 1.x.x version instead
of a 0.x.x version. We will create a 0.x.x development branch
where we might backport some of the features we are introducing now
2023-05-22 11:42:51 +02:00
wucke13
b99d072879
major rewrite of application server & frontend
...
- adds TOML based configuation files
- with example configuratios in config-examples
- reimplments arcane CLI argument parser as automaton
- adds a new CLI focused arround configuration files
- moves all file utility stuff from `main.rs` to `util.rs`
- moves all AppServer stuff to dedicated `app_server.rs`
- add mio for multi-listen-socket support (should fix #27 )
- consistency: rename private to secret
2023-05-22 11:42:51 +02:00
wucke13
d5b2a9414f
Merge pull request #53 from emilengler/invoke-man
...
invoke `man(1)` when requesting help
2023-04-27 09:32:43 +02:00
Emil Engler
13cc7e05ed
invoke man(1) when requesting help
...
This commit invokes `man(1)` when requesting help and emits the built-in
manual, if the manual page is not found on the system.
2023-04-25 14:54:30 +02:00
wucke13
096c811491
Merge pull request #58 from AliceOrunitia/alice/doc-upload
...
Alice/doc upload
2023-04-24 11:47:29 +02:00
wucke13
cefe9ce762
Merge pull request #59 from rosenpass/dev/use-naersk
...
move to naersk + fenix
2023-04-23 22:05:05 +02:00
wucke13
378fddb645
fix or exclude failing CI actions
...
Due to https://github.com/open-quantum-safe/liboqs-rust/issues/202 it is not
yet possible to build the static Rosenpass version for `i686`. The CI actions
which fail for this reason have been excluded for now. Further on, some
the workflow names have been shortened for better overview.
2023-04-23 17:19:31 +02:00
wucke13
695ef6a769
replace pkgs.rustPlatform with naersk + fenix
...
Now that fenix + naersk are used, we don't have the problem of hour-long
builds of a `pkgsStatic.rustc` running in qemu-aarch64. Thus, we can now
finally add these without a big penalty in CI runtime. In addition to
that, the i686 target is added as well.
2023-04-23 00:03:31 +02:00
Alice Bowman
b4d74d64f7
feat(website): upload man pages to website
2023-04-22 15:32:49 +02:00
Emil Engler
0456ded6b9
doc: add a manual page for rp(1)
2023-04-15 18:05:23 +02:00
wucke13
838fd19694
Merge pull request #52 from rosenpass/dev/new-release
...
chore: Release rosenpass version 0.1.2-rc.4
2023-04-14 09:40:33 +02:00
wucke13
94d57f2f87
chore: Release rosenpass version 0.1.2-rc.4
2023-04-13 19:52:09 +02:00
Emil Engler
279b3c49fc
doc: add rosenpass.1 manual page
...
This commit adds a manual page for the rosenpass(1) utility written in
mdoc(7).
2023-04-11 20:00:02 +02:00
wucke13
9c40c77f71
Merge pull request #42 from rosenpass/dev/fix-#41
...
fix #41
2023-04-09 18:18:19 +02:00
wucke13
c79dffa627
fix #41
...
Adds a check for empty messages as well as unit test verifying that
empty messages are handled as desired.
2023-04-09 17:54:51 +02:00
wucke13
b8f19c5510
remove multimatch macro and fix typo
2023-04-09 17:52:41 +02:00
wucke13
f459b91abf
fix documentation
2023-04-09 17:52:41 +02:00
wucke13
801ce4cd34
add check for broken documentation to qc workflow
2023-04-09 17:52:41 +02:00
wucke13
a36da78bc8
Merge pull request #38 from rosenpass/dev/fix-small-todos
...
improve documentation
2023-04-05 16:54:05 +02:00
wucke13
df02f616bf
remove code format snowflakes
...
this also enables the `cargo fmt` check in the flake
2023-04-05 16:35:31 +02:00
wucke13
87b08bcee1
rename SKEM -> StaticKEM & EKEM -> EphemeralKEM
2023-04-05 16:35:26 +02:00
wucke13
897fa3daf6
improve documentation
...
- fix key-exchange doctest example
- add more info on the CryptoServer struct
- add more doc-strings
2023-04-04 22:13:23 +02:00
wucke13
953b861b4c
add rustfmt::skip attributes on _special_ code
...
related to https://github.com/rust-lang/rustfmt/issues/4306
2023-04-04 22:13:23 +02:00
wucke13
1a61a99575
rename protocol::Server -> protocol::CryptoServer
2023-04-04 22:13:12 +02:00
Karolin Varner
25a7a0736b
feat(papers): Reorder RWPQC slides
2023-03-24 18:09:21 +09:00
Marei (peiTeX)
844e9b3c7e
support abstract only documents
2023-03-22 15:39:54 +09:00
Karolin Varner
a723951c71
feat(papers): CrossFyre 2023 Submission abstract
2023-03-22 15:39:54 +09:00
Marei (peiTeX)
be9ac58bf9
enlarge images
2023-03-20 23:49:02 +09:00
Marei (peiTeX)
75853159fe
fix enquote
2023-03-20 23:49:02 +09:00
Marei (peiTeX)
95aba257fd
fix node alignment
2023-03-20 23:49:02 +09:00
Karolin Varner
34d0bab5c5
feat(papers): Add RWPQC 23 slides
2023-03-20 23:49:02 +09:00
Mullana
91d1986126
transparent background for key exchange CMYK PDF
2023-03-20 11:58:32 +01:00
Mullana
319785cf6e
Transparent Background für key exchange RGB PDF
2023-03-20 11:50:29 +01:00
Marei (peiTeX)
df5a6125cd
small layout adjustments
2023-03-17 17:44:04 +01:00
Marei (peiTeX)
80697e6189
relative postioning in tikzpictures
2023-03-17 17:44:04 +01:00
Marei (peiTeX)
6212153c48
choose rgb images for slides
2023-03-17 17:44:04 +01:00
Marei (peiTeX)
4645ed5569
rule to rosenpass-pink
2023-03-17 17:44:04 +01:00
Karolin Varner
2aeb9067e2
feat(papers): Add YRCS talk slides
2023-03-17 17:44:04 +01:00
Benjamin Lipp
c64917fe2e
Add LaTeX beamer template for talk
2023-03-17 17:44:04 +01:00
Karolin Varner
a011cc1e1c
fix(whitepaper): Rollback adding an article to state, acknowledgement and replay
...
All of these are abstract so these are – in my view – zero articles.
https://www.toppr.com/guides/english/articles/omission-of-the-article
2023-03-09 07:57:31 +01:00
timothy mellor
ad75d2218c
Lektorat für whitepaper
2023-03-09 07:57:31 +01:00
wucke13
566795afd2
Merge pull request #25 from rosenpass/dev/karo/remove_research_warning
...
fix(usage): Remove warning about this being a research project
2023-03-08 21:52:28 +01:00
Karolin Varner
8eea5284bf
fix(usage): Remove warning about this being a research project
2023-03-04 22:24:09 +01:00
Emil Engler
df00c1987c
fix typos
2023-03-04 22:15:32 +01:00
wucke13
becc8c057a
Merge pull request #17 from rosenpass/dev/karo/kem_is_mechanism
...
chore: Consistently use the term `Key Encapsulation Mechanism`
2023-02-28 19:18:08 +01:00
wucke13
1625d94b71
Merge pull request #16 from rosenpass/dev/karo/asset_license
...
Dev/karo/asset license
2023-02-28 18:37:25 +01:00
Karolin Varner
a62405190e
chore: Consistently use the term Key Encapsulation Mechanism
2023-02-27 21:37:56 +01:00
Karolin Varner
5afa6c19a6
feat: Add licensing infos
2023-02-27 21:28:14 +01:00
Karolin Varner
ecc1b75b00
chore: Delete outdated illustrations
2023-02-27 21:27:44 +01:00
wucke13
fe80792873
add proper flagging of prerelease and draft in CI
2023-02-27 21:15:13 +01:00
Marei (peiTeX)
3fc28a0b70
whitepaper-release
2023-02-27 13:21:28 +01:00
wucke13
97f5d75838
chore: Release rosenpass version 0.1.1
2023-02-25 23:34:40 +01:00