update keygen to use type 7 by default

This commit is contained in:
R4SAS 2021-02-02 15:02:35 +03:00 committed by GitHub
parent 89e569e54e
commit 2ff7a9f726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ int main (int argc, char * argv[])
return -1;
}
i2p::crypto::InitCrypto (false, true, true, false);
i2p::data::SigningKeyType type = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1;
i2p::data::SigningKeyType type = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;
if (argc > 2) {
std::string str(argv[2]);
type = NameToSigType(str);