Key generate issue (wodSSHServer)
wodSSHDComLIB::ISSHKeyPairPtr keys;
keys = pwodSSH->GetKeys();
_bstr_t name = "mykey.rsa";
_variant_t var;
var.vt = VT_I2;
var.iVal = 2048;
var.vt = VT_ERROR;
keys->raw_Generate(wodSSHDComLIB::RSAkey,var);
keys->raw_Save(wodSSHDComLIB::RSAkey,name,var);
I fail to generate 2048 bit RSA key with above code,the key generated is 1024 bit
Complete thread:
- Key generate issue - wineggdrop, 2017-09-12, 12:45
- Key generate issue - Jasmine, 2017-09-12, 12:46