mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-01-22 13:27:17 +01:00
update keygen to use type 7 by default
This commit is contained in:
parent
89e569e54e
commit
2ff7a9f726
|
@ -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…
Reference in a new issue