Emil Engler
959cd50ef6
Merge pull request #113 from rosenpass/dev/ci/shellcheck
2023-08-23 16:09:05 +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