Commit Graph
40 Commits
Author SHA1 Message Date
Karolin VarnerandKarolin Varner 2ac2c84c71 Trigger Website upload CI 2023-06-02 09:28:33 +02:00
Karolin VarnerandKarolin Varner a0f79478cc Trigger upload-doc CI job 2023-06-02 09:28:33 +02:00
Karolin VarnerandKarolin Varner 7e6985fdc6 fix: Revert spell correction zeroized -> zeroed
This is an established term.
2023-06-01 11:51:27 +02:00
Karolin VarnerandKarolin 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 VarnerandKarolin 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 VarnerandKarolin Varner b29720b0c6 fix: Formatting 2023-05-23 22:26:56 +02:00
Karolin VarnerandKarolin 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
Karolin VarnerandKarolin 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 VarnerandKarolin 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 VarnerandKarolin 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
Karolin VarnerandKarolin Varner 3856d774ff chore: Move slides into their own repo 2023-05-22 11:43:31 +02:00
Karolin VarnerandKarolin 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 VarnerandKarolin 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 VarnerandKarolin 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 VarnerandKarolin Varner f3c343c472 fix: Handle the various possible dual-stack configurations reliably 2023-05-22 11:42:51 +02:00
Karolin VarnerandKarolin 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 VarnerandKarolin Varner e03fed404f chore: Cleanup unneccesary debug output 2023-05-22 11:42:51 +02:00
Karolin VarnerandKarolin 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
Karolin Varner 25a7a0736b feat(papers): Reorder RWPQC slides 2023-03-24 18:09:21 +09:00
Karolin VarnerandKarolin Varner a723951c71 feat(papers): CrossFyre 2023 Submission abstract 2023-03-22 15:39:54 +09:00
Karolin VarnerandKarolin Varner 34d0bab5c5 feat(papers): Add RWPQC 23 slides 2023-03-20 23:49:02 +09:00
Karolin VarnerandMarei (peiTeX) 2aeb9067e2 feat(papers): Add YRCS talk slides 2023-03-17 17:44:04 +01:00
Karolin VarnerandKarolin Varner a011cc1e1c fix(whitepaper): Rollback adding an article to state, acknowledgement and replay
All of these are abstract so these are – in my view – zero articles.
https://www.toppr.com/guides/english/articles/omission-of-the-article
2023-03-09 07:57:31 +01:00
Karolin Varner 8eea5284bf fix(usage): Remove warning about this being a research project 2023-03-04 22:24:09 +01:00
Karolin Varner a62405190e chore: Consistently use the term Key Encapsulation Mechanism 2023-02-27 21:37:56 +01:00
Karolin Varner 5afa6c19a6 feat: Add licensing infos 2023-02-27 21:28:14 +01:00
Karolin Varner ecc1b75b00 chore: Delete outdated illustrations 2023-02-27 21:27:44 +01:00
Karolin Varner aaf79beef3 feat: Give thanks to NLNet 2023-02-24 13:07:29 +01:00
Karolin VarnerandGitHub 641f0dc7f0 Merge pull request #4 from rosenpass/dev/karo/rp-path-fix
Dev/karo/rp path fix
2023-02-24 13:02:44 +01:00
Karolin Varner 55e4fc7e9a fix: Support for absolute paths in rp
This was not a very functional way of removing trailing slashes.

Fixes: #3
2023-02-24 11:46:30 +01:00
Karolin Varner 22c238764a feat: rp now detects rosenpass binary in nix builds 2023-02-24 11:43:08 +01:00
Karolin VarnerandGitHub ca1e3b251b Renamed the quickstart anchor in the rosenpass website 2023-02-24 09:54:32 +01:00
Karolin Varner 83d5f379de fix: Proofreading of whitepaper 2023-02-23 22:58:24 +01:00
a5b8f3b79b add whitepaper
This was primarily written by @koraa & @blipp. @TeXhackse made sure that
the LaTeX flow worked seamless, while @Mullana provided illustrations
for all technical details. @ajuvo & @wucke13 provided reviews for the
text.

Co-authored-by: Benjamin Lipp <blipp@mailbox.org>
Co-authored-by: Marei (peiTeX) <marei@peitex.de>
Co-authored-by: Mullana <60528244+Mullana@users.noreply.github.com>
Co-authored-by: ajuvo <ajuvo@c-base.org>
Co-authored-by: wucke13 <wucke13@gmail.com>
2023-02-23 20:46:56 +01:00
137cd5e85a add proverif analysis of Rosenpass, the protocol
The analysis was conducted as joint effort between @koraa and @blipp.

Co-authored-by: Benjamin Lipp <blipp@mailbox.org>
2023-02-23 20:46:22 +01:00
Karolin Varnerandwucke13 2a917de6d8 add marzipan, a dialect of proverif 2023-02-23 20:46:17 +01:00
Karolin Varnerandwucke13 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