Browse Source

update keygen to use type 7 by default

pull/66/head
R4SAS 3 years ago committed by GitHub
parent
commit
2ff7a9f726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      keygen.cpp

2
keygen.cpp

@ -13,7 +13,7 @@ int main (int argc, char * argv[]) @@ -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);

Loading…
Cancel
Save