Tagged Questions
-2
votes
2answers
140 views
Where to store the private key and the public key in a communication protocol
I want to create a simple secured connection protocol over TCP/IP.
I just want to connect from my mobile device to a server securely.
Firstly I thought to use an SSL connection, but I changed my ...
0
votes
1answer
94 views
Why are RSA keys encoded with ASN.1 for TLS?
Browser vendors use ASN.1 encoding for RSA certificates in the TLS protocol. RSA public keys are just a number, so why do we need encode them to something else? That increases the risk of security ...
0
votes
3answers
109 views
Is it possible to ensure security with zero pre-shared information?
Is it possible to secure a communications channel against both passive (sniffing) and active (injecting / MitM) attackers without either legitimate party knowing any pre-shared information?
I know ...
5
votes
1answer
265 views
GPG/PGP Verification of Revocation
How does one verify a key revocation?
After revoking a key and sending the revocation to MIT's keyserver, I noticed that the key is listed as such:
...
5
votes
1answer
253 views
How should I check the received ephemeral Diffie-Hellman public keys?
In my application I'm doing a DH key exchange, where both sides generate their
own ephemeral key. No static keys are used. I am trying to make my
application resistant against an active attack and ...
6
votes
5answers
2k views
Why do we need asymmetric algorithms for key exchange?
In SSL protocols, both symmetric and asymmetric algorithms are used. Why is it so? The symmetric algorithms are more secure and easier to implement. Why are asymmetric algorithms usually preferred in ...
1
vote
3answers
345 views
Is public-key cryptography the only option in this scenario?
Two parties: a client and a server are to a agree on a symmetric key. Both the client and the server are aware of a master password. The way this is currently done ...