Re: Safely proving device identity?



Also, if you do use the RSA-only scheme, be sure there's some evidence
of liveness before the device takes any action, to avoid replay
attacks. For example, the device could send a nonce to the client
which it expects to see again in the first (encrypted/MACd) message
from the client. Alternatively, you can include the device nonce into
the key agreement:

Client:
1. r = random floor(log2(n))-bit number
2. send s = r^e mod n to device

Device:
3. receive s
4. send c = random 256-bit nonce
5. Hash(s^d mod n || c) is the session key

Client:
6. Hash(r || c) is the session key

The device can pick and send the nonce as soon as it notices a client
wishes to establish a session (in some cases that may be sooner than
upon receiving s).

- xmath

.



Relevant Pages

  • RE: SSL and IPS (was RE: ssh and ids)
    ... need is the private key of one party (provided here by key escrow, ... > session key, they still won't have the next session key. ... > cryptography here, folks... ... >> key for client certs too. ...
    (Focus-IDS)
  • KDC failover
    ... The client sends a request to the AS requesting a TGT. ... a session key that will be used by the client to communicate with ... if the KDC that granted the TGT ... the session key that the client uses to encrypt the request, ...
    (comp.protocols.kerberos)
  • Re: Encrypt a UsernameToken Authenticated WSE Response
    ... >> using the password, the label WS-Security, the nonce, and created date. ... >> then a hacker cannot generate that key without knowing the password. ... >> and is just used to generate the session key to encrypt. ... >>> username and passwort und the data is symmetric encrypted, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: SRP with poor randomness on the host
    ... security on that client will be compromised. ... What I like about SRP ... and thus they can obtain the session key. ... > both the host and the client. ...
    (sci.crypt)
  • RE: Failed to decrypt
    ... The client side creates a session key then export it using the server's ... The server import the session key using its private exchange key. ... The client runs on Windows 2000 and the server runs Windows XP or ...
    (microsoft.public.platformsdk.security)

Quantcast