The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
6 views

How to configure RSA Archer for Single Sign-On (reverse proxy) [migrated]

Trying to setup RSA archer to run behind a reverse proxy and accept an HTTP header as an authenticated user. Most applications will accept REMOTE_USER or some arbitrary header and process that user ...
0
votes
1answer
27 views

RSA public key encryption using pkcs padding mode

I have a public key (modulus and exponent) in Base64 encoded form: MIICIjANBgkqhkiG9w0B AQEFAAOCAg8AMIICCgKCAgEA4IJZLsjlx+o4RSvafaAcReoNnzrI0UXu7kZyXPe31ql32X9AvhC6QQIU... I want to encrypt a text ...
0
votes
1answer
23 views

Using OpenSSL library to convert .key encoded to .pem

I created a C program that takes in an encrypted file (encrypted.key) file and a public key to decrypt the private encrypted encrypted.key. However, my program only works when taking in two files that ...
3
votes
1answer
84 views

How to retrieve RSA private key from wrapped key blob?

I have generated a pair of RSA keys on a smart card with OpenSC tools and retrieved it as wrapped key blob encrypted with DKEK key: sc-hsm-tool --create-dkek-share dkek/dkek-share-1.pbe sc-hsm-tool --...
1
vote
1answer
32 views

Trying to ssh into one server from two different networks results in two different RSA fingerprints

An attempt to connect to the remote server effingham.dreamhost.com via ssh from my company's network resulted in ssh giving an error about an RSA fingerprint mismatch, so I investigated and found that ...
2
votes
3answers
83 views

Internet Explorer 10 not accepting self signed Root CA

On a linux box, I have generated my Root CA and client certs using the following commands: openssl genrsa -out rootCA.key 2048 openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 20000 -out ...
1
vote
0answers
28 views

Cannot do passwordless SSH from Mac to Ubuntu VM [duplicate]

I am trying to setup password less login from my Mac OS X to to Ubuntu VM created by Virtual-box. I am using NAT->port forwarding option in VM and have host port as 3022. When I do ssh -p 3022 ...
1
vote
1answer
97 views

using a hash other than sha1 for OAEP with OpenSSL / CLI

The rsautl OpenSSL utility does not appear to have a setting wherein the hash for OAEP can be changed. My testing suggests that it just defaults to sha1 and that's it. My question is... is there a ...
2
votes
1answer
43 views

How do I store RSA keypair in Windows?

I'm trying to write a simple Encryption-Decryption program using Openssl-RSA. When a data is encrypted, a keypair is generated. If I want to decrypt the data, I need the exact keypair that was ...
0
votes
2answers
113 views

How does OpenSSH decide which host key to use?

By default, in my current version (6.9p1), OpenSSH Server will create four types of host keys: $ ls /etc/ssh/ssh_host_*_key.pub /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_ecdsa_key.pub /etc/ssh/...
1
vote
1answer
625 views

Generate RSA2 key in OpenSSH format [duplicate]

I have to generate a key, RSA v2 in OpenSSH format. I am a bit confused. I am trying to generate it using Putty Key Generator. There I see an option SSH2-RSA, SSH1-RSA. So is SSH2-RSA the RSA2 key or ...
1
vote
1answer
122 views

How do you verify a client rsa key via cli?

I am experiencing some issues with openvpn and I would like to verifiy the client's connecting key. I found a number of samples on how to verify the servers key: linux-3kfe:/usr/share/easy-rsa/keys # ...
6
votes
1answer
3k views

Audit failure 5061 after logging in to Windows 10

Logging in to Windows 10 Build 10547 I see for a split second a message box pop up. There's no time to read it as the login succeeds. In the event log I see: Audit failure 5061 with a task ...
1
vote
0answers
32 views

Using OpenSSL and nmichaels.org/rsa.py respectively get the different encrypted results

First, I used OpenSSL to create a public key(modulus, e), then a text file is encrypted with the public key. Second, I inputed modulus and e(from 'First') at http://nmichaels.org/rsa.py, then using ...
1
vote
2answers
32 views

RSA keys and new computers

I just got a new computer. I have a keypair on my old computer, that I use to sftp into a server that hosts my website. I transferred my RSA key over to my new computer, but I still can't logon. Do ...
0
votes
1answer
366 views

What is the difference between openssl pkeyutl -sign and openssl rsautl -sign

What is the difference between openssl pkeyutl -sign -pkeyopt digest:sha256 and openssl rsautl -sign ? Do they do the same thing?
1
vote
2answers
12k views

Permission denied (publickey,password)

I am trying to connect to local ip via SSH from terminal. Command is ssh -v user@192.168.0.2 But it is not connecting. Keeps giving me the error "Permission denied (publickey,password)." I have ...
0
votes
1answer
168 views

How can I generate weak SSH keys?

I'm trying to put together a demonstration of the increasing difficulty of cracking SSH / RSA keys. Ideally, I'd like to demonstrate cracking a 64-bit key, then a 128-bit, 256-bit, then, (possibly) a ...
0
votes
0answers
103 views

How to set size of RSA key in aspnet_regiis

How do i set the key size of my rsa key. Creating the key: aspnet_regiis -pc "test" -exp -size 4096 Exporting the key: aspnet_regiis -px "test" "c:\myKey.xml" -pri this does not give me key size ...
0
votes
1answer
213 views

How to create private ssh RSA key from text file on mac?

I requested a client's sys admin to give me access to their AWS account.. so he sent me an email that looks like this -----BEGIN RSA PRIVATE KEY----- XXXXXXXXXXX -----END RSA PRIVATE KEY----- And ...
1
vote
2answers
326 views

Using ssh key for connection but without -i option

I am working with serverals hosts and I do not want specify the password every time that I want to connect to any hosts. Then I have generated a key with: Enter file in which to save the key (/home/...
0
votes
0answers
165 views

Which one is RSA encryption algorithm?

I searched in the internet for Online RSA calculator and also for RSA algorithm example and I found this online RSA calculator tool and this site that mention the algorithm as below : RSA ...
1
vote
1answer
236 views

How to protect authorized_keys file?

I have setup key-based-only SSH login (and denied root login) to my Ubuntu server ls -l /home/ernest/.ssh shows this: -rw------- 1 ernest ernest 405 Dec 14 09:17 authorized_keys Is this means that ...
0
votes
1answer
35 views

After Updating to SHA2, private and public doesn't match

I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key. Public key has changed after updating and it doesn't match to previous private key. ...
2
votes
1answer
57 views

OpenSSH server refuses to accept key authentication unless logged into server locally

My server is running Ubuntu-Server and ahs OpenSSH-Server installed on it. I set up the /etc/ssh/sshd_config file to accept and require rsa keys, it looks for keys in the 'AuthorizedKeys ~/.ssh/...
1
vote
0answers
73 views

Use RSA keypair for PGP encrypt and decrypt

I use PKI smartcard. I generated public and private key on my smartcard and store keys in it. I want use these keys for PGP encryption and decryption. However, I don't know Can I make this?
0
votes
1answer
1k views

How to recover SSH private key pair on OpenStack

I've been using a virtual machine on OpenStack, and I lost my RSA private key. Is there anyway I can get to access this virtual machine? Of course, without using the RSA key. I was thinking about ...
0
votes
0answers
26 views

passphrase for rsa key required only in text mode

I have a problem which has been torturing me. As far as I booted Ubuntu to the GUI, it never asked for the passphrase of my RSA key. Lately, I switched to text mode and now, each time, after log in, ...
0
votes
1answer
69 views

ssh possible dns spoofing when logging into multiple machines via single host [duplicate]

I log in to the rhel5 machines at my school from home via ssh and it automatically sends me to the computer with the least load. So ssh -Y itsme@myShcool.edu will send me to either mySchoolA.edu ...
1
vote
1answer
2k views

How to configure strongSwan to trust a raw RSA key

I need to use raw RSA keys for IKEv2 authentication (for testing purposes), but am not able to configure strongSwan (5.1.2) to "trust" them for remote authentication. ipsec.conf: conn %default ...
1
vote
1answer
231 views

Always being asked for passphrase

I have set up an RSA keypair using How do I set up SSH so I don't have to type my password? But I keep getting prompted for the passphrase Enter passphrase for key '/var/www/.ssh/id_rsa': ...
0
votes
1answer
5k views

openssl pkcs12 keeps removing the PEM passphrase from keystore's entry?

OpenSSL 1.0.1e 11 Feb 2013 Generating a self-signed certificate: openssl req -x509 -newkey rsa:1024 -keyout key.pem -out cert.pem -days 365 During the process a PEM passphrase is requested: ...
0
votes
1answer
102 views

apache/Magento user's Linux home directory (for private RSA key)

apache runs Magento on our Linux server, and I'm trying to find out where the home directory for this user would be. I need to place a private key for SFTP access for Magento's extension. There is /...
1
vote
0answers
95 views

Configuring SSH server to require RSA key

I'm trying to configure my SSH server to require users to have an RSA key. To do this I have the settings in sshd_config set to RSAAuthentication yes PubkeyAuthentication yes #AuthorizedKeysFile %h/....
0
votes
1answer
403 views

What is the RSA SecurID packet format?

I am testing a client application that authenticates using RSA SecurID hardware tokens. The authentication is failing and I am not finding any useful information in the log files. I am using ...
1
vote
1answer
37 views

How do I get the 16-byte representation of my GitHub public key from my .pub file?

In my GitHub settings, it lists my public keys as 16-byte hexadecimal: 01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF Sadly, GitHub for Windows is buggy and keeps making me new github_rsa/...
5
votes
4answers
259 views

Passwordless SSH not working from terminal as I get prompted for the RSA passphrase

We have set up a CentOS 6.4 box with passwordless SSH to multiple other systems. This works fine when using a terminal as the correct user directly on the CentOS computer. However, if I log into the ...
0
votes
2answers
2k views

Parameters to create a self-signed DSA certificate on Ubuntu 12.04?

I would like to create a self-signed DSA certificate on Ubuntu 12.04 for use with a webserver and TLS 1.2 (HTTPS) connection. I found that you can run the following command to create an RSA one: ...
0
votes
1answer
70 views

How can I accept all SSH requests?

I would like to have a VM accept all SSH requests. That is, anyone on the network (namely, the host) can SSH into the shell without password checking, public key, etc. I know this is largely against ...
1
vote
1answer
784 views

Signature Verification using OpenSSL

I have been experimenting with OpenSSL and OpenSSH and I have been unable to sign and verify using RSA key pairs. I did the following Generated key pairs: $ ssh-genkey -b 2048 -t rsa <key-name&...
0
votes
1answer
748 views

Can't ssh into my Mac at home, from office

I'm trying to ssh/sftp to my Mac at home, from office. I can ping it fine. I'm pretty sure I set up keys correctly with ssh-keygen Here's what I'm getting (private info masked with •••): Edit07:....
0
votes
1answer
242 views

Sharing windows 7 id_rsa and id_dsa key to another OS

On my windows 7 I have both id_dsa and id_rsa keys. I've decided that I want to switch to ubuntu 12.04 LTS to be exact. can I transfer my id_dsa and id_rsa keys and other git configurations to Ubuntu? ...
4
votes
1answer
16k views

Openssl pkcs8 default format gives RSA PRIVATE KEY

I'm running this command on my pc (Openssl version: 1.0.1) : openssl pkcs8 -inform DER -in file.key -passin pass:12345678a -outform PEM -out key.pem and i got this key.pem: -----BEGIN PRIVATE KEY-...
0
votes
1answer
116 views

Why is my email address removed at the end of my matching public key file?

I tried ssh-ing to a server that uses RSA verification. I was already able to ssh to this server months back but I find out that I can't do so today. I investigated the keys in my computer. I emailed ...
0
votes
2answers
192 views

How do you set GPG to use ElGamal and RSA for keys?

How do you set GPG to use ElGamal and RSA for my GPG key? I'd like to do it but for the life of me I can't figure out what options to use.
0
votes
1answer
111 views

ssh: authenticate only with rsa key

I am setting up ssh from OS X to a Ubuntu virtual machine (Virtual Box). I tried to set up key-based authentication, following the instructions here. Now there is a problem. When my VM server is up ...
0
votes
1answer
114 views

I can not match group in ssh using RSA Key with passphrase

I have two accounts on my computer. One account is named bob. The other account is for a user named joe. I am using RSA key with a passphrase. I can connect BUT when I add the lines Match Group joe ...
0
votes
1answer
335 views

Multiple ssh keys on Heroku

I have: Computer A with id_rsa and id_rsa.pub Computer B with different id_rsa and id_rsa.pub (it's not the same as that one from computer A) and id_rsa2 id_rsa2.pub I created an account on heroku, ...
2
votes
1answer
2k views

Github, Puttygen, & Pageant: Permission Denied (publickey)

I'm using msysgit on Windows 7 as well as the PuTTY suite. I opened Puttygen and clicked the "Generate" button. I moved my cursor around to "generate some randomness". After the key was created, I ...
0
votes
2answers
358 views

Run a python script for entering RSA passphrases for Unix systems

I would like to know if is there a way to put a new "Layer" when the SO(preferentially a Ubuntu or a Mac OS X) asks for the passphrase of a rsa key. How it normally does: Use ssh; prompt the window ...