Re: Public Encryption Key

From: Anne & Lynn Wheeler (lynn@garlic.com)
Date: 04/04/03

  • Next message: Bill Marcum: "Re: Cryptography"
    From: Anne & Lynn Wheeler <lynn@garlic.com>
    Date: Fri, 04 Apr 2003 20:28:52 GMT
    
    

    "eric" <sopuiki@hotmail.com> writes:

    > Consider the following scenerio:
    >
    > 1. A sends B (A, EUKb[M], B)
    > 2. B acknowledges receipt by sending to A (B, EKUa[M],A).
    >
    > Being a user of the network, a attacker has his own public encryption key
    > and is able to send his own messages to A or to B and to receive theirs.
    >
    > My question is, in what way can the attacker obtain message M user A has
    > previously send to B??

    public key technology has two different business processes defined for
    it.
    1) privacy; only the recepient can decode the message
    2) authentication, only the sender can have sent the message

    to achieve #1, encrypt the message with the recipient's public key (or
    more frequently generate a random secret key, encrypt the message with
    the random secret key, and encrypt the secret key with the recepient's
    public key). only the recipient with the appropriate private key can
    decrypt the message.

    to achieve #2, encrypt the message with the sender's private key (or
    more frequently take some trusted/secure hash of the message, and
    encrypt the hash with the sender's private key). only that sender's
    public key can decrypt/verify the message. typically it is just the
    hash that is encrypted with the sender's private key and referred to
    as a digital signature.

    previous discussions of two distinct business processes:
    http://www.garlic.com/~lynn/aadsm10.htm#keygen Welome to the Internet, here's your private key
    http://www.garlic.com/~lynn/2002f.html#9 PKI / CA -- Public Key & Private Key
    http://www.garlic.com/~lynn/2003b.html#64 Storing digital IDs on token for use with Outlook

    the two can be combined by: first do a digital signature of the
    message and then encrypt the combination of the original message
    and the digital signature.

    so the vulnerabilities have to do with

    1) the sender really having the recipient's real public key before
    starting the process
    2) the recipient really having the sender's real public key

    so the business process typically somes down to each (sender and
    recipient) having a table of public keys that traditionally have some
    trust information conveyed by some out-of-band process.

    in the pgp web-of-trust ... the parties exchange public keys and use
    some additional trusted process to really validate that the keys that
    have been received are really for the parties.

    The traditional certification authority (PKI or CADS) model defines
    things called certificates ... that is the body of the certificate has
    some assertion and a public key; the CA then digitally signs the
    certificate, certifying the validity of the assertion (ex: an email
    address or a person's name).

    In this scenario .... the sender can create a message, digitally sign
    it, and then transmit to the recipient: 1) the message, 2) the
    original digital signature and 3) the certificate. The recipient still
    needs to have a table of public keys (aka like the web-of-trust model)
    for at least certification authorities (that have been independantly
    validated by some out-of-band trust process).

    This addresses the scenario where the recipient has had no prior
    contact or interface to the sender .... the sender can transmit a
    spontaneous message to just about anybody. The recipient then can be
    sure that the message has originated from an entity that matches the
    assertion in the appended certificate.

    However, the CA, spontaneous communication paradigm doesn't address
    the privacy issue. In order for the sender to encrypt the message with
    the recipient's public key, that public key needs to have been
    previously stored in some table kept at the sender. That means that
    the sender and recipient have had to made some previous contact and
    exchanged information.

    The AADS scenario assertions is that for all serious business process
    communication, the sender and recipient have established some sort of
    previous business relationship .... making the CA, spontaneous
    communication model redundant and superfluous.
    http://www.garlic.com/~lynn/aadsover.htm

    misc. redundant and superfluous postings:
    http://www.garlic.com/~lynn/aadsm10.htm#limit Q: Where should do I put a max amount in a X.509v3 certificat e?
    http://www.garlic.com/~lynn/aadsm10.htm#limit2 Q: Where should do I put a max amount in a X.509v3 certificate?
    http://www.garlic.com/~lynn/aadsm11.htm#39 ALARMED ... Only Mostly Dead ... RIP PKI .. addenda
    http://www.garlic.com/~lynn/aadsm11.htm#40 ALARMED ... Only Mostly Dead ... RIP PKI ... part II
    http://www.garlic.com/~lynn/aadsm12.htm#22 draft-ietf-pkix-warranty-ext-01
    http://www.garlic.com/~lynn/aadsm12.htm#26 I-D ACTION:draft-ietf-pkix-usergroup-01.txt
    http://www.garlic.com/~lynn/aadsm12.htm#27 Employee Certificates - Security Issues
    http://www.garlic.com/~lynn/aadsm12.htm#28 Employee Certificates - Security Issues
    http://www.garlic.com/~lynn/aadsm12.htm#29 Employee Certificates - Security Issues
    http://www.garlic.com/~lynn/aadsm12.htm#39 Identification = Payment Transaction?
    http://www.garlic.com/~lynn/aadsm12.htm#41 I-D ACTION:draft-ietf-pkix-sim-00.txt
    http://www.garlic.com/~lynn/aadsm12.htm#52 First Data Unit Says It's Untangling Authentication
    http://www.garlic.com/~lynn/aadsm12.htm#53 TTPs & AADS Was: First Data Unit Says It's Untangling Authentication
    http://www.garlic.com/~lynn/aadsm13.htm#0 OCSP and LDAP
    http://www.garlic.com/~lynn/aadsm13.htm#2 OCSP value proposition
    http://www.garlic.com/~lynn/aadsm13.htm#3 OCSP and LDAP
    http://www.garlic.com/~lynn/aadsm13.htm#4 OCSP and LDAP
    http://www.garlic.com/~lynn/aadsm13.htm#5 OCSP and LDAP
    http://www.garlic.com/~lynn/aadsm13.htm#6 OCSP and LDAP
    http://www.garlic.com/~lynn/aadsm13.htm#14 A challenge (addenda)
    http://www.garlic.com/~lynn/aadsm13.htm#16 A challenge
    http://www.garlic.com/~lynn/aadsm13.htm#19 A challenge
    http://www.garlic.com/~lynn/aadsm13.htm#20 surrogate/agent addenda (long)
    http://www.garlic.com/~lynn/aadsm13.htm#25 Certificate Policies (addenda)
    http://www.garlic.com/~lynn/aepay10.htm#46 x9.73 Cryptographic Message Syntax
    http://www.garlic.com/~lynn/aepay10.htm#73 Invisible Ink, E-signatures slow to broadly catch on
    http://www.garlic.com/~lynn/aepay10.htm#74 Invisible Ink, E-signatures slow to broadly catch on (addenda)
    http://www.garlic.com/~lynn/aepay10.htm#78 ssl certs
    http://www.garlic.com/~lynn/98.html#0 Account Authority Digital Signature model
    http://www.garlic.com/~lynn/99.html#228 Attacks on a PKI
    http://www.garlic.com/~lynn/99.html#238 Attacks on a PKI
    http://www.garlic.com/~lynn/99.html#240 Attacks on a PKI
    http://www.garlic.com/~lynn/2000.html#36 "Trusted" CA - Oxymoron?
    http://www.garlic.com/~lynn/2000b.html#92 Question regarding authentication implementation
    http://www.garlic.com/~lynn/2000e.html#40 Why trust root CAs ?
    http://www.garlic.com/~lynn/2000e.html#47 Why trust root CAs ?
    http://www.garlic.com/~lynn/2000f.html#15 Why trust root CAs ?
    http://www.garlic.com/~lynn/2000f.html#24 Why trust root CAs ?
    http://www.garlic.com/~lynn/2001.html#67 future trends in asymmetric cryptography
    http://www.garlic.com/~lynn/2001c.html#8 Server authentication
    http://www.garlic.com/~lynn/2001c.html#9 Server authentication
    http://www.garlic.com/~lynn/2001c.html#56 PKI and Non-repudiation practicalities
    http://www.garlic.com/~lynn/2001c.html#58 PKI and Non-repudiation practicalities
    http://www.garlic.com/~lynn/2001c.html#79 Q: ANSI X9.68 certificate format standard
    http://www.garlic.com/~lynn/2001d.html#3 Invalid certificate on 'security' site.
    http://www.garlic.com/~lynn/2001d.html#7 Invalid certificate on 'security' site.
    http://www.garlic.com/~lynn/2001e.html#35 Can I create my own SSL key?
    http://www.garlic.com/~lynn/2001f.html#77 FREE X.509 Certificates
    http://www.garlic.com/~lynn/2001g.html#64 PKI/Digital signature doesn't work
    http://www.garlic.com/~lynn/2001g.html#65 PKI/Digital signature doesn't work
    http://www.garlic.com/~lynn/2001g.html#68 PKI/Digital signature doesn't work
    http://www.garlic.com/~lynn/2001h.html#3 PKI/Digital signature doesn't work
    http://www.garlic.com/~lynn/2001i.html#16 Net banking, is it safe???
    http://www.garlic.com/~lynn/2002c.html#35 TOPS-10 logins (Was Re: HP-2000F - want to know more about it)
    http://www.garlic.com/~lynn/2002d.html#39 PKI Implementation
    http://www.garlic.com/~lynn/2002e.html#49 PKI and Relying Parties
    http://www.garlic.com/~lynn/2002e.html#56 PKI and Relying Parties
    http://www.garlic.com/~lynn/2002e.html#72 Digital certificate varification
    http://www.garlic.com/~lynn/2002m.html#16 A new e-commerce security proposal
    http://www.garlic.com/~lynn/2002m.html#17 A new e-commerce security proposal
    http://www.garlic.com/~lynn/2002m.html#55 Beware, Intel to embed digital certificates in Banias
    http://www.garlic.com/~lynn/2002m.html#64 SSL certificate modification
    http://www.garlic.com/~lynn/2002n.html#30 Help! Good protocol for national ID card?
    http://www.garlic.com/~lynn/2002o.html#56 Certificate Authority: Industry vs. Government
    http://www.garlic.com/~lynn/2002o.html#57 Certificate Authority: Industry vs. Government

    -- 
    Anne & Lynn Wheeler | http://www.garlic.com/~lynn/ 
    Internet trivia 20th anv http://www.garlic.com/~lynn/rfcietff.htm
    

  • Next message: Bill Marcum: "Re: Cryptography"

    Relevant Pages

    • Re: Public Encryption Key
      ... encrypt the message with the recipient's public key (or ... the two can be combined by: first do a digital signature of the ... certificate, certifying the validity of the assertion (ex: ...
      (sci.crypt)
    • Re: how do i encrypt outgoing email
      ... > I am looking for a way to encrypt out going email messages in Outlook. ... public key ... ... decodes the digital signature (resulting in the ... key repositories with public keys belonging to *certification ...
      (microsoft.public.outlook.installation)
    • Re: Entourage mail and PGP/GPG?
      ... You can digitally sign messages and encrypt them using CA. ... using a certificate for each recipient. ... certificate (public key) and the validation chain. ...
      (microsoft.public.mac.office.entourage)
    • Re: RSA Encrypt/Decrypt Problems
      ... CAPICOM is extremely easy to use in .NET. ... use CAPICOM, you really need the certificate, not just the public key. ... > then encrypt it with the other public key. ...
      (microsoft.public.dotnet.security)
    • Re: very basic quextions: public key encryption
      ... is allowed to know your public key ... ... encode the secure hash with my private key. ... i combine the message and the digital signature ... ... possible to simply encrypt the data w/o a digital signature. ...
      (comp.security.ssh)