1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-16 03:44:56 +02:00
No description
Find a file
2019-12-23 15:05:38 +01:00
.github/workflows .github/workflows/ci.yml: run on all branches except master 2019-12-20 15:11:49 +01:00
scripts Adding scripts/generate_deb.sh.in 2019-12-23 15:05:38 +01:00
src src/main.cpp: search(): trim each string in word_list. 2019-12-20 14:30:28 +01:00
.gitignore Initial Commit 2019-12-19 14:35:20 +01:00
build.sh Initial Commit 2019-12-19 14:35:20 +01:00
CMakeLists.txt CMakeLists.txt: add "scripts/generate_deb.sh.in" in the build. 2019-12-23 15:05:38 +01:00
install.sh Initial Commit 2019-12-19 14:35:20 +01:00
LICENSE Initial Commit 2019-12-19 14:35:20 +01:00
LICENSE.bitcoin Initial Commit 2019-12-19 14:35:20 +01:00
README.md Initial Commit 2019-12-19 14:35:20 +01:00
uninstall.sh Initial Commit 2019-12-19 14:35:20 +01:00

EOSIO Keygen

This program generates public and private keypair for EOS

Compile

You will need openssl development files (version 1.1 or later) to compile and cmake to compile this project.

Linux/MacOS

Dependencies

Ubuntu:

$ apt-get install libssl-dev cmake

For other linux distributions:

Consult the manual for how to get these installed.

MacOS:

$ brew install openssl cmake

Build

After you just need to run ./build.sh to trigger the whole build.

If you dont want to use the script. you can build with cmake using the following commands:

$ mkdir build && cd build
$ cmake .. && make

MacOS: You may need to point cmake to openssl by passing the argument -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1 if openssl is not under /usr/local/opt/openssl@1.1 you need to find the correct path.

Windows

Dependencies

Download and install cmake from cmake.org and download openssl

unpack openssl-1.1.1e-dev.zip somewhere on the filesystem.

You will also need a compiler. Build Tools for Visual Studio 2019 (Selecting C++ during installation) is recommended.

Build.

you need to set OPENSSL_ROOT_DIR to the directory where you unpacked openssl-1.1.1e-dev.zip append x86 if you are on 32-bit system, x64 for 64-bit.

NOTE: cmake uses forward slash / for path even for windows. so make sure you use that when setting OPENSSL_ROOT_DIR

For example:

C:\repo> mkdir build
C:\repo> cd build
C:\repo\build> cmake -D OPENSSL_ROOT_DIR="C:/path/to/openssl-1.1/x86" ..
C:\repo\build> cmake --build . --config Release

Install

After the project has been compiled. run sudo ./install.sh or the following code if you dont want to use that:

# inside the build directory
$ sudo make install

Windows:

It is possible to run cmake --install . from build directory. Your DOS shell needs administrator privileges.

Uninstall

Run sudo ./uninstall.sh or remove the files listed in build/install_manifest.txt manually.

Security notice

Keys are generated by OpenSSL's EC_KEY_generate_key function. The program will never expose your keys to anything but the computers memory and output of the program. You are free to inspect the source code and compile yourself to verify.

However, use this at your own risk. we cannot guarantee that the keys are cryptographically secure as this depends on OpenSSL's implementation (alto it is widely used and should be safe)

Please read the LICENSE file.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author

Henrik Hautakoski - henrik@eossweden.org