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
v0.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