WinSCP for ED25519 public key - ssh

I was trying to connect the server with my ED25519 public key, but it seems WinSCP doesn't support it, so the question is, how can I convert the key to the one supported by WinSCP?

WinSCP supports ED25519 key since beta 5.8.1 version. Try to download this version and it should work for you.
You can use different key types if you generate new pair. You can't convert ED25519 key to RSA (for example). They are completely different and there is no way how to get one from the other.

Related

How do you transition from MD5 authentication to SHA1 for NTP?

Does anyone know how to transition authentications on NTP? I've done copious amounts of research, none being fruitful. For example, NTP currently using MD5, how do you move over to SHA1?
NTP if compiled along with OPENSSL libraries, then NTP uses OPENSSL libraries for cryptographic operations.
Then you can use different types of message digest algorithms supported by OPENSSL. This is a link which explains configuring ntp key file.
The key file where the keys will be present should be added to the /etc/ntp.conf file.
The keys to be used for generating the digest will be present under
/etc/ntp/keys . This path should be added to /etc/ntp.conf file to specify that this is the keys file.
The structure of the entry in the file will be
This is an example of the keys file
You can mention the keytype as "SHA1" to use SHA1 authentication.
Further details about the length of the digest and keys can be found here:
https://www.eecis.udel.edu/~mills/ntp/html/authentic.html
You can have multiple keys one next to the other.
SO:
first add the new key everywhere
delete the old key once it's added everywhere.

Not able to Authenticate using RSA 2048 Keys

As I am doing my routine penetration testing and found the vulnerability in which OpenSSH have weak RSA-2048 and DSA-1024 keys.
So, I have downloaded the exploit for the same and got some weak keys.
Now, when I am trying to authenticate into the system using RSA private key/ Public key. It still ask me for the password.
I have used the way
ssh -i /my/keys/location user#IPaddress
But, the conceptually, while using RSA keys for the authentication, it should not ask for the password.
May be you will think that, the RSA keys are not present in authorized_keys
The keys are founded by using bruteforcing so they are present in authroized_keys.
Any comment or suggestion regarding the same are most welcome.
Regards

How to convert generated Private Key in Openssh format to integrate subversion in IDEA IDE

I needed to generate a private/public key that is in openssh format to have me integrate subversion repository to IntelliJ. I have used puttyKeygen.exe already to generate a initial key. But while integrating in IntelliJ, its failing me to authenticate with a same Private key.
How can I convert the Putty generated private/public initial key to an openssh format. As I read, that the Subversion integration in IntelliJ uses the Cygwin/openssh format of the private key.
P.S: I have tried puTTykeygen to do the same but no luck! IDEA IDE still fails to authenticate.
Anyone who can shed some light on it would be really helpful.
Thanks!
EDIT
After going through the following steps to create an Openssh private key :
puttygen has a menu: Conversion -> Export OpenSSH Key That will save the private key to the openssh format.
I have again tried integrating the IDEA using the same key that got generated using above mentioned direction. and got myself failed with the same message saying authentication failed!
I am assuming, the key I obtained is either not openssh format or is there anything I am proceeding wrong with a integration. Could anyone please let me know what possibly could be the reason of me not able to integrate subversion in IDEA?
Make sure the initial keys that are put to use are one time generated not repeatedly.
Go to Puttykeygen-> conversions-> import the private key(.ppk file) you have generated initially and then-> export openssh key-> save it to the same location and then go to IDEA and follow the below steps:
1. Go to Version control-> Checkout from Version Control-> Subversion and provide the same key and your passphrase.
2. click checkout by providing your username.
It should work!

How to obtain PKCS8 RSA Private Key from string / obtain RSA key pair from XML

Recently, I have to convert an java project related to rsa/des encryption into an iOS project. The provided rsa key strings are from x.509 and PKCS8, however, security.framework only support PKCS12. I've been searching for libraries a long time, but it seems that currently there are not any objective-c libraries that support PKCS8. (I don't want to use Chilkat for some reasons)
The origin version of the project was written in C# which uses an XML string to generate RSA public/private key pair. I guess that generate rsa key pair by myself might be a better solution. Thus, my question is, are there any methods to convert rsa xml data to standard pem key format? Or there are other existing libraries that supports PKCS8?
Hubert
If you can convert the keys at compile time, you can use OpenSSL to do so that it can convert between virtually any certificate / private key formats. Then you embed the certificates in the application bundle in PKCS12.

Generate valid openssh ssh key under windows

I've some persons that are under windows, and they need a public/private RSA keys pair in order to get them authenticated to gistosis, a GIT server. We use SmartGit as our GIT GUI, and this tool require the private key to be in the format of OpenSSH.
Using puttyGen, I've been able to get a openssh public key, that is printed in the window, but not a private key. I can only save a private key using the Save button, and it save a format that is not like the one we have using the *nix tool.
How can we use windows tool in order to generate a VALID openssh compatible public and private key ?
Thanks.
puttygen has a menu: Conversion -> Export OpenSSH Key That will save the private key to the openssh format.