using -Werror is probably more robust there
[mkp224o.git] / README.txt
blob946d4ae49f309a0e2cb7102182e735e4458d6ce1
1 mkp224o - vanity address generator for ed25519 onion services
3 This tool generates vanity ed25519 (hidden service version 3, formely known as proposal 224) onion addresses.
4 For context, see <https://gitweb.torproject.org/torspec.git/plain/rend-spec-v3.txt>.
6 REQUIREMENTS:
7 C99 compatible compiler, libsodium, GNU make, GNU autoconf, UNIX-like platform (currently tested in Linux and OpenBSD).
9 BUILDING:
10 `./autogen.sh` to generate configure script, if it's not there already.
11 `./configure` to generate makefile; in *BSD platforms you probably want to use
12 `./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"`.
13 You probably also want to pass something like "--enable-amd64-51-30k"
14 or "--enable-donna" to configure script for faster key generation;
15 run `./configure --help` to see all available options.
16 Finally, `make` to start building (`gmake` in *BSD platforms).
18 USAGE:
19 Generator needs one or more filters to work.
20 It makes directory with secret/public keys and hostname
21 for each discovered service. By default root is current
22 directory, but that can be overridden with -d switch.
23 Use -s switch to enable printing of statistics, which may be useful
24 when benchmarking different ed25519 implementations on your machine.
25 Use -h switch to obtain all available options.
26 I highly recommend reading OPTIMISATION.txt for performance-related tips.
28 CONTACT:
29 For bug reports/questions/whatever else, email cathugger at cock dot li.
30 PGP key, if needed, can be found at <http://cathug2kyi4ilneggumrenayhuhsvrgn6qv2y47bgeet42iivkpynqad.onion/contact.html>.
32 ACKNOWLEDGEMENTS & LEGAL:
33 To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
34 You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
36 keccak.c is based on <https://github.com/gvanas/KeccakCodePackage/blob/master/Standalone/CompactFIPS202/Keccak-more-compact.c>.
37 ed25519/{ref10,amd64-51-30k,amd64-64-24k} are adopted from SUPERCOP <https://bench.cr.yp.to/supercop.html>.
38 ed25519/ed25519-donna adopted from <https://github.com/floodyberry/ed25519-donna>.
39 Idea used in main.c' dofastwork() is stolen from <https://github.com/Yawning/horse25519>.
40 base64 routines and initial YAML processing work contributed by Alexander Khristoforov <heios@protonmail.com>.