Questions tagged [rsa]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

Azure virtual server No supported authentication methods available (server sent: publickey)

I have created Ubuntu virtual machine on Azure server. As authentication method I have chosen SSH public key which I copy to init form while machine creating process. It is in one line form like ssh-...
0
votes
1answer
191 views

How to un-encrypt a single encrypted field from a file in Linux (openssl, rsa key)

I have a csv file that I receive every day on Linux. The file itself is NOT encrypted as a whole, but one of the fields is, so it looks something like this: data, data, data, encrypted_data, data, ...
0
votes
0answers
43 views

Accidently deleted “~/.gnupg/pubring.kbx” , how to recover keys

is there is any way to recover the encryption keys in this case, since they really important 1) the issue: i've lost my gpg key identifiers by deleting ~/.gnupg/pubring.kbx , however ~/.gnupg/...
0
votes
1answer
41 views

Does SSH keys stores host informations?

I was wondering if SSH keys stores the host information or if it's possible by any way? As far as I know RSA or ED25519 keys doesn't stores the host information and researches doesn't gave me any ...
0
votes
0answers
77 views

ssh-add with valid RSA key fails

I'm attempting to add an SSH key to the existing www-data user on Ubuntu 18.04. $HOME for www-data is /var/www and the key lives in /var/www/.ssh Permissions for .ssh are 700 The key is epp_deploy ...
0
votes
1answer
143 views

How to manage RSA keypair in TPM2 using Linux

I'm trying to use TPM 2.0 chip in my laptop to manage new pair of RSA keys and create a CSR on top of new private key but when I list certificates managed by my TPM, I got only keys labeled as public ...
0
votes
1answer
65 views

How to list all public RSA .pem file on any machine

Sorry for changing completely my question but I cannot delete it. I hope that reformulating my question will shape a better question. I'm trying to find all public RSA .pem files on Windows/Linux. ...
0
votes
0answers
145 views

Unable to save key file in PuTTYgen

The message unable to save key file is being displayed when saving private key after generating a public/private key pair in PuTTYgen. Is anyone experiencing the same issue?
0
votes
1answer
43 views

Can I Use My OpenSSL CA to Sign My OpenVPN Certificates?

I'm not sure if it sounds like a stupid question but all the guides I've looked at when it comes to making certificates for OpenVPN all use Easy-RSA. Some of my servers such as my NAS, and ...
1
vote
1answer
258 views

OAEP padding for OpenSSL

I'm trying to decrypt a file using a private RSA key using OpenSSL. It keeps giving me the same 3 errors that I believe can be solved by adding oaep padding to it. What is the syntax for adding the ...
0
votes
2answers
35 views

SSH - Key based authentication fails after password prompt

I'm running into SSH errors when connecting to a server as a particular user when using key based authentication with an associated password on the key. This is on an IBM i system. I've added the ...
0
votes
1answer
71 views

SSH asks password even so key has been added

I generated a ssh key for "ansible" user and it works all clients but one has SuSE (SLES) 11.4 OS. Host side ~/.ssh directory content: -rw-------. 1 ansible ansible 1675 May 14 2018 id_rsa -rw-r-...
0
votes
0answers
23 views

How to convert a public key to readable RSA key

Im trying to convert a public key into an rsa key format, is there any easy way to do this online?
1
vote
0answers
119 views

What is C# RSACryptoServiceProvider doing under the hood when Encrypting using RSA?

When I drill down into the .Net source code I cannot find the code that actually runs when rsa.Encrypt is called, maybe it's running code within a DLL because I cannot find where the method is ...
0
votes
1answer
88 views

SFTP/SCP command re-prompts for passphrase

I'm logged into remote unix server and want to transfer file to sFTP. Issue is that entered passphrase is not accepted and constantly re-prompted. This is my setting of folder and RSA file ...
3
votes
1answer
940 views

How to convert an existing private key into ppk format using ssh-keygen?

I have a private key private.key) in format -----BEGIN RSA PRIVATE KEY-----IEpAIBAAKCAQEAvKwuhMiQR/THmjK.....-----END RSA PRIVATE KEY-----, and I am trying to convert it in the format that putty (.ppk)...
1
vote
0answers
23 views

RSA SecurId HTTPS redirect just shows “redirect”

We have set up a site on IIS8 using RSA SecurID. We have clicked "Redirect HTTP Connections to Secure Server" and "Require Secure Connection to Access Protected Pages". However, when we go to http://...
0
votes
1answer
55 views

Nginx server return duplicate intermediate cert when enable both ECC and RSA cert in Nginx

I have configured Nginx to support both ECC and RSA cert in a hybrid mode. After enabling, used below cmd to get the full chain cert from my server: openssl s_client -showcerts -connect server:443 -...
6
votes
0answers
2k views

Generating JWT RS256 signature with openssl

I'm trying to sign a JWT token with the RS256 algorithm using openssl. Take the following example token: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9....
0
votes
1answer
67 views

Verify Sha256Rsa message

I have a plaintext, rsaSignature (in hex) and a cert (.cer) How can i verify the rsasignature with the plaintext and cert given. I know that i am required to extract the public key from the cert. I ...
0
votes
1answer
838 views

Attempt to encrypt plain text with RSA public key throws error “unable to load Public Key”

I received an RSA public key from a colleague by way of a pem file: -----BEGIN RSA PUBLIC KEY----- MIIBCgKCAQEAwGbtPQW6k1S1N8GM4UDxwexV4M+5BHcjs/l397/Mjt/J9+yL4PMw cdLTnO/PHwCne3DdWsxHoZA/MIHRF+K/...
1
vote
0answers
534 views

Private RSA vs Openssh key on Cygwin

When I generate a key with Cygwin I get a: -----BEGIN OPENSSH PRIVATE KEY----- but I need a: -----BEGIN RSA PRIVATE KEY----- (2048) I use the command: >ssh-keygen -t rsa -b 2048 How do I ...
0
votes
1answer
79 views

SSH doesn't prompt for host authenticity, when connecting through jump-host first time

There is a jump host, called via ProxyCommand, to access some servers. In the .ssh/config file there is a Host definition for each server and the command for the jumphost (with %r and %h coming from ...
0
votes
2answers
65 views

Is SSH setup specific to user-id?

If I create a SSH key setup for a abc user, abc can login to a remote server without prompting password. With the same abc SSH setup, can an other user def can also SSH to remote server without ...
0
votes
1answer
518 views

Openssh 7_9: key exchange failed, expected SSH_MSG_KEX_GEX_GROUP

I'm trying to connect from SmartCVS via ssh to a Fedora 29 system but connection fails with an error message "key exchange failed, expected SSH_MSG_KEX_GEX_GROUP". Since SmartCVS is somewhat ...
0
votes
1answer
526 views

Permission denied when connecting via ssh (ipv6)

I use a key to authenticate. When I connect using ipv4 it's working. Using ipv6 I can not login (using password or not). Do I need a seperate rsa-key to manage ipv6 ssh's?
0
votes
1answer
1k views

Hostname in id_rsa.pub file [duplicate]

I've generated an ssh key pair with ssh-keygen. The id_rsa.pub file looks like this: ssh-rsa someLettersAndNumbersABC123 username@host The host part is what bothers me. Currently it comes from the ...
2
votes
0answers
694 views

Convert RSA Private CRT Key to key file

Using the command openssl rsa -in Alice.key -text -inform PEM -noout, it is possible to view a RSA private key's data. My question is that if I have a list of all of the properties (modulus, public ...
1
vote
1answer
1k views

Will stealing private key allow hacker to login to server?

I am trying to understand how rsa public private key pairs work. Lets say there are two servers: Q and A. In order for Q to ssh into A, key pairs are generated without passphrase in Q and public key ...
0
votes
1answer
315 views

How to generate SSH keys for gitlab.com hosted project?

I have a project hosted as private repository on gitlab.com. I want to use gitlab ci/cd to automatically deploy my project to remote server QA_SERVER when code is pushed to master branch. Below is the ...
0
votes
1answer
257 views

How to use public private keys in connecting with multiple servers?

Assume I have 4 servers A, B, C and Z and my desktop is MacBox and there is another developer Adam. I have already generated public private key pairs in my MacBox and copied public key to A so that ...
0
votes
1answer
214 views

Permission denied (publickey)

This has dogged me for years. Two IDENTICAL servers. Logged in to both as 'bob'. Try to ssh from bob@server1 to bob@server2. Permission denied (publickey). On BOTH servers: rm -r ~/.ssh On ...
0
votes
1answer
5k views

Command line not letting me type password in PuTTY

A picture of the screen that I am stuck at: Operating System: Windows 7 Port: 27880 I have been setting up SSH in PuTTY to make my wiki family work, and I have experienced some problems typing the ...
0
votes
1answer
2k views

When trying to convert an SSH file, I got this error: Couldn't load private key (SSH-2 public key (OpenSSH format))

I have downloaded an SSH RSA key .pub file, and I have attempted it to convert it in the PuTTY Key Generator. However, I have had problems with converting it due to an error loading the key. The error ...
0
votes
1answer
102 views

How to connect multiple Virtual machines to SFTP using Key based authentication towards a remote machine

I have set of Virtual Machines (VMWare) and I want to connect to remote SFTP server using public-private key based authentication. Initial transfer of public keys from each of the VMs to remote SFTP ...
0
votes
0answers
70 views

Decrypt SSL traffic with the openssl command line tool 8

For my final steps in my script I followed this to obtain the client encryption key to perform the decryption with. client.random xxd -p crnd.bin ...
0
votes
0answers
137 views

Decrypt SSL traffic with the openssl command line tool 7

Generating the master secret/key I followed the steps outlined in my shell script. I validated that I am passing data correctly to it by manually entering these steps several times (entering $key ...
0
votes
0answers
88 views

Decrypt SSL traffic with the openssl command line tool 6

For the first part in decrypting the server pre master secret I have been using: openssl rsautl -in cpre.key -inkey key.pem -decrypt -out spre.key where cpre.key is in binary when fed to this and ...
1
vote
1answer
572 views

Decrypt SSL traffic with the openssl command line tool - continued part 5

From my previous posts part 1, part 2, part 3 and part 4 I believe I have calculated/decrypted everything correctly and ready to attempt to decrypt the client encrypted handshake message. I'm stuck on ...
0
votes
1answer
171 views

Decrypt SSL traffic with the openssl command line tool - continued part 3

From my previous questions/thread starting part 1 and follow up part 2 following my guided explanation since my files/data I am capturing is binary in nature I used the following openssl commands ...
1
vote
1answer
233 views

Decrypt SSL traffic with the openssl command line tool - continued

I got an answer to my original question here hopefully it is ok to ask a follow up question by posting another question. From my original question above I was able to decrypt the client pre master ...
2
votes
2answers
709 views

Decrypt SSL traffic with the openssl command line tool

I'm trying to do some manual data extraction/encryption/decryption with the openssl command line tool. I've been reviewing RFC5246 to work out what I need to do. It is not crystal clear to me if I am ...
0
votes
2answers
446 views

Extract public key from host for a Windows

I have username/password to a host and I have successfully logged-in with Putty tool. There are no certificates for the host. How can I exctract the public key for a Windows to use it into known-hosts?...
0
votes
2answers
102 views

Migrating ssh keys to new user for same host access?

I found quite a few posts about migrating ssh keys to a new host, but couldn't find much about migrating from one user to another on the same host... We are migrating a NAS share to a new platform, ...
0
votes
1answer
2k views

MacOS Keychain Access holds on to SSH passphrase indefinitely

For the sake of convenience, I would like MacOS to hold on to my RSA passphrase, but not indefinitely (for the sake of security). I believe SSH will use Keychain Access with this SSH configuration ...
1
vote
0answers
1k views

Incorrect RSA1 identifier , Could not load “/root/.ssh/id_rsa” as a RSA1 public key : SSH denied

I am able to ping the server in question (172.16.110.138) but can't connect via SSH Observed error: [root@localhost ~]# ssh -vvv 172.16.110.138 OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: ...
2
votes
0answers
206 views

AnyConnect to OpenConnect

I'm using Cisco AnyConnect on Windows with a RSA softToken for a VPN connection to my office, and I can connect just fine. I have root access to the Windows box, and can run Wireshark or any other ...
0
votes
0answers
123 views

Is it safe to store the encrypted private key of a RSA pair on the same machine as the encrypted data?

I was not sure how to google this. I want to set up a storage server where I encrypt everything that is sent to it, from anywhere. The files sent to it would automatically get encrypted by the public ...
1
vote
0answers
151 views

KGpg only creates DSA/ElGamal key pairs

KGpg running in openSUSE Leap 42.3 (Plasma 5.8.7) does not generate RSA keys in any way nor allows to select the pair capabilities. In the "Key Generation" window the "Algorithm" combo box is empty (...
6
votes
3answers
17k views

OpenSSL Convert PEM to PFX using RSA PRIVATE Key

I am attempting to use OpenSSL to Convert a PEM File and RSA Private Key to a PFX file. Here is the example command I attempted to use: openssl pkcs12 -export -out cert.pfx -inkey key.pem -in cert....