Questions tagged [public-key-exchange]

43 questions
0
votes
1 answer

Cryptography - How much does the key generation process matter?

as the question says, i would like to know if it is important to generate a strong key in order to encrypt connection. Let's assume i'm using AES Symmetric Key Encryption Algorithm. What changes can i achieve by using a key such as: "helloworld" or…
Francesco Rizzi
  • 631
  • 6
  • 24
0
votes
0 answers

Use Cases of Otway Rees key exchange protocol

I am working on an seminar paper regarding key exchange protocols. Of course my first choice of protocol was DH. Second, I choose Otway Rees protocol since I found it very interesting that there is not much literature existing. So I did a little bit…
0
votes
1 answer

Details of TLS server key exchange message

This is essentially the same as my other question about DH parameters (which didn't get any answers), but I'm interested in getting information about the TLS server key exchange message(s) that are sent during the TLS handshake. Are these messages…
Christopher Schultz
  • 20,221
  • 9
  • 60
  • 77
0
votes
0 answers

Cannot get Oozie ssh-action working

[ashok@sandbox workspace]$ oozie job -oozie http://sandbox:11000/oozie -config /home/ashok/workspace/job.properties -run job: 0000000-160708173729940-oozie-oozi-W [ashok@sandbox workspace]$ oozie job -oozie http://sandbox:11000/oozie -log…
Raman
  • 665
  • 1
  • 15
  • 38
0
votes
0 answers

Append the encryption key to the ciphered message and send as a one message

I have used AES for symmetric encryption and RSA for symmetric key distribution. The problem is i ended up with two messages. The first is the encrypted message. The second is encrypted symmetric key. Now i am looking for away to append the second…
0
votes
2 answers

What happen if key during key exchange is stolen?

I am imagining a key exchange protocol. I wonder how to secure the connection if an intruder can obtain the shared key during key exchange protocol. Is there anything I can do to secure the connection? Thank you.
dhayyati
  • 49
  • 9
0
votes
1 answer

Is there any way to specify the range for the Diffie-Hellman prime using javax.net.ssl.SSLServerSocket?

I'm trying to reproduce the issue that was raised in Java: Why does SSL handshake give 'Could not generate DH keypair' exception?. I have a log that shows an exception with this cause: Caused by: javax.net.ssl.SSLException:…
steinybot
  • 5,491
  • 6
  • 37
  • 55
0
votes
1 answer

Ephemeral Diffie-Hellman requires certificate?

In Ephemeral Diffie-Hellman, the key pair is generated every time. In practice, does this mean I never need a certificate? Or that means I need a new cert every single time?
xcoder
  • 1,336
  • 2
  • 17
  • 44
-1
votes
1 answer

How to convert server's public key into SecKey format to encrypt data using RSA?

I want to convert the server's public key (base64encoded string) into SecKey format to encrypt data using RSA but fail to convert the string to SecKey. Please let me know if it is necessary to convert the key into SecKey format, if yes then please…
Komal Goyani
  • 779
  • 6
  • 25
-1
votes
1 answer

Why armored publick key from gpg locate-keys public differ from PGP public key server key?

I was trying to verify signature of linux-firmware with GnuPG gpg --locate-keys jboyer@redhat.com I've got publick key with : gpg --export --armor | less This key have 88 lines I used public PGP server and found public key…
-1
votes
1 answer

How to generate g and p for DH safely on Arduino Nano

I want to make a DH Key exchange with a PC and an Arduino. I want to generate a Prime p and a Base g on the Arduino that should be 2048 Bits long.
-1
votes
1 answer

SSH Key Exchange with alternate user

So I am using RHEL 7. I have two servers with the following user accounts root (obvious) admin I want the setup to work in the following manner. passwordless SSH from server 1 to server 2 using the admin user, but the SSH initiation is done from…
Faisal
  • 442
  • 5
  • 13
-1
votes
1 answer

SSH connection problems in JSch

I am trying to connect to a server using JSch. I get the "Negotiation fail" error. I checked the sshd_config file and got the following info: UsePAM yes PasswordAuthentication no Ciphers…
1 2
3