From dfa5a30f9c2bd9a3034aa24df7d77cbf3fa54b01 Mon Sep 17 00:00:00 2001 From: acetoneRu Date: Wed, 2 Jun 2021 13:42:38 -0400 Subject: [PATCH 1/3] gitignore updated --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 94d6982..5754812 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,8 @@ vain b33address offlinekeys regaddr_3ld +verifyhost +x25519 *.exe # private key files From e9223dae8a646e949f38c21db9a6a2b4c6f151da Mon Sep 17 00:00:00 2001 From: acetoneRu Date: Wed, 2 Jun 2021 13:50:38 -0400 Subject: [PATCH 2/3] README updated: dependencies are deleted --- README.md | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) mode change 100644 => 100755 README.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 index b434ce0..1f0c4b4 --- a/README.md +++ b/README.md @@ -11,36 +11,18 @@ Notice: git submodules are used so make sure to clone this repository recursivel ### Dependencies * boost chrono + * boost date-time + * boost filesystem + * boost program-options + * libssl + * zlib1g -```bash - -depend="libboost-chrono-dev \ - libboost-date-time-dev \ - libboost-filesystem-dev \ - libboost-program-options-dev \ - libboost-system-dev \ - libboost-thread-dev \ - libssl-dev \ - zlib1g-dev" -kernel=`uname -a` - -case "$kernel" in -*Ubuntu*) - sudo apt install $depend;; -*debian*) - sudo aptitude install $depend;; -*gentoo*) - sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;; - -*) - echo "Just install libboost and libopenssl dev packages on your pc";; -esac -``` + (run `dependencies.sh`) ### Building @@ -162,3 +144,7 @@ Generate authentication string to register an alias address for existing domain cat auth_string.txt Send output of auth_string to http://reg.i2p/add and http://stats.i2p/i2p/addkey.html + +### x25519 + +Generate key pair with output in base64 encoding. Now the x25519 keys are used for authentication with an encrypted LeaseSet. From e9622a37c148f6b6d1b72e2cd4100e386458f9bb Mon Sep 17 00:00:00 2001 From: acetoneRu Date: Wed, 2 Jun 2021 14:07:10 -0400 Subject: [PATCH 3/3] depend script (Debian fixed, MinGW added) --- dependencies.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 dependencies.sh diff --git a/dependencies.sh b/dependencies.sh new file mode 100755 index 0000000..2b2b7d6 --- /dev/null +++ b/dependencies.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +dependNix="libboost-chrono-dev \ + libboost-date-time-dev \ + libboost-filesystem-dev \ + libboost-program-options-dev \ + libboost-system-dev \ + libboost-thread-dev \ + libssl-dev \ + zlib1g-dev" + +dependWin="mingw-w64-x86_64-boost \ + mingw-w64-x86_64-openssl \ + mingw-w64-x86_64-zlib" + +kernel=`uname -a` + +case "$kernel" in +*Ubuntu*|*Debian*) + sudo apt install $dependNix;; +*gentoo*) + sudo emerge --deep --newuse dev-libs/boost dev-libs/openssl;; +*MINGW64*) + pacman -S $dependWin;; +*) + echo "Just install libboost and libopenssl dev packages on your pc";; +esac