I2P Support
24 files changed
+231
-92
91b2fd89
→
ac3eba09
modified CHANGELOG.md
@@ -24,6 +24,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified Cargo.lock
@@ -714,9 +714,9 @@ dependencies = [
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -738,9 +738,9 @@ dependencies = [
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3990,9 +3990,9 @@ dependencies = [
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified Cargo.toml
@@ -25,8 +25,8 @@ bytes = "1.11.1"
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/Cargo.toml
@@ -14,7 +14,8 @@ name = "rad"
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-config.md
@@ -111,12 +111,13 @@ $ rad config schema
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -260,6 +261,10 @@ $ rad config schema
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -383,10 +388,11 @@ $ rad config schema
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/lib.rs
@@ -138,7 +138,7 @@ impl TryFrom<String> for Signature {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -154,12 +154,28 @@ impl TryFrom<String> for Signature {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -176,7 +192,7 @@ impl cyphernet::display::MultiDisplay<cyphernet::display::Encoding> for PublicKe
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -185,24 +201,24 @@ impl cyphernet::EcPk for PublicKey {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -214,7 +230,8 @@ impl SecretKey {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -291,18 +308,6 @@ pub enum PublicKeyError {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -323,13 +328,19 @@ impl fmt::Debug for PublicKey {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -337,7 +348,7 @@ impl TryFrom<&[u8]> for PublicKey {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -352,7 +363,7 @@ impl PublicKey {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -387,7 +398,7 @@ impl FromStr for PublicKey {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -402,14 +413,6 @@ impl TryFrom<String> for PublicKey {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle-crypto/src/ssh.rs
@@ -43,7 +43,9 @@ impl ExtendedSignature {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/ssh/agent.rs
@@ -125,7 +125,7 @@ impl Agent {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -191,7 +191,6 @@ mod test {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -216,7 +215,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -251,7 +250,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/ssh/keystore.rs
@@ -332,7 +332,7 @@ impl MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -345,7 +345,7 @@ impl MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/test/arbitrary.rs
@@ -18,6 +18,6 @@ impl Arbitrary for PublicKey {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified crates/radicle-crypto/src/test/signer.rs
@@ -27,7 +27,9 @@ impl signature::Signer<Signature> for MockSigner {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/Cargo.toml
@@ -10,7 +10,8 @@ build = "build.rs"
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/fingerprint.rs
@@ -68,7 +68,7 @@ impl Fingerprint {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,7 +86,7 @@ impl Fingerprint {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/wire.rs
@@ -21,7 +21,7 @@ use radicle::collections::{RandomMap, RandomSet};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1083,6 +1083,30 @@ pub fn dial<G: Ecdh<Pk = NodeId>>(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1093,27 +1117,11 @@ pub fn dial<G: Ecdh<Pk = NodeId>>(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/Cargo.toml
@@ -9,6 +9,7 @@ edition.workspace = true
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -36,4 +37,4 @@ pastey = "0.2"
|
|
|
|
|
|
| - | |
| + | |
|
modified crates/radicle-protocol/src/service.rs
@@ -2654,11 +2654,18 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire.rs
@@ -14,6 +14,8 @@ use std::string::FromUtf8Error;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -60,6 +62,9 @@ pub enum Invalid {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -175,7 +180,7 @@ impl Encode for u64 {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -266,6 +271,13 @@ impl Encode for cypheraddr::tor::OnionAddrV3 {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -531,6 +543,16 @@ impl Decode for tor::OnionAddrV3 {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/message.rs
@@ -2,6 +2,8 @@ use std::{mem, net};
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -83,6 +85,8 @@ pub enum AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -99,6 +103,8 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -114,6 +120,8 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -366,6 +374,11 @@ impl wire::Encode for Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -405,6 +418,12 @@ impl wire::Decode for Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/Cargo.toml
@@ -11,6 +11,7 @@ rust-version.workspace = true
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -470,11 +470,11 @@ impl TryFrom<&sqlite::Value> for Alias {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -522,6 +522,15 @@ impl Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -542,6 +551,8 @@ impl Address {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address.rs
@@ -203,6 +203,8 @@ pub enum AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -219,6 +221,8 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -234,6 +238,8 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address/store.rs
@@ -537,6 +537,8 @@ impl TryFrom<&sql::Value> for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -552,6 +554,8 @@ impl sql::BindableWithIndex for AddressType {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/config.rs
@@ -278,7 +278,7 @@ pub struct RateLimits {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -289,6 +289,7 @@ pub struct ConnectAddress(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -358,7 +359,7 @@ pub enum Relay {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -561,6 +562,10 @@ pub struct Config {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -618,6 +623,8 @@ impl Config {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/arbitrary.rs
@@ -5,6 +5,8 @@ use std::str::FromStr;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -208,10 +210,14 @@ impl Arbitrary for MockRepository {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -238,10 +244,40 @@ impl Arbitrary for Address {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|