Karolin Varner
972e82b35f
chore: Move kems out of rosenpass crate
2023-12-02 10:42:13 +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
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
7bda010a9b
chore: Move Public and debug_crypto_array into secret-memory crate
2023-12-01 18:11:05 +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
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
99634d9702
chore: Move sodium init integration into rosenpass-sodium 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
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
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
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
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
91d0592ad6
update oqs-sys from 0.7.2 to 0.8.0
2023-08-23 11:32:51 +02:00
Karolin Varner
097fd0332d
chore: Upgrade crate dependencies
2023-05-23 11:24:39 +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
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
94d57f2f87
chore: Release rosenpass version 0.1.2-rc.4
2023-04-13 19:52:09 +02:00
wucke13
97f5d75838
chore: Release rosenpass version 0.1.1
2023-02-25 23:34:40 +01:00
wucke13
aa15872f2b
chore: Release rosenpass version 0.1.1-rc.7
2023-02-25 23:21:35 +01:00
wucke13
1d10e7f036
chore: Release rosenpass version 0.1.1-rc.6
2023-02-25 23:10:25 +01:00
wucke13
f4c351c74b
chore: Release rosenpass version 0.1.1-rc.5
2023-02-25 19:53:38 +01:00
wucke13
4b4902cacd
chore: Release rosenpass version 0.1.1-rc.4
2023-02-25 13:47:30 +01:00
wucke13
8313a61cc7
chore: Release rosenpass version 0.1.1-rc.3
2023-02-24 20:37:03 +01:00
wucke13
d50c3fc33a
chore: Release rosenpass version 0.1.1-rc.2
2023-02-24 16:42:05 +01:00
wucke13
463ec7b5b7
add correct readme to Cargo.toml metadata
2023-02-24 12:51:56 +01:00
wucke13
e34610ac8b
chore: Release rosenpass version 0.1.1-rc.1
2023-02-24 11:30:22 +01:00
wucke13
036eeffbbb
add even more metadata to Cargo.toml
...
Also just parse the `Cargo.toml` for the nix `meta` attribute.
2023-02-24 10:51:00 +01:00
wucke13
209aff0fb7
add more metadata to Cargo.toml
2023-02-24 10:13:15 +01:00
Karolin Varner
4e72c52ca0
add Rosenpass, the tool
...
Initial implementation of the Rosenpass tool, implemented by @koraa.
Includes contributions and some lints from @wucke13.
Co-authored-by: wucke13 <wucke13@gmail.com >
2023-02-23 20:45:56 +01:00