Questions tagged [dsa]
15 questions
49
votes
2 answers
Stronger encryption and signing algorithm for GnuPG: RSA/RSA or DSA/Elgamal?
I have found this relatively old question about whether RSA or DSA is the preferred algorithm for signing and encrypting with GnuPG.
When using gpg --gen-key, the two relevant choices are either "RSA and RSA" or "DSA and Elgamal". Which one has a…
The-Q
- 695
24
votes
3 answers
Generate an ECDSA key and CSR with OpenSSL
I know how to generate an RSA Private Key and CSR:
openssl genrsa -out my.key.pem 2048
openssl req -new -sha256 -key my.key.pem -out my.csr
But, how do I do the same with an ECDSA (Elliptic Curve Digital Signature Algorithm)?
Sreehari
- 355
18
votes
2 answers
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…
IQAndreas
- 4,337
12
votes
1 answer
How does one verify the PGP RSA and/or DSA checksum signatures for putty?
To verify the download integrity of putty, how is the best way to first verify the "SHA-512: (RSA sig) | (DSA sig)" PGP signature of these check-sum files for putty? (I am guessing "sig" means signed.)
From the putty download page:
MD5: …
Elliptical view
- 1,330
7
votes
1 answer
Can I extract R and S from an ECDSA signature in bit form, and vica versa?
I have searched the forum and found related information, but not answer to this question. I am working in an extremely bandwidth-restricted environment, in need of creating as small ECDSA signatures as possible. We are, for now, using OpenSSL. Also…
BenM
- 71
2
votes
0 answers
Information about a given DSA Key
Reading the answer https://superuser.com/a/13189/246855 to the question What is better for GPG keys - RSA or DSA?, I decided to examine the 2048 bit DSA key I use to figure out which secure hash algorithm was used to create the key.
However, I am…
Samveen
- 332
1
vote
0 answers
Openssl DSA Signature Verification Failure Error not understood
I am given a public key in PEM format:
-----BEGIN PUBLIC…
0
votes
2 answers
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:
openssl genrsa -out server.key 3072
However I need…
forcerecon
0
votes
1 answer
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? if I did that will I still have the permissions…
user962206
- 161
0
votes
1 answer
DSA SSH key keeps regenerating
Our vulnerability scanner is flagging some Linux appliances for an SSH vulnerability for key size too small, DSS algorithm 1024 bits.
This most likely relates to the DSA key as that only be 1024 bits. I have regenerated new RSA keys with 2048 key…
Celtic_Spike
0
votes
1 answer
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 outdated, I think this is caused by it's limited…
Elmi
- 199
0
votes
1 answer
Can't sign with DSA
A DSA key is created with:
openssl genpkey -genparam -algorithm DSA -out dsaparams.pem -pkeyopt dsa_paramgen_bits:1024
openssl genpkey -paramfile dsaparams.pem -out dsakey.pem
When I try to sign, this error is being displayed:
echo 'bacon' >…
Kazh
- 3
0
votes
2 answers
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 password. The command line's login is working this…
0
votes
1 answer
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 I got while trying to convert it was: Couldn't…
0
votes
1 answer
gpg subkeys with different keylength
I have a GPG key with a keylength of DSA/1024.
I can create new subkeys with a larger keysize, for example RSA/2048.
According to Jens Erat this is an approach others currently do in practice.
Is this really a higher security then?
Is there a…
radlan
- 103
- 2