Clara Engler
ac17ad2d77
rosenpass: Remove dead MockBroker code
...
Fixes #372
2024-07-22 00:23:53 +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