Prabhpreet Dua
d0a6e99a1f
feat: Regression CI based on misc/generate_configs.py
2024-07-08 13:54:26 +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