From b202ef1b1e12491980a3e609a392d91181e9ff36 Mon Sep 17 00:00:00 2001 From: hankhill19580 <hankhill19580@gmail.com> Date: Tue, 21 May 2019 18:37:11 +0000 Subject: [PATCH] fix the syntax error I missed in the blog post --- i2p2www/blog/2019/05/20/help-bootstrap-bote.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/i2p2www/blog/2019/05/20/help-bootstrap-bote.rst b/i2p2www/blog/2019/05/20/help-bootstrap-bote.rst index 9a52c44ba..5be9b4369 100644 --- a/i2p2www/blog/2019/05/20/help-bootstrap-bote.rst +++ b/i2p2www/blog/2019/05/20/help-bootstrap-bote.rst @@ -96,8 +96,10 @@ order to do this properly, one must take the following steps: character set into binary. 2. Second, take bytes 386 and 387 and convert them to a single Big-Endian integer. -3. Add the number you computed from the two bytes in step two to 387. -4. Take that nummber of bytes from the front of the full destination. +3. Add the number you computed from the two bytes in step two to 387. This is + the length of the base64 destination. +4. Take that nummber of bytes from the front of the full destination to get + the destination as a range of bytes. 5. Convert back to a base64 representation using i2p's base64 character set. @@ -138,7 +140,6 @@ I2P on Debian: {%- endtrans %} {%- trans %} - :: sudo -u i2psvc head -c 516 /var/lib/i2p/i2p-config/i2pbote/local_dest.key @@ -146,11 +147,12 @@ I2P on Debian: {%- endtrans %} {%- trans %} + Or, if I2P is installed as your user: + {%- endtrans %} {%- trans %} - :: head -c 516 ~/.i2p/i2pbote/local_dest.key -- GitLab