The source code is published under GPLv3 with OpenSSL exception, the license is available here.
ton-blockchain / tonkeygen Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
The source code is published under GPLv3 with OpenSSL exception, the license is available here.
CMake Error at tonlib/CMakeLists.txt:137 (install):
install TARGETS given target "tdnet" which does not exist in this
directory.
Hi!
Tried to enter valid mnemonic to tonkeygen and tonkeygen mnemonic to external tool.
In both cases tools say that mnemonic is invalid (seems like some checksum is not correct)
Ton mnemonics have different generation flow? not BIP39?
If so, why you don't use default BIP39 and what is the difference.
Thanks in advance!
I see from code things like 'TLgetBip39Hints' and suppose that it creates BIP39 mnemonics but it is not.
Was your intention indeed to create BIP39 mnemonic or not?
Is it supposed to be Ed255519 key pair encoded into this mnemonic?
Hey, what is the format of the pub key which is saved after application execution?
I suggested that it would be base64 but it is not.
Greetings.
I've tried to compile this code on:
The error I got everywhere is:
ssl/qsslcertificate_openssl.cpp: In function ‘uint qHash(const QSslCertificate&, uint)’:
ssl/qsslcertificate_openssl.cpp:63:30: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QByteArray QSslCertificate::version() const’:
ssl/qsslcertificate_openssl.cpp:87:68: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QByteArray QSslCertificate::serialNumber() const’:
ssl/qsslcertificate_openssl.cpp:96:45: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
ssl/qsslcertificate_openssl.cpp: In member function ‘QSslKey QSslCertificate::publicKey() const’:
ssl/qsslcertificate_openssl.cpp:232:32: error: invalid use of incomplete type ‘X509’ {aka ‘struct x509_st’}
X509_PUBKEY *xkey = d->x509->cert_info->key;
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:120:16: note: forward declaration of ‘X509’ {aka ‘struct x509_st’}
typedef struct x509_st X509;
^~~~~~~
ssl/qsslcertificate_openssl.cpp:236:29: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:240:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:245:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
ssl/qsslcertificate_openssl.cpp:250:36: error: invalid use of incomplete type ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
^~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:17,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:53,
from ../../include/QtNetwork/5.6.2/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:55,
from ssl/qsslsocket_openssl_p.h:63,
from ssl/qsslsocket_openssl_symbols_p.h:64,
from ssl/qsslcertificate_openssl.cpp:35:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’}
typedef struct evp_pkey_st EVP_PKEY;
^~~~~~~~~~~
make[3]: *** [Makefile:22107: .obj/qsslcertificate_openssl.o] Error 1
make[3]: Leaving directory '/home/sb/Libraries/qt5_6_2/qtbase/src/network'
make[2]: *** [Makefile:244: sub-network-make_first] Error 2
make[2]: Leaving directory '/home/sb/Libraries/qt5_6_2/qtbase/src'
make[1]: *** [Makefile:46: sub-src-make_first] Error 2
make[1]: Leaving directory '/home/sb/Libraries/qt5_6_2/qtbase'
make: *** [Makefile:44: module-qtbase-make_first] Error 2
Any clues? Should I try to compile this on Ubuntu 14.04 in docker?
Thanks.
As It's quite uneasy to successfully build this project on modern hardware; having a distro-agnostic packages would be super nice:
Also it would be really great to have following packages:
Done:
Would somebody provide at least some of the packages?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.