From eugen at leitl.org Sun Jan 1 06:18:22 2006 From: eugen at leitl.org (Eugen Leitl) Date: Sun, 1 Jan 2006 12:18:22 +0100 Subject: [coderman@gmail.com: Re: [dave@farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin] Message-ID: <20060101111822.GZ2235@leitl.org> ----- Forwarded message from coderman ----- From: coderman Date: Sat, 31 Dec 2005 18:32:33 -0800 To: Tyler Durden Cc: jya at cryptome.net, cypherpunks at jfet.org Subject: Re: [dave at farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin On 12/31/05, Tyler Durden wrote: > ... > Of course, NSA will likely grab&store the hidden piece as well i would count on it, as it's a good bet the answer is yes rather than no. > but I submit > one might be able to make this a fairly intractable problem, particularly if > information about -where- the appropriate piece is stored is itself > destroyed. (ie, they may have the piece, but they dont know which message it > belongs). i'm working on a one time pad based IPsec key daemon with a similar purpose to what you describe. i'll be posting here for feedback when it's ready but the basic premise is that it provides strong ephemeral IPsec keying using one time pads previously exchanged between peers. as long as the pads are generated and secured properly[1] you don't need to care if $TLA has kept your IPsec traffic archives in their acres of computing machinery. likewise, if large qubit quantum computers suddenly become feasible or multi ring GCF gets really fast, you don't need to worry about past key exchanges (also archived) being compromised, as with pub key based ISAKMP implementations. last, such a mode needs no open ports[2], so the attack surface for remote exploitation is limited to the IP level - only authenticated traffic is passed up the stack, everything else is dropped. as long as your OTP's are truly random and never compromised, the key exchange will be secure and the only way to attack your traffic remotely will be brute force of AES256. [1]. securing pads is really the crux of the issue here. i'm using modified linux distributions for key generation (a host with no networking capability - kernel omits all network functionality) and IPsec termination (boot from CD/DVD, require USB fob / hardware token + passphrase for auth to access pads stored in encrypted volume). [2]. this is true with an explanation: for the initial session ICMP payloads are sent in the clear (not IPsec) to perform the encrypted key exchange using OTP's. once IPsec is initialized, ICMP is also directed through IPsec via the SPD and future rekeying uses OTP's on top of the existing IPsec SA. i'll have more details later but in short all traffic is authenticated or dropped, most of it authenticated via IPsec, and the only exception being key exchange via ICMP which is authenticated via OTP only until the first SA is established. the advantage of using OTP's in addition to security is simplicity: all buffers are fixed size, key material is small (per instance) and the operations fast (no montgomery multiplication on very large numbers). even at a 1Hz rekey interval you could fit a years worth of key exchange OTP in 100MBytes of storage. the disadvantage is you probably need hardware entropy generation to produce the pads in a reasonable time. i'm using the VIA C5XL and C5P processors for testing / runtime and these can produce more than enough entropy for large pads without sucking /dev/random dry. last but not least, the implicit out of band pad exchange with trusted peers is reasonable for private group networking and other smaller networks but would be very difficult to scale to a large organization. this is a feature in my eyes, as private group networks are what this is intended for and meatspace pad exchange a desired requirement to ensure trust is properly placed. ----- End forwarded message ----- -- Eugen* Leitl leitl http://leitl.org ______________________________________________________________ ICBM: 48.07100, 11.36820 http://www.ativel.com 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From eugen at leitl.org Mon Jan 2 07:08:58 2006 From: eugen at leitl.org (Eugen Leitl) Date: Mon, 2 Jan 2006 13:08:58 +0100 Subject: [camera_lumina@hotmail.com: Tor-stored Pads] Message-ID: <20060102120858.GC2235@leitl.org> ----- Forwarded message from Tyler Durden ----- From: Tyler Durden Date: Sun, 01 Jan 2006 21:41:35 -0500 To: measl at mfn.org Cc: coderman at gmail.com, jya at cryptome.net, cypherpunks at jfet.org Subject: Tor-stored Pads Alif the Terrible wrote... >(3) Since all off the pieces have been stored - including both the >encrypted messagetexts and the decryptors, what is to prevent a >time-faking attack against this message? After all, if you have all the >parts, you can just "reinstantiate" the network as it was was the messages >were originally sent. Yes, agreed, but I think this a MUCH bigger pain in the ass. To wit: If they grab and deencrypt the "message" (ie the piece sent to the receiver) prior to the expiration time, then they will have the message and be able to read it. This is an improvement in that they have to do it prior to the expiration time of the hidden piece. They can not grab and store this piece alone because the other piece will not be there later. If they do not deencrypt the message in time, then they have to grab a core dump of the entire network (as well as the transmitted message), because they do not know where the piece is located. Seems to me that's a much harder thing to do then merely grabbing a sole message and de-encrypting it at their leisure. Seems to me too that a Tor network that was sufficiently dynamic could require network core dumps that could actually tax even NSA facilities, given large Tor networks of the future. It should also be pointed out that if the encryption on the "message" piece is done extremely carefully, one can afford to be lax on the Tor piece, and yet have a very difficult problem to crack (particularly if wrong guesses set off boobytraps that kill the hidden message piece). Again, it can be countered that an attack might merely require N instantiations of the network, but now we are talking some very significant resources. We've multiplied the originall cracking problem by N. Perhaps. -TD PS: I believe this is very close to having a one-time stored pad, but the difference with traditional Pads is that this one is tored in an anonymous location.(See Coderman's post.) ----- End forwarded message ----- -- Eugen* Leitl leitl http://leitl.org ______________________________________________________________ ICBM: 48.07100, 11.36820 http://www.ativel.com 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From eugen at leitl.org Mon Jan 2 07:09:32 2006 From: eugen at leitl.org (Eugen Leitl) Date: Mon, 2 Jan 2006 13:09:32 +0100 Subject: [coderman@gmail.com: Re: [dave@farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin] Message-ID: <20060102120932.GD2235@leitl.org> ----- Forwarded message from coderman ----- From: coderman Date: Sun, 1 Jan 2006 18:53:13 -0800 To: "J.A. Terranson" Cc: Tyler Durden , jya at cryptome.net, cypherpunks at jfet.org Subject: Re: [dave at farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin On 1/1/06, J.A. Terranson wrote: > (1) We are describing encryptedmessage sent over the public internet - > granted, it's in "pieces", yet it's still sent into the public cloud; yeah, follow tcp stream in ethereal is a good example of how trivial it is to recreate a session of communication given an archive of its component datagrams. > (2) These various pieces are all "record" communications as far as > NSA/Echelon is concerned, and therefore we should expect that they will > draw significant attention - and end up in permanent archives; right. hence my fetish for one time pads for key exchange and previous comment about quantum computers / fast GNFS / etc. they are up to 8 qubits, only a few thousand more to go. ;) > (3) Since all off the pieces have been stored - including both the > encrypted messagetexts and the decryptors, what is to prevent a > time-faking attack against this message? After all, if you have all the > parts, you can just "reinstantiate" the network as it was was the messages > were originally sent. this is particular to the method TD mentioned i think... i am assuming the following: - the operating system is installed on a loop-aes volume so that integrity of the kernel, libraries and utilities is protected via passphrase. - the one time pads are stored encrypted in a similar manner so that access to them requires external keys (like the gpg encrypted keys used for loop-aes volumes) - the passphrase used to authenticate a user for access to the pads is coupled with external storage (usb) of the keys used to access the pads. to recover the plaintext communication from the encrypted datagrams the attacker would need to obtain the encrypted pad, the keys on external storage (usb), and the passphrase to access the keys. > (4) For any form of time-destruction messaging to really work, the keying > information would have to be tied to a physical that cannot be > reclaimed, and which decays at a fixed, known, and closely approximatable > rate (a radiodecay probably doesn't meet this criteria); > > Every time-sensitive auto-destructing system Ive seen discussed here fails > these weaknesses. this doesn't provide time destruction so i assume this is in reference to Tyler's description. you could couple the user authentication with a physically hardened token of some sort for access to the pads but even this would require manual destruction. do they make physically hardened authentication tokens with timed self destruction built in? ----- End forwarded message ----- -- Eugen* Leitl leitl http://leitl.org ______________________________________________________________ ICBM: 48.07100, 11.36820 http://www.ativel.com 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From smb at cs.columbia.edu Tue Jan 3 10:50:46 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Tue, 03 Jan 2006 10:50:46 -0500 Subject: French cryptography and TEMPEST protection Message-ID: <20060103155046.D107F3C016A@berkshire.machshav.com> Those who can read French may be interested in http://www.ssi.gouv.fr/site_documents/politiqueproduit/Mecanismes_cryptographique_v1_02_standard.pdf and http://www.ssi.gouv.fr/fr/reglementation/R400/index.html The first discusses cryptographic primitives, including key and block size recommendations; the second discusses security against parasitic emanation attacks (i.e., TEMPEST). --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pg at futureware.at Tue Jan 3 12:13:24 2006 From: pg at futureware.at (Philipp =?iso-8859-1?q?G=FChring?=) Date: Tue, 3 Jan 2006 18:13:24 +0100 Subject: RNG quality verification In-Reply-To: <20051223171524.D804A3C0198@berkshire.machshav.com> References: <20051223171524.D804A3C0198@berkshire.machshav.com> Message-ID: <200601031813.27024.pg@futureware.at> Hi, Ok, now I did the first test. I took OpenSSL, generated 10000 RSA keys, and took them apart. First I analyzed the raw keys: -------------------------------------------------- ~~> ./ent RNGQA/openssl-keys-raw.random Entropy = 7.992782 bits per byte. Optimum compression would reduce the size of this 2580000 byte file by 0 percent. Chi square distribution for 2580000 samples is 38940.74, and randomly would exceed this value 0.01 percent of the times. Arithmetic mean value of data bytes is 127.2214 (127.5 = random). Monte Carlo value for Pi is 3.177609302 (error 1.15 percent). Serial correlation coefficient is -0.016663 (totally uncorrelated = 0.0). -------------------------------------------------- Then I stripped off the first 2 bytes and the last byte: -------------------------------------------------- ~~> ./ent RNGQA/openssl-keys-stripped.random Entropy = 7.999932 bits per byte. Optimum compression would reduce the size of this 2520000 byte file by 0 percent. Chi square distribution for 2520000 samples is 236.33, and randomly would exceed this value 75.00 percent of the times. Arithmetic mean value of data bytes is 127.4632 (127.5 = random). Monte Carlo value for Pi is 3.145266667 (error 0.12 percent). Serial correlation coefficient is 0.000327 (totally uncorrelated = 0.0). -------------------------------------------------- It isn?t perfect random quality, but I also don?t see any big problems with it. You can get the program and the extracted data here: http://www2.futureware.at/~philipp/RNGQA-light.tar.bz2 > It's really unsolvable, in several different ways. Perhaps I should have stated the quality demands for possible solutions: Since I am working on a practical solution, and not a theoretical solution, the following demands apply: * A 99.999% solution is ok. > First -- you just cannot tell if a single number is "random". At best, > you can look at a large selection of numbers and see if they fit > certain randomness tests. Even that isn't easy, though there are > several packages that will help. The best-known one is DIEHARD; > ask your favorite search engine for "diehard random". Sure. > However -- and it's a big "however" -- numbers that are "random enough" > for statistical purposes are not necessarily good enough for > cryptographic purposes. As several people have pointed out already, > there are processes involving cryptographic algorithms that produce > very "random" sequences, but are in fact deterministic to someone who > knows a secret. In other words, if you don't control the generator, > it's not possible to distinguish these two cases. Has anyone tested yet, how much samples are needed to detect those PRNGs? > In fact, any cipher > or hash function whose output was easily distinguishable from a true- > random source would be rejected by the cryptographic community. Yes, sure. > Furthermore, even if the generator is good, if the machine using the > certificates has been compromised it doesn't matter, because the > malware can steal the secret key. What this boils down to is that you > either trust the endpoint or you don't. Sure. To secure against compromised machines, you need Hardware Tokens with a qualified certificate request mechanism. But in the scenario, I am currently working on, the assumption is that we only have a software engine, and that the machine of the user is not compromised. But still the quality of the random number generator and the correct usage of the random numbers for the certificate request are not known yet. > Finally, even if it were possible for you to verify that p and q were > "random", you *really* don't want to do that -- you *never* want to see > users' secret keys, because that exposes the keys to danger and hence > you to liability. I will not ask the users to send in their private keys for testing! As you write below, I would like to test the standard generation packages (Firefox, IE, Opera, OpenSSL), and I also want to offer a guideline (or even the testing software) for the advanced users that they can test their own generation package, if they really want to. > Let me make an alternative suggestion. Pick two or three key > generation packages -- as I recall, both Firefox and IE have such -- > generate a lot of keys, and run them through DIEHARD. Then warn your > users to use only approved mechanisms for generating their certificate > requests -- you just can't do any better. That?s exactly what I wanted to do. (Sorry if I didn?t wrote that clear enough yet.) Best regards, Philipp G?hring --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lloyd at randombit.net Tue Jan 3 14:10:40 2006 From: lloyd at randombit.net (Jack Lloyd) Date: Tue, 3 Jan 2006 14:10:40 -0500 Subject: OpenSSL BIGNUM vs. GMP In-Reply-To: <43B665BF.9030607@algroup.co.uk> References: <43B665BF.9030607@algroup.co.uk> Message-ID: <20060103191040.GB5308@randombit.net> Some relevant and recent data: in some tests I ran this weekend (GMP 4.1.2, OpenSSL 0.9.8a, Athlon/gcc/Linux) RSA operations using GMP were somewhat faster than ones using OpenSSL even when blinding was used with both (typical performance boost was 15-20%). I'm assume "both of which are needed" should have been "at least one of which is needed"? AFAIK blinding alone can protect against all (publicly known) timing attacks; am I wrong about this? -Jack On Sat, Dec 31, 2005 at 11:04:31AM +0000, Ben Laurie wrote: > It appears that one reason GMP may sometimes be faster than OpenSSL for > RSA is that it seems that GMP does not do blinding or constant time > arithmetic, both of which are needed to defend against known attacks. > > So, if you are going to use GMP for speed, be aware that you may be > risking your private keys. > > Cheers, > > Ben. > > -- > http://www.apache-ssl.org/ben.html http://www.thebunker.net/ > > "There is no limit to what a man can do or how far he can go if he > doesn't mind who gets the credit." - Robert Woodruff > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From kelsey.j at ix.netcom.com Tue Jan 3 14:14:41 2006 From: kelsey.j at ix.netcom.com (John Kelsey) Date: Tue, 3 Jan 2006 14:14:41 -0500 (EST) Subject: [coderman@gmail.com: Re: [dave@farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin] Message-ID: <557280.1136315681454.JavaMail.root@elwamui-ovcar.atl.sa.earthlink.net> ... >From: Eugen Leitl >Sent: Jan 1, 2006 6:18 AM >To: Cryptography List >Subject: [coderman at gmail.com: Re: [dave at farber.net: [IP] more on AP > Story Justice Dept. Probing Domestic Spyin] ... >as long as your OTP's are truly random and never compromised, the key >exchange will be secure and the only way to attack your traffic >remotely will be brute force of AES256. I'm coming late to this discussion, but if you're already trusting AES256 for security, why not just exchange a single long-term AES256 key between mutually-trusting sites? Then, you can generate today's piece of the one-time-pad using a shared counter or a timestamp or something. Further, this lets you store the secret that derives your keys inside a tamper-resistant crypto module. >Eugen* Leitl leitl http://leitl.org --John Kelsey, NIST --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From kelsey.j at ix.netcom.com Tue Jan 3 15:08:12 2006 From: kelsey.j at ix.netcom.com (John Kelsey) Date: Tue, 3 Jan 2006 15:08:12 -0500 (EST) Subject: RNG quality verification Message-ID: <8246493.1136318893229.JavaMail.root@elwamui-ovcar.atl.sa.earthlink.net> ... >From: Philipp G???hring >Sent: Jan 3, 2006 12:13 PM >To: "Steven M. Bellovin" , cryptography at metzdowd.com >Subject: Re: RNG quality verification ... >Hi, > >Ok, now I did the first test. >I took OpenSSL, generated 10000 RSA keys, and took them apart. >First I analyzed the raw keys: It's helpful if you try to determine what you're testing here. What is the ideal situation which you hope to approximate by your RNG? For example, RSA moduli will always be odd, since they're the product of two odd primes. So you're going to get some statistical flaws when you look at the low bit. Similarly, the high few bits will be somewhat skewed by our choices of p and q (you usually set the high bits so that you get the desired size of modulus). And you may be choosing p and q according to some other criteria--I don't know what OpenSSL does exactly. Further, you're looking at the result of using the PRNG outputs in a really complicated way. There might be all kinds of nonrandom behavior in the outputs that would not be apparent at all in the result of generating RSA keys. Think about what's happening--you're generating a random starting point of 512 bits with a certain form (high bit set), and then sieving it, and then running a primality test for a bunch of rounds. Then you're doing the same thing a second time. Then you're multiplying the numbers together. To assess a cryptographic PRNG, you need to know two things: a. If it had a starting point or seed which was impossible to guess, would you be able to find any problems with its outputs? b. Does it get a starting point or seed which is impossible to guess? Assessing (a) is about cryptanalysis; statsitics can help there, but mostly, you're looking at the output from some cryptographic function like SHA1 or AES or 3DES. Assessing (b) is about data analysis--you're going to look at the sources for seed material, and try to determine what makes them ultimately unpredictable, and to model them somehow. You can't assess how much entropy some variable has without some kind of probability model for it. It's really hard to get a satisfactory model for most of the OS/software sources, unfortunately. If you can't get a simple model for it, you can at least attempt to determine some kind of bound on its entropy. See Peter Gutmann's wonderful paper from USENIX a few years ago on his Cryptlib's PRNG for some flavor of what this kind of analysis looks like. The critical thing to understand here is where your statistical tools are and are not useful. There's no harm in running some big statistical tests on the outputs from a cryptographic mechanism, and you may in principle even find something this way, but you probably won't. To the extent that you have a probability model for the source of seed material or entropy you're using, you can use statistical tests to check the plausibility of your model. (That is, if your model says that successive samples of some variable are independent, it's really a good idea to run some statistical tests to check that--Chi Square tests of independence, autocorrelation, whatever makes sense with the kind of data you have.) ... >Perhaps I should have stated the quality demands for possible solutions: >Since I am working on a practical solution, and not a theoretical solution, >the following demands apply: >* A 99.999% solution is ok. Well, the analysis of your entropy source is ultimately a data analysis problem. You go back and forth between your best understanding of the underlying process that generates entropy, your data, and what kind of models you can work with, refining your understanding of your entropy source until your money or time run out. If some attacker has a much better model than yours, he may be able to predict your seeds and thus break your PRNG. (This is a good reason to seed the PRNG with more estimated entropy than the minimum you can get away with--there are other reasons to do this, too.) ... >> However -- and it's a big "however" -- numbers that are "random enough" >> for statistical purposes are not necessarily good enough for >> cryptographic purposes. As several people have pointed out already, >> there are processes involving cryptographic algorithms that produce >> very "random" sequences, but are in fact deterministic to someone who >> knows a secret. In other words, if you don't control the generator, >> it's not possible to distinguish these two cases. > >Has anyone tested yet, how much samples are needed to detect those PRNGs? Suppose I'm using AES128 with a key of 0 in counter mode, starting with a counter of 0. This will pass all the statistical tests you run against it. But with a single 128-bit output, I am nearly certain of identifying this source. If you don't know the key I'm using for AES, then distinguishing counter mode outputs is as hard as breaking AES, for some very precisely defined meaning of the work "breaking." But it has no more than 128 bits of entropy, because if you ever guessed the right 128 bit AES key, you could predict all future outputs from my PRNG forever. That means it would be silly to use, say, AES128 to generate 256-bit AES keys, since the attacker would only need to guess the 128-bit AES key to learn all the 256-bit AES keys you were generating. For what it's worth, we're working on a standard for cryptographic random number generation in X9. There's a draft document (SP800-90) up on the NIST website http://csrc.nist.gov/publications/drafts.html#sp800-90 discussing some hopefully good crypto PRNGs, and some guidelines for their use. This doesn't discuss much about analyzing entropy sources (we're still hashing that out). If you want to understand the security of crypto PRNG algorithms, you can look at some papers I did on this with Bruce Schneier, Niels Ferguson, David Wagner, and Chris Hall: http://www.schneier.com/paper-yarrow.html www.cs.berkeley.edu/~daw/papers/prngs-fse98.ps Also, Peter's PRNG paper is at his website: http://www.cs.auckland.ac.nz/~pgut001/ And Lisa Yin did a paper with Desai and Hevia for Eurocrypt 2002 trying to do reduction proofs for various PRNGs--basically showing that if certain properties of the hash function or block cipher used hold, then the PRNG is secure. I don't know if there's an online version available. If you want to understand how to do the data analysis for a hardware entropy source, I recommend looking at the analysis of the Intel and VIA C3 hardware RNGs, both on Cryptography Research's site. http://www.cryptography.com/research/evaluations.html The big thing to understand here is how much nicer life is when you design the source of entropy from the beginning to follow some kind of reasonable probability model, rather than looking for some way to adapt a mathematically useful model to some complicated process like OS loading or something. There's a reasonably nice suite of statistical tests available from NIST, though I've heard some complaints about the portability of the code. More broadly, there are a gazillion statistical packages out there. But if you don't understand your model, you'll just shoot yourself in the foot by throwing sophisticated statistical tools at the problem. >Best regards, >Philipp G???hring --John Kelsey, NIST --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From sidney at sidney.com Tue Jan 3 15:37:30 2006 From: sidney at sidney.com (Sidney Markowitz) Date: Wed, 04 Jan 2006 09:37:30 +1300 Subject: RNG quality verification In-Reply-To: <200601031813.27024.pg@futureware.at> References: <20051223171524.D804A3C0198@berkshire.machshav.com> <200601031813.27024.pg@futureware.at> Message-ID: <43BAE08A.1090902@sidney.com> Philipp G?hring wrote: > I took OpenSSL, generated 10000 RSA keys, and took them apart. > First I analyzed the raw keys: Try this: Generate 256000 bytes from MD5(i), i=1...16000 and run the same tests. That is clearly not acceptable as a PRNG because it is completely predictable if you know that the sequence is MD5(1) ... MD5(16000), but it should pass any tests other than one that checks specifically if it is correlated to MD5(1) ... MD5(16000). Perhaps you would say that example is unfair because MD5 makes a perfectly good PRNG as long as the software package seeds it properly. In that case, how are you going to ensure that the package you are testing is seeding the PRNG properly? In fact, the famous Netscape vulnerability was based on a PRNG that was simply MD5 of a counter, with the vulnerability being predictability of the seed. See http://www.cs.berkeley.edu/~daw/papers/ddj-netscape.html for a clear description of that. Your tests would not detect that kind of vulnerability. You asked, > Has anyone tested yet, how much samples are needed to detect those PRNGs? The point is that your tests will not detect the difference between a PRNG using a properly seeded MD5(counter) and one with a predictable seed. More generally, a sequence can be predictable while still being statistically random. Carrying it even further, back in 1996 the only problem with using MD5 of a counter as a PRNG was making sure that the seed was unpredictable. That may not be true anymore because of recent results of MD5 collisions, or more accurately, it may not remain true if stronger attacks continue to be found. Statistical tests have not all of a sudden changed their results: MD5 will not appear any less random in those tests just because vulnerabilities are found. So how do you certify PRNGs used by your customers? You have them use well known software packages that have been analyzed and vetted by the cryptographic community, such as OpenSSL. It would be a shock if any of them did not pass the simple statistical tests that you can perform. Passing those tests does not ensure that there are none of the more subtle vulnerabilities that are only discovered by many smart people taking a very hard look over a significant time period. -- Sidney Markowitz http://www.sidney.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at algroup.co.uk Tue Jan 3 17:10:50 2006 From: ben at algroup.co.uk (Ben Laurie) Date: Tue, 03 Jan 2006 22:10:50 +0000 Subject: OpenSSL BIGNUM vs. GMP In-Reply-To: <20060103191040.GB5308@randombit.net> References: <43B665BF.9030607@algroup.co.uk> <20060103191040.GB5308@randombit.net> Message-ID: <43BAF66A.10206@algroup.co.uk> Jack Lloyd wrote: > Some relevant and recent data: in some tests I ran this weekend (GMP 4.1.2, > OpenSSL 0.9.8a, Athlon/gcc/Linux) RSA operations using GMP were somewhat faster > than ones using OpenSSL even when blinding was used with both (typical > performance boost was 15-20%). > > I'm assume "both of which are needed" should have been "at least one of which > is needed"? AFAIK blinding alone can protect against all (publicly known) > timing attacks; am I wrong about this? Yes, you are - there's the cache attack, which requires the attacker to have an account on the same machine. I guess I shouldn't have called it constant time, since its really constant memory access that defends against this. http://www.daemonology.net/papers/htt.pdf Incidentally, I think the main component of the difference on Athlon, like many other platforms, is simply a question of which library has hand-optimised assembler for the platform. That is, it tells us little about architectural differences and plenty about whether anyone has been bothered to optimise for that particular platform recently. Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From adam at cypherspace.org Tue Jan 3 17:51:08 2006 From: adam at cypherspace.org (Adam Back) Date: Tue, 3 Jan 2006 17:51:08 -0500 Subject: OpenSSL BIGNUM vs. GMP In-Reply-To: <43BAF66A.10206@algroup.co.uk> References: <43B665BF.9030607@algroup.co.uk> <20060103191040.GB5308@randombit.net> <43BAF66A.10206@algroup.co.uk> Message-ID: <20060103225108.GA2487@bitchcake.off.net> On Tue, Jan 03, 2006 at 10:10:50PM +0000, Ben Laurie wrote: > Jack Lloyd wrote: > > Some relevant and recent data: in some tests I ran this weekend > > [gmp faster than openssl] > > AFAIK blinding alone can protect against all (publicly known) > > timing attacks; am I wrong about this? > > Yes, you are - there's the cache attack, which requires the attacker to > have an account on the same machine. I guess I shouldn't have called it > constant time, since its really constant memory access that defends > against this. Does openSSL defend against cache related attacks? Adam --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lloyd at randombit.net Tue Jan 3 18:01:07 2006 From: lloyd at randombit.net (Jack Lloyd) Date: Tue, 3 Jan 2006 18:01:07 -0500 Subject: OpenSSL BIGNUM vs. GMP In-Reply-To: <43BAF66A.10206@algroup.co.uk> References: <43B665BF.9030607@algroup.co.uk> <20060103191040.GB5308@randombit.net> <43BAF66A.10206@algroup.co.uk> Message-ID: <20060103230107.GA18241@randombit.net> On Tue, Jan 03, 2006 at 10:10:50PM +0000, Ben Laurie wrote: > Yes, you are - there's the cache attack, which requires the attacker to > have an account on the same machine. I guess I shouldn't have called it > constant time, since its really constant memory access that defends > against this. > > http://www.daemonology.net/papers/htt.pdf Thanks for the link! Does OpenSSL defend against this attack? I suspect writing fast modexp code that will (in the paper's words) "avoid any data-dependent or key-dependent memory access or code path patterns" would be quite non-trivial, so I would be interested to see how that is implemented. I did a quick scan through 0.9.8a's crypto/bn but didn't see anything that looked likely, but OpenSSL is big, so I could easily be missing it. :) > Incidentally, I think the main component of the difference on Athlon, > like many other platforms, is simply a question of which library has > hand-optimised assembler for the platform. That is, it tells us little > about architectural differences and plenty about whether anyone has been > bothered to optimise for that particular platform recently. That's an good point - probably compiling both OpenSSL and GNU MP with no assembly code would be a more interesting comparison, from an algorithm standpoint. However, I think you are confusing two different goals here. I'm guessing that you want an analysis of GNU MP vs OpenSSL so you can figure out how to make OpenSSL faster. For that, an algorithm-based analysis is obviously much more useful. I mostly care about which is faster, now, on the platforms I care about, and it doesn't really matter why one is faster. For example, if GNU MP has a faster modexp implementation than OpenSSL on an Athlon because the GNU MP developers sold their souls to the devil [*] in exchange for some really good hand-tuned Athlon asm, that's cool with me -- as long as it's fast. Jack [*] I make no claims that the GNU MP developers have actually been involved in any unholy bargains involving souls for code. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Tue Jan 3 18:10:37 2006 From: jamesd at echeque.com (James A. Donald) Date: Tue, 03 Jan 2006 15:10:37 -0800 Subject: PKCS to XML? In-Reply-To: References: Message-ID: <43BB046D.7070406@echeque.com> -- Is there any standard, better still existing code, for translating keys and certificates and suchlike to and from XML? I recollect an utterly useless standard for encrypted XML, which some one described as a collection of toothpicks that one was supposed to assemble into a boat, but that is not quite the same thing. --digsig James A. Donald 6YeGpsZR+nOTh/cGwvITnSR3TdzclVpR0+pr3YYQdkG x7HSdxkv/c2zoTJF7n9vrmNpEhiSFAXRD6FAlbcM 4KYwEbsOwZRupedV+quY2YciDAmLaxyYeulIr8mLr --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Tue Jan 3 18:28:23 2006 From: jamesd at echeque.com (James A. Donald) Date: Tue, 03 Jan 2006 15:28:23 -0800 Subject: RNG quality verification In-Reply-To: <8246493.1136318893229.JavaMail.root@elwamui-ovcar.atl.sa.earthlink.net> References: <8246493.1136318893229.JavaMail.root@elwamui-ovcar.atl.sa.earthlink.net> Message-ID: <43BB0897.1000600@echeque.com> -- John Kelsey wrote: > To assess a cryptographic PRNG, you need to know two things: > > a. If it had a starting point or seed which was impossible to > guess, would you be able to find any problems with its outputs? > > b. Does it get a starting point or seed which is impossible to > guess? > > Assessing (a) is about cryptanalysis; statsitics can help there, but > mostly, you're looking at the output from some cryptographic > function like SHA1 or AES or 3DES. Assessing (b) is about data > analysis--you're going to look at the sources for seed material, and > try to determine what makes them ultimately unpredictable, and to > model them somehow. You can't assess how much entropy some variable > has without some kind of probability model for it. All observables are necessarily theory laden. Entropy and randomness are more theory laden than most, so theory laden as to be impossible to observe directly. One must study what goes in, not what goes out. For any test, ask yourself this: If the source of "random" numbers was the current time, hashed with SHA and a sixteen bit fixed code, would your test show any problem? --digsig James A. Donald 6YeGpsZR+nOTh/cGwvITnSR3TdzclVpR0+pr3YYQdkG KU60aORMS6eP2TWG+XjML/Cp7egySzT8UZW/n9Zo 40TzrkMfMK52cZ0Rdu5DMlo9ngx84PkNXCHQrnXQ+ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rsalz at us.ibm.com Tue Jan 3 19:11:01 2006 From: rsalz at us.ibm.com (Richard Salz) Date: Tue, 3 Jan 2006 18:11:01 -0600 Subject: PKCS to XML? In-Reply-To: <43BB046D.7070406@echeque.com> Message-ID: > Is there any standard, better still existing code, for translating > keys and certificates and suchlike to and from XML? Base64-encoded DER. It's what the XML security standards all (W3C/IETF XML Digital Signature, W3C/IETF XML Encryption, W3C XKMS, OASIS WS-Security, etc.) all use. XML DSIG defines a raw public key format, but nobody uses that. > I recollect an utterly useless standard for encrypted XML I wonder what you're thinking of? The W3C/IETF XML Encryption standard is *very* good at encrypting XML. Were you thinking of that, and using it to do something else? /r$ -- SOA Appliance Group IBM Application Integration Middleware --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at algroup.co.uk Wed Jan 4 09:53:51 2006 From: ben at algroup.co.uk (Ben Laurie) Date: Wed, 04 Jan 2006 14:53:51 +0000 Subject: OpenSSL BIGNUM vs. GMP In-Reply-To: <20060103225108.GA2487@bitchcake.off.net> References: <43B665BF.9030607@algroup.co.uk> <20060103191040.GB5308@randombit.net> <43BAF66A.10206@algroup.co.uk> <20060103225108.GA2487@bitchcake.off.net> Message-ID: <43BBE17F.10502@algroup.co.uk> Adam Back wrote: > On Tue, Jan 03, 2006 at 10:10:50PM +0000, Ben Laurie wrote: >> Jack Lloyd wrote: >>> Some relevant and recent data: in some tests I ran this weekend >>> [gmp faster than openssl] >>> AFAIK blinding alone can protect against all (publicly known) >>> timing attacks; am I wrong about this? >> Yes, you are - there's the cache attack, which requires the attacker to >> have an account on the same machine. I guess I shouldn't have called it >> constant time, since its really constant memory access that defends >> against this. > > Does openSSL defend against cache related attacks? Yes - from the change log (this came in with 0.9.7h): *) Make a new fixed-window mod_exp implementation the default for RSA, DSA, and DH private-key operations so that the sequence of squares and multiplies and the memory access pattern are independent of the particular secret key. This will mitigate cache-timing and potential related attacks. BN_mod_exp_mont_consttime() is the new exponentiation implementation, and this is automatically used by BN_mod_exp_mont() if the new flag BN_FLG_EXP_CONSTTIME is set for the exponent. RSA, DSA, and DH will use this BN flag for private exponents unless the flag RSA_FLAG_NO_EXP_CONSTTIME, DSA_FLAG_NO_EXP_CONSTTIME, or DH_FLAG_NO_EXP_CONSTTIME, respectively, is set. [Matthew D Wood (Intel Corp), with some changes by Bodo Moeller] -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From bill.stewart at pobox.com Thu Jan 5 00:03:09 2006 From: bill.stewart at pobox.com (Bill Stewart) Date: Wed, 04 Jan 2006 21:03:09 -0800 Subject: [coderman@gmail.com: Re: [dave@farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin] In-Reply-To: <20060101111822.GZ2235@leitl.org> References: <20060101111822.GZ2235@leitl.org> Message-ID: <6.2.1.2.0.20060104205203.03644e40@pop.idiom.com> >i'm working on a one time pad based IPsec key daemon with a similar >purpose to what you describe. i'll be posting here for feedback when >it's ready but the basic premise is that it provides strong ephemeral >IPsec keying using one time pads previously exchanged between peers. >as long as the pads are generated and secured properly[1] you don't >need to care if $TLA has kept your IPsec traffic archives in their >acres of computing machinery. > >likewise, if large qubit quantum computers suddenly become feasible or >multi ring GCF gets really fast, you don't need to worry about past >key exchanges (also archived) being compromised, as with pub key based >ISAKMP implementations. Strikes me as a fairly silly project, except for the fun of coding it. There are a number of protocols like EKE, SPEKE, A-EKE, etc. that let you combine a shared password with public-key encryption for extra strength - a crude variant would be to encrypt your Diffie-Hellmann keyparts with AES for the key exchange, so there's nothing that can be conveniently attacked when the hypothetical Quantum Computer comes online. There's still a risk of compromising your keys if the KGB blackbags your machine, so you might want to change keys annually or monthly or whatever, but your OTPs are at risk just as a password would be. And long before Quantum Computers become strong enough to crack 2048-bit public key algorithms at a price that makes the KGB want to waste its resources on you, there'll be more convenient ways to blackbag machines, whether it's including extra features in the OS through the audio CD player or putting a video camera in your ceiling. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From demonfighter at gmail.com Thu Jan 5 11:59:00 2006 From: demonfighter at gmail.com (Steve Furlong) Date: Thu, 5 Jan 2006 11:59:00 -0500 Subject: [coderman@gmail.com: Re: [dave@farber.net: [IP] more on AP Story Justice Dept. Probing Domestic Spyin] In-Reply-To: <6.2.1.2.0.20060104205203.03644e40@pop.idiom.com> References: <20060101111822.GZ2235@leitl.org> <6.2.1.2.0.20060104205203.03644e40@pop.idiom.com> Message-ID: <7d752ae30601050859o24c554f3q44d9f95a24766ac7@mail.gmail.com> > And long before Quantum Computers become strong enough to crack > 2048-bit public key algorithms at a price that makes the > KGB want to waste its resources on you, there'll be > more convenient ways to blackbag machines, whether it's > including extra features in the OS through the audio CD player > or putting a video camera in your ceiling. Or rubber hoses, or indefinite detetion until you voluntarily comply with requests for keys, or seizure of business assets resulting in business failure even if no charges are ever filed, or ... --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From frantz at pwpconsult.com Thu Jan 5 18:12:56 2006 From: frantz at pwpconsult.com (Bill Frantz) Date: Thu, 5 Jan 2006 15:12:56 -0800 Subject: browser vendors and CAs agreeing on high-assurance certificat es In-Reply-To: <43AD8854.7060406@algroup.co.uk> Message-ID: On 12/24/05, ben at algroup.co.uk (Ben Laurie) wrote: >I don't see why not - the technical details actually matter. Since the >servers will all share a socket, on any normal architecture, they'll all >have access to everyone's private keys. So, what is gained by having >separate certs? I responded in private email: > With a POLA architecture, perhaps on a capability OS (dream, dream), > they might not share access to the private keys. However, given current > software, I grant your point. Ben responded that I should post my comments to the list. There are two scenarios I see as being viable for separating the private keys with a security barrier. One is the single machine case alluded to above. Here the private keys would be in separate security domains, and the common part of the web server, which listens on the socket, would read the initial data on the TCP connection, select the correct security domain, and "pass" the connection to that domain. While the common part could continue to examine all the data, those data would be encrypted, so the it would have the same access as any other untrusted node in the path. The other scenario involves a network switch which performs the function of the common code of the web server. It uses network address translation to forward the connection's packets to the back-end computer with the correct private key. Here the keys are protected by being kept on separate computers. Both approaches allow a web hosting ISP to protect its customers from each other. This mutual protection is much the same requirement as existed in the time-sharing systems KeyKOS was designed to support. Cheers - Bill ----------------------------------------------------------------------- Bill Frantz | gets() remains as a monument | Periwinkle (408)356-8506 | to C's continuing support of | 16345 Englewood Ave www.pwpconsult.com | buffer overruns. | Los Gatos, CA 95032 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at algroup.co.uk Fri Jan 6 10:21:00 2006 From: ben at algroup.co.uk (Ben Laurie) Date: Fri, 06 Jan 2006 15:21:00 +0000 Subject: browser vendors and CAs agreeing on high-assurance certificat es In-Reply-To: References: Message-ID: <43BE8ADC.6010409@algroup.co.uk> Bill Frantz wrote: > On 12/24/05, ben at algroup.co.uk (Ben Laurie) wrote: > >> I don't see why not - the technical details actually matter. Since the >> servers will all share a socket, on any normal architecture, they'll all >> have access to everyone's private keys. So, what is gained by having >> separate certs? > > I responded in private email: > >> With a POLA architecture, perhaps on a capability OS (dream, dream), >> they might not share access to the private keys. However, given current >> software, I grant your point. > > Ben responded that I should post my comments to the list. > > There are two scenarios I see as being viable for separating the private > keys with a security barrier. One is the single machine case alluded to > above. Here the private keys would be in separate security domains, and > the common part of the web server, which listens on the socket, would > read the initial data on the TCP connection, select the correct security > domain, and "pass" the connection to that domain. While the common part > could continue to examine all the data, those data would be encrypted, > so the it would have the same access as any other untrusted node in the > path. > > The other scenario involves a network switch which performs the function > of the common code of the web server. It uses network address > translation to forward the connection's packets to the back-end computer > with the correct private key. Here the keys are protected by being kept > on separate computers. This would defeat the reason people share IP addresses, which is so they can share a single machine to reduce costs. Of course, a capability OS would permit this whilst separating keys, as you said. Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Fri Jan 6 11:05:00 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Fri, 06 Jan 2006 11:05:00 -0500 Subject: browser vendors and CAs agreeing on high-assurance certificat es In-Reply-To: (Your message of "Fri, 06 Jan 2006 15:21:00 GMT.") <43BE8ADC.6010409@algroup.co.uk> Message-ID: <20060106160500.C91803C01C7@berkshire.machshav.com> In message <43BE8ADC.6010409 at algroup.co.uk>, Ben Laurie writes: >Bill Frantz wrote: >> On 12/24/05, ben at algroup.co.uk (Ben Laurie) wrote: >> >>> I don't see why not - the technical details actually matter. Since the >>> servers will all share a socket, on any normal architecture, they'll all >>> have access to everyone's private keys. So, what is gained by having >>> separate certs? >> >> I responded in private email: >> >>> With a POLA architecture, perhaps on a capability OS (dream, dream), >>> they might not share access to the private keys. However, given current >>> software, I grant your point. >> >> Ben responded that I should post my comments to the list. >> >> There are two scenarios I see as being viable for separating the private >> keys with a security barrier. One is the single machine case alluded to >> above. Here the private keys would be in separate security domains, and >> the common part of the web server, which listens on the socket, would >> read the initial data on the TCP connection, select the correct security >> domain, and "pass" the connection to that domain. While the common part >> could continue to examine all the data, those data would be encrypted, >> so the it would have the same access as any other untrusted node in the >> path. >> >> The other scenario involves a network switch which performs the function >> of the common code of the web server. It uses network address >> translation to forward the connection's packets to the back-end computer >> with the correct private key. Here the keys are protected by being kept >> on separate computers. > >This would defeat the reason people share IP addresses, which is so they >can share a single machine to reduce costs. Of course, a capability OS >would permit this whilst separating keys, as you said. > It doesn't have to be a capability-based OS; one could easily envision a (ahem) alternate browser strategy accomplish it. Consider, to pick a non-random example, Apache. Apache 2.0.x (and I think 1.y, but I don't run it so I can't be sure) forks several child processes to actually serve the pages. What if the directives contained an optional User directive that specified the uid each virtual host should run as? You could have different processes for different virtual hosts. Yes, that would require more bookkeeping on the part of Apache; it would also require more (perhaps many more) processes running simultaneously. Both of those are much smaller changes than a capability-based OS. (Hmm -- who was it who noted that capability- based systems were the wave of the future, and always would be?) A final note -- multiple IP addresses is not the same as multiple machines. Lots of hosting companies dedicate an IP address to each customer, but put them all on a single machine. --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at algroup.co.uk Fri Jan 6 12:06:50 2006 From: ben at algroup.co.uk (Ben Laurie) Date: Fri, 06 Jan 2006 17:06:50 +0000 Subject: browser vendors and CAs agreeing on high-assurance certificat es In-Reply-To: <20060106160500.C91803C01C7@berkshire.machshav.com> References: <20060106160500.C91803C01C7@berkshire.machshav.com> Message-ID: <43BEA3AA.9020401@algroup.co.uk> Steven M. Bellovin wrote: > In message <43BE8ADC.6010409 at algroup.co.uk>, Ben Laurie writes: >> Bill Frantz wrote: >>> On 12/24/05, ben at algroup.co.uk (Ben Laurie) wrote: >>> >>>> I don't see why not - the technical details actually matter. Since the >>>> servers will all share a socket, on any normal architecture, they'll all >>>> have access to everyone's private keys. So, what is gained by having >>>> separate certs? >>> I responded in private email: >>> >>>> With a POLA architecture, perhaps on a capability OS (dream, dream), >>>> they might not share access to the private keys. However, given current >>>> software, I grant your point. >>> Ben responded that I should post my comments to the list. >>> >>> There are two scenarios I see as being viable for separating the private >>> keys with a security barrier. One is the single machine case alluded to >>> above. Here the private keys would be in separate security domains, and >>> the common part of the web server, which listens on the socket, would >>> read the initial data on the TCP connection, select the correct security >>> domain, and "pass" the connection to that domain. While the common part >>> could continue to examine all the data, those data would be encrypted, >>> so the it would have the same access as any other untrusted node in the >>> path. >>> >>> The other scenario involves a network switch which performs the function >>> of the common code of the web server. It uses network address >>> translation to forward the connection's packets to the back-end computer >>> with the correct private key. Here the keys are protected by being kept >>> on separate computers. >> This would defeat the reason people share IP addresses, which is so they >> can share a single machine to reduce costs. Of course, a capability OS >> would permit this whilst separating keys, as you said. >> > It doesn't have to be a capability-based OS; one could easily envision > a (ahem) alternate browser strategy accomplish it. Consider, to pick a > non-random example, Apache. Apache 2.0.x (and I think 1.y, but I don't > run it so I can't be sure) forks several child processes to actually > serve the pages. What if the directives contained an > optional User directive that specified the uid each virtual host should > run as? You could have different processes for different virtual hosts. Apache 1.x does indeed service each connection within its own child process. Apache 2.x actually has a more flexible mechanism: it uses things called MPMs (Multi-Processing Modules) which choose how connections are handled. Some of them use threading and some use processes and some use both. There is an MPM called "perchild" which does exactly what you want: http://httpd.apache.org/docs/2.0/mod/perchild.html - sadly, it is not currently functional, though I'm sure that either money or time would make it so. > Yes, that would require more bookkeeping on the part of Apache; it > would also require more (perhaps many more) processes running > simultaneously. I think this is certainly a risk. > Both of those are much smaller changes than a > capability-based OS. (Hmm -- who was it who noted that capability- > based systems were the wave of the future, and always would be?) Someone firmly rooted in the past, perhaps? > A final note -- multiple IP addresses is not the same as multiple > machines. Lots of hosting companies dedicate an IP address to each > customer, but put them all on a single machine. True, but at least with multiple IPs you can bind separate instances of the webserver to each IP on conventional OSes, unlike name-based virtual hosting. Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Fri Jan 6 12:34:17 2006 From: perry at piermont.com (Perry E. Metzger) Date: Fri, 06 Jan 2006 12:34:17 -0500 Subject: phone records for sale. Message-ID: <87sls1s1k6.fsf@snark.piermont.com> The Chicago Sun Times reports that, for the right price, you can buy just about anyone's cell phone records: http://www.suntimes.com/output/news/cst-nws-privacy05.html Quite disturbing. Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Fri Jan 6 13:46:40 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Fri, 06 Jan 2006 13:46:40 -0500 Subject: phone records for sale. In-Reply-To: (Your message of "Fri, 06 Jan 2006 12:34:17 EST.") <87sls1s1k6.fsf@snark.piermont.com> Message-ID: <20060106184640.1CCD83C01BA@berkshire.machshav.com> In message <87sls1s1k6.fsf at snark.piermont.com>, "Perry E. Metzger" writes: > >The Chicago Sun Times reports that, for the right price, you can buy >just about anyone's cell phone records: > >http://www.suntimes.com/output/news/cst-nws-privacy05.html > >Quite disturbing. Yes, but it's also bad reporting -- the newspaper neglected to call the cell phone companies and ask what their privacy policies are. What happened may have been 100% legal and explicitly permitted by law... 18 USC 2702(a)(3) says a provider of remote computing service or electronic communication service to the public shall not knowingly divulge a record or other information pertaining to a subscriber to or customer of such service (not including the contents of communications covered by paragraph (1) or (2)) to any governmental entity. 18 USC 2702(c) says A provider described in subsection (a) may divulge a record or other information pertaining to a subscriber to or customer of such service (not including the contents of communications covered by subsection (a)(1) or (a)(2)) ... (6) to any person other than a governmental entity. See http://www4.law.cornell.edu/uscode/html/uscode18/usc_sec_18_00002702----000-.html for the full text. The first time I read that last clause, I couldn't believe it; I actually went and looked up the legislative history. I found that Congress wanted to permit sale for marketing or financial reasons, but wanted to limit the power of the government. (The Supreme Court had ruled previously that individuals had no expectation of privacy for phone numbers they'd dialed, since they were being given voluntarily to a third party -- the phone company.) If the phone companies are not giving it out voluntarily, perhaps they're being tricked or perhaps they have corrupt employees. From my experience, one way you authenticate yourself to a cell phone company is by social security number, and those aren't exactly hard to find. That possibility suggests using stronger authentication, but of course that gets in the way of customer service for the 99.99% of queries that are legitimate. (I've had to call my company from abroad, more than once, on fairly urgent matters. I had no easy access to, say, my last bill.) --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From hh at hackhawk.net Fri Jan 6 13:49:19 2006 From: hh at hackhawk.net (Hack Hawk) Date: Fri, 06 Jan 2006 10:49:19 -0800 Subject: phone records for sale. In-Reply-To: <87sls1s1k6.fsf@snark.piermont.com> References: <87sls1s1k6.fsf@snark.piermont.com> Message-ID: <1136573359.2596.26.camel@localhost.localdomain> On Fri, 2006-01-06 at 09:34, Perry E. Metzger wrote: > http://www.suntimes.com/output/news/cst-nws-privacy05.html > > Quite disturbing. More disturbing than even the people at Chicago Sun Times realize apparently. ;) Hope no-one was sniffing their email. 'It was as simple as e-mailing the telephone number to the service along with a credit card number.' --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jadler at verisign.com Fri Jan 6 13:59:36 2006 From: jadler at verisign.com (Adler, Joseph) Date: Fri, 6 Jan 2006 10:59:36 -0800 Subject: phone records for sale. Message-ID: <75DE559724404D4384020EAEEB8DD1B901A59D62@MOU1WNEXMB01.vcorp.ad.vrsn.com> I got curious about this issue, and did a little digging into what's going on here. It turns out that the FCC is looking into this problem at EPIC's request. EPIC filed a petition for rulemaking on this subject with the FCC - which went out for public comment at the end of the year. The petition itself contains copious material about the practices and methods - which you can download. Use the FCC ECFS template: http://gullfoss2.fcc.gov/prod/ecfs/comsrch_v2.cgi and enter "RM-11277" without the quotes, and click on Retrieve Document List. I found both the original petition and the replies from service providers fascinating. -- Joseph Adler -----Original Message----- From: owner-cryptography at metzdowd.com [mailto:owner-cryptography at metzdowd.com] On Behalf Of Perry E. Metzger Sent: Friday, January 06, 2006 9:34 AM To: cryptography at metzdowd.com Subject: phone records for sale. The Chicago Sun Times reports that, for the right price, you can buy just about anyone's cell phone records: http://www.suntimes.com/output/news/cst-nws-privacy05.html Quite disturbing. Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Mon Jan 9 10:55:50 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Mon, 9 Jan 2006 10:55:50 -0500 Subject: phone records for sale. Message-ID: | 18 USC 2702(c) says | | A provider described in subsection (a) may divulge a record or | other information pertaining to a subscriber to or customer of | such service (not including the contents of communications | covered by subsection (a)(1) or (a)(2)) ... | | (6) to any person other than a governmental entity. | | The first time I read that last clause, I couldn't believe it; I | actually went and looked up the legislative history. I found that | Congress wanted to permit sale for marketing or financial reasons, but | wanted to limit the power of the government. (The Supreme Court had | ruled previously that individuals had no expectation of privacy for | phone numbers they'd dialed, since they were being given voluntarily to | a third party -- the phone company.) Where two parties exchange information voluntarily, deciding who ought to have control of what can get ... interesting. Here's a more complex case: Vendors have long claimed the right use their own customer lists for marketing purposes. But suppose you buy using a credit card. Then information about your purchase is known not just to you and the vendor you dealt with, but the credit card company (construed broadly - there's the issuing bank, the vendor's bank, various clearing houses...). Can the credit card company use the same information for marketing - selling, say, a list of a vendor's customers who used a credit card to the vendor's competitors? The same vendors who claim that you have no right to tell them what they can do with the transaction information incidental to you doing business with them make a very different set of arguments when its "their" information being sold by someone else. This issue came up a number of years ago, but I haven't heard anything recent about it. I'm not sure how it came out - the credit card companies may have decided to back off because the profit wasn't worth the conflicts. We're in the midst of battles, not yet resolved as far as I know, about whether a search engine can let company A put ads up in reponse to searches for competitor company B. Can an ISP sell lists of people who visited ford.com from among their customers to GM? Information doesn't want to be free - in today's economy, information wants to be charged for everywhere, from everyone. -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Tue Jan 10 04:28:49 2006 From: solinym at gmail.com (Travis H.) Date: Tue, 10 Jan 2006 03:28:49 -0600 Subject: long-term GPG signing key Message-ID: I'd like to make a long-term key for signing communication keys using GPG and I'm wondering what the current recommendation is for such. I remember a problem with Elgamal signing keys and I'm under the impression that the 1024 bit strength provided by p in the DSA is not sufficiently strong when compared to my encryption keys, which are typically at least 4096-bit D/H, which I typically use for a year. The whole reason I'm using a signing key is that I have numerous older keys which have now expired and so the signatures on them are worthless. I don't attend many keysigning parties so it's hard to make the system work without collecting signatures over a long period on some very high strength key. Also, I'd like to use the signing key as a kind of identity, not tied to any particular email address, and only used to sign communication keys, which *are* tied to a email address and have shorter expiration times. Does anyone have any suggestions on how to do this, or suggestions to the effect that I should be doing something else? -- "If I could remember the names of these particles, I would have been a botanist" -- Enrico Fermi -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Tue Jan 10 07:22:39 2006 From: solinym at gmail.com (Travis H.) Date: Tue, 10 Jan 2006 06:22:39 -0600 Subject: phone records for sale. In-Reply-To: <87sls1s1k6.fsf@snark.piermont.com> References: <87sls1s1k6.fsf@snark.piermont.com> Message-ID: You can get records of most kinds from various private investigators and data brokers for a fee. I first found out about this in the mid-90s, but I'm sure they existed before that. Where the data collection is illegal, the reputable firms assure you that they are not doing anything illegal, which is correct; they farm it out to contractors with more cunning than scruples, and they don't ask questions. Records of all kinds are available, including subscriber information for a specific mobile or pager number, or land lines marked as unlisted. Mitnick managed to pretext as a law enforcement agent and attempted to get an informant's drivers license record faxed to him, according to "The Fugitive Game". Apparently informants are specifically marked in the records, which alerted a DMV clerk that something was amiss. A book I recently read reports that DEA agents have given up informant names and other info to murderous cartels for as little as $50 a pop, so to speak. A well-intentioned law might stop wholesale retail operations, but I have doubts it would stop the suitably motivated. I'd rather not have to try to restrict the activities of some other party who has my information, I'd rather prevent information from leaking to other parties in the first place. The case of utilities delivered to one's residence is particularly problematic as far as privacy goes. -- "If I could remember the names of these particles, I would have been a botanist" -- Enrico Fermi -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Tue Jan 10 11:10:44 2006 From: iang at systemics.com (Ian G) Date: Tue, 10 Jan 2006 16:10:44 +0000 Subject: long-term GPG signing key In-Reply-To: References: Message-ID: <43C3DC84.3040004@systemics.com> Travis H. wrote: > I'd like to make a long-term key for signing communication keys using > GPG and I'm wondering what the current recommendation is for such. I > remember a problem with Elgamal signing keys and I'm under the > impression that the 1024 bit strength provided by p in the DSA is not > sufficiently strong when compared to my encryption keys, which are > typically at least 4096-bit D/H, which I typically use for a year. 1. Signing keys face a different set of non-crypto threats than to encryption keys. In practice, the attack envelope is much smaller, less likely. Unless you have particular circumstances, it's not as important to have massive strength in signing keys as it is in encryption keys. 2. DSA has a problem, it relies on a 160 bit hash, which is for most purposes the SHA-1 hash. Upgrading the crypto to cope with current hash circumstances is not worthwhile; we currently are waiting on NIST to lead review in hashes so as to craft a new generation. Only after that is it possible to start on a new "DSA". So any replacement / fix for DSA is years away, IMO. The OpenPGP group has wrestled with this and more or less decided to defer it. 3. The RSA patent expired, which means that RSA no longer has everyone over a barrel. For various reasons, many projects are drifting back to RSA for signing and for encryption. > Does anyone have any suggestions on how to do this, or suggestions to > the effect that I should be doing something else? If you want something stronger, then I'd suggest you just use a big RSA key for signing. iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Tue Jan 10 14:42:44 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Tue, 10 Jan 2006 14:42:44 -0500 Subject: SIGINT and the prisoner "rendition" scandal Message-ID: <20060110194244.C410E3C0203@berkshire.machshav.com> Without going into the details of the purported CIA "rendition" of prisoners to other countries ("it's not torture; we're just outsourcing interrogration to places with less legal overhead"), there may be a SIGINT connection. The following text appeared in an AP wire story today about a purported Egyptian government document: But Dick Marty, a Swiss senator leading the probe on behalf of the Council of Europe, said it was still not clear that the document -- a fax reportedly sent by satellite transmission from Egypt's Foreign Ministry to its embassy in London -- was genuine. ... Marty also said he wondered how Swiss intelligence intercepted a fax allegedly sent from Egypt to London. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Wed Jan 11 03:04:19 2006 From: iang at systemics.com (Ian G) Date: Wed, 11 Jan 2006 08:04:19 +0000 Subject: long-term GPG signing key In-Reply-To: <43C44F9A.1040909@cs.biu.ac.il> References: <43C3DC84.3040004@systemics.com> <43C44F9A.1040909@cs.biu.ac.il> Message-ID: <43C4BC03.4090804@systemics.com> Amir Herzberg wrote: > Ian G wrote: > >> Travis H. wrote: >> >>> I'd like to make a long-term key for signing communication keys using >>> GPG and I'm wondering what the current recommendation is for such. I >>> remember a problem with Elgamal signing keys and I'm under the >>> impression that the 1024 bit strength provided by p in the DSA is not >>> sufficiently strong when compared to my encryption keys, which are >>> typically at least 4096-bit D/H, which I typically use for a year. >> >> >> 1. Signing keys face a different set of >> non-crypto threats than to encryption >> keys. > > Agreed. > >> In practice, the attack envelope >> is much smaller, less likely. > > Huh? It depends on the application. Many applications care only (or > mostly) on authentication, e.g. secure DNS (or CA). Or secure payment > protocols (not based on sending `secrets` such as credit card numbers...). Well, yes, depends on the application of course! With this particular application - signing people's keys for WoT - that's generally true. If I was to crack your signing key for example, then wander around impersonating you, this is unlikely to do anything useful except confuse people a lot until you all figure it out. If we limit our discussion to actual extent and popular protocols, it is easier to see. Take for example this *extreme* case of the CA application. If I was to publish Verisign's private key on usenet, what difference would that make? Other than a lot of red faces, not as much as one would think; they would simply roll another key, then re-sign everyone's certs and post them out with a free year for the nuisance factor. Then a CERT advisory would tell every "merchant" to roll over their certs, and browsers would ship new roots. (Actually it's probably worse than that. We stand at the cusp of SSL attacks, 450 seen last year, so this would spur a bunch of forged cert attacks. Compare this to a couple of years back when someone noticed that IE had a cert bug in it, and nobody noticed. And nobody ever bothered to attack it.) But that's the *extreme* case, more or less like Microsoft faces every month. For the regular case of say Amazon's private key, well, Amazon would have a lot of nuisance to deal with, but in practice it would just be in up-tick in normal phishing against them for a few months. Various random posts: Netcraft - 450 phishing cases using SSL / HTTPS certs https://www.financialcryptography.com/mt/archives/000624.html RSA comes clean: MITM on the rise, Hardware Tokens don't cut it, Certificate Model to be Replaced! https://www.financialcryptography.com/mt/archives/000633.html GP4.3 - Growth and Fraud - Case #3 - Phishing https://www.financialcryptography.com/mt/archives/000609.html > > 3. The RSA patent expired, which means that > >> RSA no longer has everyone over a barrel. >> For various reasons, many projects are >> drifting back to RSA for signing and for >> encryption. > > Yes, but depending on how many years you need, the length of key can > become substantial/a concern. In which case, you may consider some of > the EC signatures or other short signatures. Be careful regarding the > hashing, though. I don't think EC is available for OpenPGP although GPG may have some experimental product in it? On the whole - another complete generalisation - open projects tend to shy away from EC as there is no clear patent situation, and putting all the work in only to discover some claim later on is not effective use of time. Our Cryptix project to do EC in Java (Paulo in Brazil) stalled when he discovered that the so-called "unencumbered" set was actually quite slow... iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Wed Jan 11 09:04:07 2006 From: perry at piermont.com (Perry E. Metzger) Date: Wed, 11 Jan 2006 09:04:07 -0500 Subject: long-term GPG signing key In-Reply-To: <43C3DC84.3040004@systemics.com> (Ian G.'s message of "Tue, 10 Jan 2006 16:10:44 +0000") References: <43C3DC84.3040004@systemics.com> Message-ID: <874q4avp2g.fsf@snark.piermont.com> Ian G writes: > Travis H. wrote: >> I'd like to make a long-term key for signing communication keys using >> GPG and I'm wondering what the current recommendation is for such. I >> remember a problem with Elgamal signing keys and I'm under the >> impression that the 1024 bit strength provided by p in the DSA is not >> sufficiently strong when compared to my encryption keys, which are >> typically at least 4096-bit D/H, which I typically use for a year. > > 1. Signing keys face a different set of > non-crypto threats than to encryption > keys. In practice, the attack envelope > is much smaller, less likely. I call "bull". You have no idea what his usage pattern is like, and you have no idea what the consequences for him of a forged signature key might be. It is therefore unreasonable -- indeed, unprofessional -- to make such claims off the cuff. -- Perry E. Metzger perry at piermont.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Wed Jan 11 09:20:39 2006 From: solinym at gmail.com (Travis H.) Date: Wed, 11 Jan 2006 08:20:39 -0600 Subject: long-term GPG signing key In-Reply-To: <43C3DC84.3040004@systemics.com> References: <43C3DC84.3040004@systemics.com> Message-ID: On 1/10/06, Ian G wrote: > 2. DSA has a problem, it relies on a 160 > bit hash, which is for most purposes the > SHA-1 hash. Upgrading the crypto to cope > with current hash circumstances is not > worthwhile; we currently are waiting on > NIST to lead review in hashes so as to > craft a new generation. What's wrong with SHA-256 and SHA-512? http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf I agree though that hashes (I hate the term, hashing has little to do with creating OWFs) are not as advanced as block cipher design, and 160 bits seems rather small, but surely SHA-256 would be better than throwing one's hands up, claiming it's unsolvable, and sticking with SHA-1, right? If the problem is size, the answer is there. If the problem is structural, a temporary answer is there. Using two structurally different hashes seems like a grand idea for collision restistance, but bad for one-wayness. One-wayness seems to matter for message encryption, but doesn't seem to matter for signing public keys - or am I missing something? -- "If I could remember the names of these particles, I'd have been a botanist" -- Enrico Fermi -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From adam at cypherspace.org Wed Jan 11 09:22:30 2006 From: adam at cypherspace.org (Adam Back) Date: Wed, 11 Jan 2006 09:22:30 -0500 Subject: long-term GPG signing key In-Reply-To: <874q4avp2g.fsf@snark.piermont.com> References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: <20060111142230.GA9943@bitchcake.off.net> There are a number of differences in key management priorities between (communication) signature and encryption keys. For encryption keys: - you want short lived keys - you should wipe the keys after at first opportunity - for archiving you should re-encrypt with storage keys - you can't detect or prove an encryption key is compromised as the attacker will just be decrypting documents For signature keys: - you want longer lived keys (or two tier keys, one for ceritfying that is kept offline, and one for signing communications that is offline) - in fact many applications dont even want signatures they want authentication (convince the recipient of author and integrity, but be non-transferable) - with signature keys if they are compromised and the compromised key used, there is risk (to the attacker) that the recipient or others can detect and prove this. I do agree tho that the relative value of encryption vs signature depends on teh application. Adam On Wed, Jan 11, 2006 at 09:04:07AM -0500, Perry E. Metzger wrote: > > Ian G writes: > > Travis H. wrote: > >> I'd like to make a long-term key for signing communication keys using > >> GPG and I'm wondering what the current recommendation is for such. I > >> remember a problem with Elgamal signing keys and I'm under the > >> impression that the 1024 bit strength provided by p in the DSA is not > >> sufficiently strong when compared to my encryption keys, which are > >> typically at least 4096-bit D/H, which I typically use for a year. > > > > 1. Signing keys face a different set of > > non-crypto threats than to encryption > > keys. In practice, the attack envelope > > is much smaller, less likely. > > I call "bull". > > You have no idea what his usage pattern is like, and you have no idea > what the consequences for him of a forged signature key might be. It > is therefore unreasonable -- indeed, unprofessional -- to make such > claims off the cuff. > > -- > Perry E. Metzger perry at piermont.com > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Wed Jan 11 10:00:02 2006 From: iang at systemics.com (Ian G) Date: Wed, 11 Jan 2006 15:00:02 +0000 Subject: long-term GPG signing key In-Reply-To: References: <43C3DC84.3040004@systemics.com> Message-ID: <43C51D72.7020003@systemics.com> Travis H. wrote: > On 1/10/06, Ian G wrote: > >>2. DSA has a problem, it relies on a 160 >>bit hash, which is for most purposes the >>SHA-1 hash. Upgrading the crypto to cope >>with current hash circumstances is not >>worthwhile; we currently are waiting on >>NIST to lead review in hashes so as to >>craft a new generation. > > > What's wrong with SHA-256 and SHA-512? > > http://csrc.nist.gov/cryptval/shs/sha256-384-512.pdf > > I agree though that hashes (I hate the term, hashing has little to do > with creating OWFs) are not as advanced as block cipher design, and > 160 bits seems rather small, but surely SHA-256 would be better than > throwing one's hands up, claiming it's unsolvable, and sticking with > SHA-1, right? Well, it's a pragmatic situation: * all SHA algorithms are under a cloud * anything 160 bits or less is under a dark-ish cloud * the bigger ones won't break, but maybe the engineering will all change anyway * DSA has to be upgraded anyway * what's wrong with RSA in this role? * where's the threat to the DSA algorithm given that the attack is the birthday attack? * where's the threat to any extent usage of DSA (within its application profile)? Pragmatically, wait and see is a good choice here, IMO, but others disagree. > If the problem is size, the answer is there. If the problem is > structural, a temporary answer is there. DSA is fixed to a 160 bit hash (or is it DSS?). So, it's possible to do RIPEM or a chopped off version of SHA-256. The question is, what does that gain you? Not that much, and probably not as much as the pain of rolling out a new digsig algorithm. > Using two structurally different hashes seems like a grand idea for > collision restistance, but bad for one-wayness. One-wayness seems to > matter for message encryption, but doesn't seem to matter for signing > public keys - or am I missing something? Well, using two different MDs to cover one failing is a plausible idea - but at a logical and cryptographic level, all you are doing is inventing your own hash algorithm, constructed from some prior work. So, we can look at for example cipher chaining like triple-DES. There are strange artifacts such as groups where non-obvious things come in and trip you up. Even though triple-DES is still considered to have avoided that trap, its relatively small block size means you can now put the entire decrypt table on a dvd (or somesuch, I forget the maths). So in general, it's not a good idea to just invent your own algorithms; if you could do better so easily, so could the professional cryptographers, and they would have by now. iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Wed Jan 11 10:16:06 2006 From: iang at systemics.com (Ian G) Date: Wed, 11 Jan 2006 15:16:06 +0000 Subject: long-term GPG signing key In-Reply-To: <874q4avp2g.fsf@snark.piermont.com> References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: <43C52136.1090802@systemics.com> Perry E. Metzger wrote: > Ian G writes: > >>Travis H. wrote: >> >>>I'd like to make a long-term key for signing communication keys using >>>GPG and I'm wondering what the current recommendation is for such. I >>>remember a problem with Elgamal signing keys and I'm under the >>>impression that the 1024 bit strength provided by p in the DSA is not >>>sufficiently strong when compared to my encryption keys, which are >>>typically at least 4096-bit D/H, which I typically use for a year. >> >>1. Signing keys face a different set of >>non-crypto threats than to encryption >>keys. In practice, the attack envelope >>is much smaller, less likely. > > > I call "bull". > > You have no idea what his usage pattern is like, and you have no idea > what the consequences for him of a forged signature key might be. It > is therefore unreasonable -- indeed, unprofessional -- to make such > claims off the cuff. You seem to have missed the next sentance: ".... Unless you have particular circumstances, it's not as important to have massive strength in signing keys as it is in encryption keys." As he asked "what the current recommendation is" it seems reasonable to assume the general case, not the particular, and invite him to elaborate if so needed. Etc etc. Errata - if you (Travis) are using 4096-bit D/H as your encryption keys, you might want something a bit beefier for signing keys. Check out the key length calculator: http://www.keylength.com/ and click on "NIST 2005 Recommendations" and also "ECRYPT 2005 Report" for comparison. iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Wed Jan 11 10:50:02 2006 From: perry at piermont.com (Perry E. Metzger) Date: Wed, 11 Jan 2006 10:50:02 -0500 Subject: long-term GPG signing key In-Reply-To: <43C52136.1090802@systemics.com> (Ian G.'s message of "Wed, 11 Jan 2006 15:16:06 +0000") References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> <43C52136.1090802@systemics.com> Message-ID: <878xtmhihh.fsf@snark.piermont.com> Ian G writes: > Perry E. Metzger wrote: >> Ian G writes: >> >>>Travis H. wrote: >>> >>>>I'd like to make a long-term key for signing communication keys using >>>>GPG and I'm wondering what the current recommendation is for such. I >>>>remember a problem with Elgamal signing keys and I'm under the >>>>impression that the 1024 bit strength provided by p in the DSA is not >>>>sufficiently strong when compared to my encryption keys, which are >>>>typically at least 4096-bit D/H, which I typically use for a year. >>> >>>1. Signing keys face a different set of >>>non-crypto threats than to encryption >>>keys. In practice, the attack envelope >>>is much smaller, less likely. >> I call "bull". >> You have no idea what his usage pattern is like, and you have no idea >> what the consequences for him of a forged signature key might be. It >> is therefore unreasonable -- indeed, unprofessional -- to make such >> claims off the cuff. > > You seem to have missed the next sentance: No, I didn't. > ".... Unless you have > particular circumstances, it's not > as important to have massive strength in > signing keys as it is in encryption keys." Even in totally ordinary circumstances it is important to have very strong signing keys. Your comments were insupportable. Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Wed Jan 11 11:38:52 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Wed, 11 Jan 2006 11:38:52 -0500 Subject: quantum chip built Message-ID: <20060111163852.612BC3C0205@berkshire.machshav.com> http://www.wired.com/news/technology/0%2c70001-0.html?tw=wn_tophead_5 ... So, on a semiconductor chip roughly the size of a postage stamp, the Michigan scientists designed and built a device known as an ion trap, which allowed them to isolate individual charged atoms and manipulate their quantum states. ... The new chip, which is made of gallium arsenide, should be easily scaled and mass-produced, because it's made using microlithography -- the same process that makes microchips. ... --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Wed Jan 11 15:09:38 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Wed, 11 Jan 2006 13:09:38 -0700 Subject: long-term GPG signing key In-Reply-To: <878xtmhihh.fsf@snark.piermont.com> References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> <43C52136.1090802@systemics.com> <878xtmhihh.fsf@snark.piermont.com> Message-ID: <43C56602.2070601@garlic.com> Perry E. Metzger wrote: > Even in totally ordinary circumstances it is important to have very > strong signing keys. Your comments were insupportable. there is a somewhat separate issue having to do with security proportional to risk. minor old posting: http://www.garlic.com/~lynn/2001h.html#61 the security acronym PAIN P ... privacy (or sometimes CAIN and conficentiality) A ... authentication I ... integrity N ... non-repudiation part of the problem is that sometimes confusion between digital signatures and human signatures (implying read, understood, agrees, approves, and/or authorizes). the technology is asymmetric keys .... involving a pair of keys, what one key encodes, the other key decodes (differentiates from symmetric key encryption where the same key is used for encryption and decryption). there is a business process commonly referred to as public key where one key of a asymmetric key pair is identified as public and made available. the other key is identified as private, kept confidential and never divulged. there is a business process called digital signatures where a hash of some message or document is computed and then encoded. the message/document is sent off with the appended digital signature. the recipient recomputes the hash of the message/document and decodes the digital signature with the corresponding public key. if the two hashes compare, then the recipient (or relying party) can assume: 1) the message/document hasn't changed since transmission 2) the message/document has been authenticated as originating from the entity associated with the public key. the amount of risk is associated with the risk of attack on the corresponding message/document. say the digital signature operation is used for authenticating x9.59 transactions http://www.garlic.com/~lynn/index.html#x959 http://www.garlic.com/~lynn/subpubkey.html#x959 that happen to be credit card transactions where the account owner has a credit limit of $1000, all transactions are online against the account, the account public key can be deactivated when there appears to be fraud and to the consumer the frauulent transactions can be reversed (leaving the consumer with a maximum $50 exposure). the existing infrastructure has no real authentication operation except for attempting to maintain the account number as a shared secret (which implies that the account number ... rather than any public key ... has to be deactivated & replaced when there has been compromise): http://www.garlic.com/~lynn/subpubkey.html#secret some postings on account number skimming/havesting http://www.garlic.com/~lynn/subpubkey.html#harvest some postings on fraud & vulnerabilities http://www.garlic.com/~lynn/subpubkey.html#fraud compared to some of the other payment card operations that specified public key authentication ... x9.59 allowed for 1) digital signature authenticated transactions 2) account number used in authenticated transactions could not be skimmed and used in non-authenticated transactions (which some of the other specifications allowed) ... basically countermeasure to form of replay attacks and countermeasure for having to treat account number as shared-secret. the basic issue in both (digital signature) signing keys and encryption keys is what is the risk from a compromise and based on that risk you can determine the level security required. another consideration is the overall infrastructures. for many of the online e-commerce operations ... an ECC 163-bit signing key probably has a lot higher security strength than the rest of the infrastructure used to protect the signing key and/or the environment where the digital signature is applied. from an attackers standpoint that means that it is probably cheaper/easier to attack the infrastructure to capture the signing key ... than to try a brute-force attack on the signing key (and all of these other attacks are applicable regardless of the strength of the signing key). there may also be attacks on other parts of the infrastructure ... getting the financial institution to register a new public key (belonging to the attacker) or getting a certification authority to issue a new certificate with the attacker's public key in the name of the victim. some of these other operations may be currently weak because the claim is that they aren't currently the weakest link in overall infrastructure. there may be other trade-offs. it is possible to get reasonably priced 14443 contactless tokens that can do ecc 163-bit digital signing in subsecond time that may be desirable in various POS or transit turnstyle operations. going to larger key sizes may exceed both the power requirement and the elapsed time requirement (in contact token operatin you can someimes trade-off peak power draw against onger elapsed time). The case can be made in some scenarios ... that the longest possible keylength be chosen if the power and elapsed time requirements aren't a major factor. However, there can be environments where power and elapsed time requirements may justify choosing a shorter keylength (within the context of the overall environment) one of the things that payment card infrastructures have the ability to do is a real time risk evaluation on a per transaction basis and pass judgement on a wide variety of factors which might include ... key length, whether there is a certifified token protecting the signing key and what is the evaluated integrity of that token, what kind of terminal and merchant is used for the digital signing environment, the physical location of the signing, past consumer transaction history, past terminal transaction history, etc. one might imagine financial institution having different minimum token and key length requirements for different kinds of accounts and/or different kinds of transactions (based on factors like overall risk and the relative security strength in which such tokens and signing keys operate). you might some authorities setting the requirements don't understand the overall risk and infrastructure issues ... they can always go for the maximum available for everything ... even if some of the specified requirements don't make any sense in a particular overall infrastructurt. the other may be that the infrastructure has no means of differentiating and authorizing at different levels of risk ... so that the requirements have to mandate the maximum strength for all components, always assuming the worst case risk. there may be a lot higher risk with a (digital signature) singing public key gets confused with human signatures ... which then may carry with it the implicattion of a human read, understood, agrees, approves, and/or autherirzes the contents of what is signed, the risk exposure might also be greater is if the overall infrastructure is an offline environment that is totally dependent on digital certificates and PKI operation as opposed to a real-time, online environment that can take into account a lot larger numgber of factors (including aggregation of past transactions). --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From alex at alten.org Wed Jan 11 23:16:36 2006 From: alex at alten.org (alex at alten.org) Date: Wed, 11 Jan 2006 23:16:36 -0500 Subject: quantum chip built Message-ID: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> >From what I understand simple quantum computers can easily brute-force attack RSA keys or other types of PK keys. Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? - Alex ----- Original Message ----- From: "Steven M. Bellovin" To: cryptography at metzdowd.com Subject: quantum chip built Date: Wed, 11 Jan 2006 11:38:52 -0500 > > http://www.wired.com/news/technology/0%2c70001-0.html?tw=wn_tophead_5 > > ... > > So, on a semiconductor chip roughly the size of a postage stamp, the > Michigan scientists designed and built a device known as an ion trap, > which allowed them to isolate individual charged atoms and manipulate > their quantum states. > > ... > > The new chip, which is made of gallium arsenide, should be easily > scaled and mass-produced, because it's made using microlithography -- > the same process that makes microchips. > > ... > > > --Steven M. Bellovin, http://www.cs.columbia.edu/~smb > > > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Thu Jan 12 01:48:05 2006 From: solinym at gmail.com (Travis H.) Date: Thu, 12 Jan 2006 00:48:05 -0600 Subject: long-term GPG signing key In-Reply-To: <874q4avp2g.fsf@snark.piermont.com> References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: I must admit, I just had a "duh" moment. Why the heck am I expiring encryption keys each year? Anyone who records the email can crack it even if the key is invalid by then. All it really does is crudely limit the quantity of data sent under that key, which is little to none anyway. *bonks forehead* -- http://www.lightconsulting.com/~travis/ "Vast emptiness, nothing sacred." -- Bodhidharma -><- GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From alserkli at inbox.ru Thu Jan 12 06:14:53 2006 From: alserkli at inbox.ru (Alexander Klimov) Date: Thu, 12 Jan 2006 13:14:53 +0200 (IST) Subject: long-term GPG signing key In-Reply-To: <43C51D72.7020003@systemics.com> References: <43C3DC84.3040004@systemics.com> <43C51D72.7020003@systemics.com> Message-ID: On Wed, 11 Jan 2006, Ian G wrote: > Even though triple-DES is still considered to have avoided that > trap, its relatively small block size means you can now put the > entire decrypt table on a dvd (or somesuch, I forget the maths). This would need 8 x 2^{64} bytes of storage which is approximately 2,000,000,000 DVD's (~ 4 x 2^{32} bytes on each). Probably, you are referring to the fact that during encryption of a whole DVD, say, in CBC mode two blocks are likely to be the same since there are an order of 2^{32} x 2^{32} pairs. -- Regards, ASK --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rob at nephelococcygia.demon.co.uk Thu Jan 12 07:02:31 2006 From: rob at nephelococcygia.demon.co.uk (Rob Skedgell) Date: Thu, 12 Jan 2006 12:02:31 +0000 Subject: long-term GPG signing key In-Reply-To: <43C4BC03.4090804@systemics.com> References: <43C44F9A.1040909@cs.biu.ac.il> <43C4BC03.4090804@systemics.com> Message-ID: <200601121202.33330.rob@nephelococcygia.demon.co.uk> On Wednesday 11 January 2006 08:04, Ian G wrote: [...] > I don't think EC is available for OpenPGP although > GPG may have some experimental product in it? RFC2440 has 9.1. Public Key Algorithms has ID 18 as "Reserved for Elliptic Curve" followed by the statement "Implementations MAY implement any other algorithm." [...] -- Rob Skedgell --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From guus at sliepen.eu.org Thu Jan 12 12:26:16 2006 From: guus at sliepen.eu.org (Guus Sliepen) Date: Thu, 12 Jan 2006 18:26:16 +0100 Subject: long-term GPG signing key In-Reply-To: References: Message-ID: <20060112172616.GG5188@sliepen.eu.org> On Tue, Jan 10, 2006 at 03:28:49AM -0600, Travis H. wrote: > I'd like to make a long-term key for signing communication keys using > GPG and I'm wondering what the current recommendation is for such. I > remember a problem with Elgamal signing keys and I'm under the > impression that the 1024 bit strength provided by p in the DSA is not > sufficiently strong when compared to my encryption keys, which are > typically at least 4096-bit D/H, which I typically use for a year. > > The whole reason I'm using a signing key is that I have numerous older > keys which have now expired and so the signatures on them are > worthless. I don't attend many keysigning parties so it's hard to > make the system work without collecting signatures over a long period > on some very high strength key. Also, I'd like to use the signing key > as a kind of identity, not tied to any particular email address, and > only used to sign communication keys, which *are* tied to a email > address and have shorter expiration times. > > Does anyone have any suggestions on how to do this, or suggestions to > the effect that I should be doing something else? By default, GPG creates a signing key and an encryption key. The signing key is used both for signing other keys (including self-signing your own keys), and for signing documents (like emails). However, it is possible to "split" the signing key into a master key that you only use to sign other keys, and a key dedicated to signing documents. You can revoke the latter key and create a new one whenever you want, the master key is still valid. Also, when people sign your key, they sign your master key, not the subkeys. The signatures you accumulated will also still be valid. You can also keep the master key safely tucked away on an old laptop that you keep in a safe, and only export the subkeys to your workstation. That way the master key is very safe. About keys being tied to "email addresses" (uids): you can create a uid with just your name, no email address, and if you like a comment with your birthday or passport number in it. Let people sign that uid. -- Met vriendelijke groet / with kind regards, Guus Sliepen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From eugen at leitl.org Fri Jan 13 02:34:38 2006 From: eugen at leitl.org (Eugen Leitl) Date: Fri, 13 Jan 2006 08:34:38 +0100 Subject: [arma@mit.edu: Tor security advisory: hidden services can be located quickly] Message-ID: <20060113073438.GI2247@leitl.org> ----- Forwarded message from Roger Dingledine ----- From: Roger Dingledine Date: Thu, 12 Jan 2006 18:03:40 -0500 To: or-announce at freehaven.net Subject: Tor security advisory: hidden services can be located quickly User-Agent: Mutt/1.5.9i Reply-To: or-talk at freehaven.net Versions affected: all stable versions, and all experimental versions up through 0.1.1.10-alpha. Impact: If you offer a Tor hidden service, an adversary who can run a fast Tor server and who knows some basic statistics can find the location of your hidden service in a matter of minutes to hours. Solution: You have three options: 1) Upgrade to Tor 0.1.1.12-alpha from the Tor download page [1]. You're all set, though be aware that this is an alpha release so there may be other bugs. You may also want to look through the release notes [2]. 2) Turn off your hidden service until the final 0.1.1.x release is out. It may be several months. 3) Stick with Tor 0.1.0.16 and manually configure a half dozen EntryNodes. See the FAQ entry [3] for some hints about how to do this. The details: Tor researchers Lasse ?verlier and Paul Syverson have confirmed that a previously theoretical attack on Tor works very well in practice. Specifically, they found that a malicious Tor server can locate a hidden service more quickly than was previously believed. The attack is simple: access the hidden service repeatedly, and keep track of who builds circuits through you shortly after each access. Because you can induce your victim to build a new circuit on demand, eventually one of his circuits will start at your node. To slow this attack, our latest experimental release implements a new feature called "guard nodes": it automatically chooses a handful of entry nodes and sticks with them for all circuits. This idea is adapted from the "helper node" concept published by Wright et al [4], but with improved reliability: rather than picking a set of entry nodes and refusing to access the Tor network if they all become unreachable, Tor's design dynamically picks new guards as needed, yet switches back to the old ones when they become reachable again. Therefore Tor users still have the same level of robustness as before, but the chance of a successful attack by a limited adversary is greatly reduced. More details will be presented on January 14 at Shmoocon [5] and January 26 at Black Hat Federal [6]. --Roger [1] http://tor.eff.org/download [2] http://archives.seul.org/or/talk/Jan-2006/msg00024.html http://archives.seul.org/or/talk/Jan-2006/msg00026.html [3] http://wiki.noreply.org/noreply/TheOnionRouter/TorFAQ#ChooseEntryExit [4] http://freehaven.net/anonbib/#wright03 [5] http://www.shmoocon.org/speakers.html#overlier [6] http://www.blackhat.com/html/bh-federal-06/bh-fed-06-speakers.html#Syverson ----- End forwarded message ----- -- Eugen* Leitl leitl http://leitl.org ______________________________________________________________ ICBM: 48.07100, 11.36820 http://www.ativel.com 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From jsd at av8n.com Fri Jan 13 10:17:55 2006 From: jsd at av8n.com (John Denker) Date: Fri, 13 Jan 2006 10:17:55 -0500 Subject: quantum chip built In-Reply-To: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> References: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> Message-ID: <43C7C4A3.6080008@av8n.com> alex at alten.org wrote: > From what I understand simple quantum computers can easily brute-force attack RSA keys or other > types of PK keys. My understanding is that quantum computers cannot "easily" do anything. As the saying goes: "We can factor the number 15 with quantum computers. We can also factor the number 15 with a dog trained to bark three times." --- Robert Harley, 5/12/01, Sci.crypt. Scaling up a quantum computer to handle numbers much larger than 15 will not be done "easily". > Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? I can't say for sure. There /might/ be a radical breakthrough in quantum cryptanalysis tomorrow. But I doubt it. There is a comparably small likelihood of a breakthrough in _classical_ (i.e. non-quantum) cryptanalysis tomorrow. To put this in context: In the world there are incomparably more RSA keys that are vulnerable to classical cryptanalytic attack than are vulnerable to quantum attack. As a specific example, a 30-digit RSA key could be easily brute-forced by classical methods, but will not be vulnerable to quantum-computer chips for many years. (Of course I exclude the case where you attach a quantum-computer chip to the front of your PC using crazy glue and market the combination as a quantum computer.) To put cryptanalysis in context: A person skilled in the art should be able to create RSA keys and/or ECC keys with a 10-year lifetime such that the risk of mathematical cryptanalysis is negligible compared to the risk of "practical" cryptanalysis, e.g. bribery, rubber-hose techniques, etc. applied to authorized keyholders. I'm not saying the risk is zero, just negligible compared to other risks. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From iang at systemics.com Fri Jan 13 10:32:52 2006 From: iang at systemics.com (Ian G) Date: Fri, 13 Jan 2006 15:32:52 +0000 Subject: long-term GPG signing key In-Reply-To: References: <43C3DC84.3040004@systemics.com> <43C51D72.7020003@systemics.com> Message-ID: <43C7C824.9000502@systemics.com> Alexander Klimov wrote: > On Wed, 11 Jan 2006, Ian G wrote: > > >>Even though triple-DES is still considered to have avoided that >>trap, its relatively small block size means you can now put the >>entire decrypt table on a dvd (or somesuch, I forget the maths). > > > This would need 8 x 2^{64} bytes of storage which is approximately > 2,000,000,000 DVD's (~ 4 x 2^{32} bytes on each). > > Probably, you are referring to the fact that during encryption of a > whole DVD, say, in CBC mode two blocks are likely to be the same > since there are an order of 2^{32} x 2^{32} pairs. Thanks for the correction, yes, so obviously I muffed that one. I saw it mentioned on this list about a year ago, but didn't pay enough attention to recall the precise difficulty that the small block size of 8 bytes now has. A few calculations here - even blueray disks won't help me out. iang --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From mjec at mjec.net Fri Jan 13 11:04:33 2006 From: mjec at mjec.net (Michael Cordover) Date: Sat, 14 Jan 2006 03:04:33 +1100 Subject: quantum chip built In-Reply-To: <43C7C4A3.6080008@av8n.com> References: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> <43C7C4A3.6080008@av8n.com> Message-ID: <43C7CF91.9070705@mjec.net> John Denker wrote: > alex at alten.org wrote: >> From what I understand simple quantum computers can easily brute-force >> attack RSA keys or other >> types of PK keys. > > My understanding is that quantum computers cannot "easily" do anything. > Au contraire, quantum computers can easily perform prime factoring or perform discrete logarithms - this is Shor's algorithm and has been known for more than a decade. The difficulty is in making a QC. > >> Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? > ECC is also at risk because it relies on the difficulty of discrete logarithms which are victim to a quantum attack. Are we at risk in 10, 20 or 30 years? Well, as John said, it's hard to say. The first working 2 qbit computers were demonstrated in 1998, then 3 qbits in the same year. 7 qbits were demonstrated in 2000. 8 in December 2005. As you can see, adding a qbit is pretty hard. In order to factor a 1024 bit modulus you'd need a 1024 bit QC. Perhaps if there were some sudden breakthrough it'd be a danger in a decade - but this is the same as the risk of a sudden classical breakthrough: low. My assessment: nothing to worry about for now or in the immediate future. A key valid for 20 years will face much greater dangers from expanding classical computer power, weak implementations, social engineering etc. The "quantum chip" is just a new housing, not anything that puts RSA or ECC at risk. Regards, Michael Cordover -- http://mine.mjec.net/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From mads at lsitec.org.br Fri Jan 13 11:18:51 2006 From: mads at lsitec.org.br (Mads Rasmussen) Date: Fri, 13 Jan 2006 14:18:51 -0200 Subject: quantum chip built Message-ID: <43C7D2EB.5040707@lsitec.org.br> Steven M. Bellovin wrote: >http://www.wired.com/news/technology/0%2c70001-0.html?tw=wn_tophead_5 > They seems to have built a device which can store one qubit, isolated from the rest of the world. They seem to be able to scale up their technique to store many qubits, but I strongly suspect that they cannot store those many qubits COHERENTLY. To store reliably individual qubits is not that difficult, but to prevent entangled systems from interacting with the environment is very, very difficult. Maybe someone else can give more information? -- Mads Rasmussen LEA - Laborat?rio de Ensaios e Auditoria (Cryptographic Certification Laboratory) Office: +55 11 4208 3873 Mobile: +55 11 9655 8885 Skype: mads_work http://www.lea.gov.br --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Fri Jan 13 11:29:05 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Fri, 13 Jan 2006 11:29:05 -0500 Subject: long-term GPG signing key In-Reply-To: (Your message of "Fri, 13 Jan 2006 15:32:52 GMT.") <43C7C824.9000502@systemics.com> Message-ID: <20060113162905.36DEF3C0132@berkshire.machshav.com> In message <43C7C824.9000502 at systemics.com>, Ian G writes: >Alexander Klimov wrote: >> On Wed, 11 Jan 2006, Ian G wrote: >> >> >>>Even though triple-DES is still considered to have avoided that >>>trap, its relatively small block size means you can now put the >>>entire decrypt table on a dvd (or somesuch, I forget the maths). >> >> >> This would need 8 x 2^{64} bytes of storage which is approximately >> 2,000,000,000 DVD's (~ 4 x 2^{32} bytes on each). >> >> Probably, you are referring to the fact that during encryption of a >> whole DVD, say, in CBC mode two blocks are likely to be the same >> since there are an order of 2^{32} x 2^{32} pairs. > >Thanks for the correction, yes, so obviously I >muffed that one. I saw it mentioned on this list >about a year ago, but didn't pay enough attention >to recall the precise difficulty that the small >block size of 8 bytes now has. The difficulty with 3DES's small blocksize is the 2^32 block limit when using CBC -- you start getting collisions, allowing the attacker to start building up a code book. The amount of data is quite within reach at gigabit speeds, and gigabit Ethernet is all but standard equipment on new computers. Mandatory arithmetic: 2^32 bytes is 2^38 bits, or ~275 * 10^9. At 10^9 bits/sec, that's less than 5 minutes. Even at 100M bps -- and that speed *is* standard today -- it's less than an hour's worth of transmission. The conclusion is that if you're encrypting a LAN, you need AES or you need to rekey fairly often. --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From wk at gnupg.org Fri Jan 13 12:06:01 2006 From: wk at gnupg.org (Werner Koch) Date: Fri, 13 Jan 2006 18:06:01 +0100 Subject: long-term GPG signing key In-Reply-To: (Travis H.'s message of "Thu, 12 Jan 2006 00:48:05 -0600") References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: <874q48ukg6.fsf@wheatstone.g10code.de> On Thu, 12 Jan 2006 00:48:05 -0600, Travis H said: > All it really does is crudely limit the quantity of data sent under > that key, which is little to none anyway. And it has the advantage that people will stop sending encrypted mail to this key after the expiration date. Comes handy if you forgot your passphrase or lost physical access to the key. Shalom-Salam, Werner --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ptrei at rsasecurity.com Fri Jan 13 09:57:25 2006 From: ptrei at rsasecurity.com (Trei, Peter) Date: Fri, 13 Jan 2006 09:57:25 -0500 Subject: long-term GPG signing key Message-ID: <017630AA6DF2DF4EBC1DD4454F8EE2970765ED3F@rsana-ex-hq1.NA.RSA.NET> Alexander Klimov wrote: >On Wed, 11 Jan 2006, Ian G wrote: >> Even though triple-DES is still considered to have avoided that trap, >> its relatively small block size means you can now put the entire >> decrypt table on a dvd (or somesuch, I forget the maths). > This would need 8 x 2^{64} bytes of storage which is approximately > 2,000,000,000 DVD's (~ 4 x 2^{32} bytes on each). > Probably, you are referring to the fact that during encryption of > a whole DVD, say, in CBC mode two blocks are likely to be the > same since there are an order of 2^{32} x 2^{32} pairs. I've actually seen something like this happen in real life. As you know, RSA has been running a series of 'Secret Key Challenges', wherein we ask people to try to brute-force messages encrypted with RC5 at various keystrengths. There is a cash prize for the person turning in the correct response. The messages are encrypted in CBC mode with 32 bit blocks. The start of the message has a known plaintext Most of the recent challenges have been won by distributed.net. While they were working on the 64 bit challenge, I received an email saying that a proposed solution had been found, and was asked to check it. (We set up the challenges in such a way that the correct keys are unknown, even to us). The supplied key correctly decrypted the first block, but the rest were gibberish. After scratching our heads, we realized that d.net had found a collision. It was almost a year later they found the correct key, for the $10,000 prize. They immediately started on the 72 bit challenge. (I'm not holding my breath). Peter Trei --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From alex at alten.org Fri Jan 13 18:12:48 2006 From: alex at alten.org (Alex Alten) Date: Fri, 13 Jan 2006 15:12:48 -0800 Subject: quantum chip built In-Reply-To: <43C7CF91.9070705@mjec.net> References: <43C7C4A3.6080008@av8n.com> <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> <43C7C4A3.6080008@av8n.com> Message-ID: <4.3.2.7.1.20060113144515.04572bd8@mail.alten.org> At 03:04 AM 1/14/2006 +1100, Michael Cordover wrote: >John Denker wrote: >>alex at alten.org wrote: >>> From what I understand simple quantum computers can easily brute-force >>> attack RSA keys or other >>>types of PK keys. >>My understanding is that quantum computers cannot "easily" do anything. > >Au contraire, quantum computers can easily perform prime factoring or >perform discrete logarithms - this is Shor's algorithm and has been known >for more than a decade. The difficulty is in making a QC. > >> >>>Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? > >ECC is also at risk because it relies on the difficulty of discrete >logarithms which are victim to a quantum attack. Are we at risk in 10, 20 >or 30 years? Well, as John said, it's hard to say. The first working 2 >qbit computers were demonstrated in 1998, then 3 qbits in the same >year. 7 qbits were demonstrated in 2000. 8 in December 2005. As you can >see, adding a qbit is pretty hard. In order to factor a 1024 bit modulus >you'd need a 1024 bit QC. Perhaps if there were some sudden breakthrough >it'd be a danger in a decade - but this is the same as the risk of a >sudden classical breakthrough: low. > >My assessment: nothing to worry about for now or in the immediate future. >A key valid for 20 years will face much greater dangers from expanding >classical computer power, weak implementations, social engineering >etc. The "quantum chip" is just a new housing, not anything that puts RSA >or ECC at risk. Hmm, extrapolating forward... 1998 = 2 qubits 2005 = 8 qubits (a 4x increase in 7 years) 2013 = 32 qubits? 2020 = 128 qubits? 2027 = 512 qubits? 2034 = 2048 qubits? So, say, somewhere between 20 to 30 years from now current RSA moduli may possibly be at risk from the Shor's algorithm. Is that a reasonable assumption? If so, would ECC (moduli) also be at risk within this time frame? - Alex -- - Alex Alten --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Sat Jan 14 14:30:25 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Sat, 14 Jan 2006 12:30:25 -0700 Subject: long-term GPG signing key In-Reply-To: <20060112172616.GG5188@sliepen.eu.org> References: <20060112172616.GG5188@sliepen.eu.org> Message-ID: <43C95151.4020208@garlic.com> Guus Sliepen wrote: > By default, GPG creates a signing key and an encryption key. The signing > key is used both for signing other keys (including self-signing your own > keys), and for signing documents (like emails). However, it is possible > to "split" the signing key into a master key that you only use to sign > other keys, and a key dedicated to signing documents. You can revoke the > latter key and create a new one whenever you want, the master key is > still valid. Also, when people sign your key, they sign your master key, > not the subkeys. The signatures you accumulated will also still be > valid. You can also keep the master key safely tucked away on an old > laptop that you keep in a safe, and only export the subkeys to your > workstation. That way the master key is very safe. as in previous post ... i assert that fundamental digital signature verification is an authentication operation http://www.garlic.com/~lynn/aadsm22.htm#5 long-term GPG signing keys and doesn't (by itself) carry with it characteristics of human signature, read, understood, approves, agrees, and/or authorizes. the PKI & CA hiearchical infrastructures does tend to add those attributes to digital signature operations ... creating an equiivalence between certification digital signatures (and the private keys that produce such digital signatures) and the validity of the information being certified. if you are starting to create a class of private keys that start to carry the attribute of whether something is true or not (i.e. the information being certified) ... then there can start to become some confusion between the difference between the private key as an authentication mechanism and the use of the private key as whether something is true or not. I would assert that authentication private keys can be treated like a much better password technology ... not having various of the shared-secret vulnerabilities and other shortcomings. it is when you start equating private keys with certification and truth characteristics that you move into a completely different risk and threat domain. the other foray into embellishing private keys and digital signatures with human signature type characteristics was the non-repudiation activity. however, it is now commoningly accepted that to embellish digital signatures with non-repudiation attributes requires a whole lot of additional business processes ... not the simple operation of generating an authentication digital signature. the whole scenario of digital signing of public keys ... is a matter of the entity performing the digital signing doing an authentication operation ... but that the entity is certifying the truth of some value ... typically related to the public key. that is a whole business process infrastructure that has to be layered on top of digital signatures (in much the same way to actually achieve non-repudiation a whole business process infrastructure has to be created that is built above any authentication digital signature). the other characteristics is that stale, static certification ... paper or digitally signed electronic bits ... are characteristic of the offline age ... where an entity could present the certificate representing the truth of some information; as opposed to the relying party having their own access to the truth of the same information. in the transition to an online world, it is becoming less & less coming that relying parties won't have access to the truth of some piece of information (making certificates and credentials less and less meaningful). the corollary is that digitally signed certificates and private keys embellished with certification and truth characteristics become less and less meaningful. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From guus at sliepen.eu.org Sat Jan 14 16:50:35 2006 From: guus at sliepen.eu.org (Guus Sliepen) Date: Sat, 14 Jan 2006 22:50:35 +0100 Subject: long-term GPG signing key In-Reply-To: <43C95151.4020208@garlic.com> References: <20060112172616.GG5188@sliepen.eu.org> <43C95151.4020208@garlic.com> Message-ID: <20060114215035.GE5179@sliepen.eu.org> On Sat, Jan 14, 2006 at 12:30:25PM -0700, Anne & Lynn Wheeler wrote: > Guus Sliepen wrote: > > By default, GPG creates a signing key and an encryption key. The signing > > key is used both for signing other keys (including self-signing your own > > keys), and for signing documents (like emails). However, it is possible > > to "split" the signing key into a master key that you only use to sign > > other keys, and a key dedicated to signing documents. You can revoke the > > latter key and create a new one whenever you want, the master key is > > still valid. Also, when people sign your key, they sign your master key, > > not the subkeys. The signatures you accumulated will also still be > > valid. You can also keep the master key safely tucked away on an old > > laptop that you keep in a safe, and only export the subkeys to your > > workstation. That way the master key is very safe. > as in previous post ... i assert that fundamental digital signature > verification is an authentication operation > http://www.garlic.com/~lynn/aadsm22.htm#5 long-term GPG signing keys > > and doesn't (by itself) carry with it characteristics of human > signature, read, understood, approves, agrees, and/or authorizes. It depends on how it is used. For example, when I sent this email, I typed in the passphrase of my PGP key, authorising GnuPG to create a signature for this email. This comes very close to "human signing". I read, understood, approve etc. with the contents of this email. If assymetric cryptography is used to automatically sign a credit card transaction without the user having to do more than click a button, then I agree that in that situation, the digital signature is not the same as a human signature. [...] > it is when you start equating private keys with certification and truth > characteristics that you move into a completely different risk and > threat domain. I don't equate private keys with that. I do equate signatures made with those keys with that. > the other foray into embellishing private keys and digital signatures > with human signature type characteristics was the non-repudiation > activity. however, it is now commoningly accepted that to embellish > digital signatures with non-repudiation attributes requires a whole lot > of additional business processes ... not the simple operation of > generating an authentication digital signature. [...] > the corollary is that digitally signed certificates and > private keys embellished with certification and truth characteristics > become less and less meaningful. That is probably true, but in the mean time Travis still wants to know how to create a PGP key with the properties he wishes for. -- Met vriendelijke groet / with kind regards, Guus Sliepen -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From lynn at garlic.com Sat Jan 14 17:17:05 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Sat, 14 Jan 2006 15:17:05 -0700 Subject: long-term GPG signing key In-Reply-To: <20060114215035.GE5179@sliepen.eu.org> References: <20060112172616.GG5188@sliepen.eu.org> <43C95151.4020208@garlic.com> <20060114215035.GE5179@sliepen.eu.org> Message-ID: <43C97861.7050104@garlic.com> Guus Sliepen wrote: > It depends on how it is used. For example, when I sent this email, I > typed in the passphrase of my PGP key, authorising GnuPG to create a > signature for this email. This comes very close to "human signing". I > read, understood, approve etc. with the contents of this email. > > If assymetric cryptography is used to automatically sign a credit card > transaction without the user having to do more than click a button, then > I agree that in that situation, the digital signature is not the same as > a human signature. but as in some of the PKI forays into non-repudiation and human signatures ... there was no way for a relying party to determine the difference ... and in the previous thread of digital signature dual-use vulnerability, this can open up fraud. at one point, some were assuming if there was a digital certificate with the non-repudiation flag set, then the digital signature indicated human signature (read, understood, agrees, approves, and/or authorizes). however, nothing in various PKI protocols providing for proving which digital certificate was actually appended to a particular digital signature (appending a non-repudiation digital certificate might imply the creation of some obligation associated with a digital signature used as a human signature; however there was no protocol provisions for establishing which form of digital signature was actually intended and/or which digital certificate was actually appended to any particular operaion). the dual-use vulnerability has an environment where servers nominally transmit random data for signing (one of the possible countermeasures for replay attack) and the person generates a digital signature on the random data w/o having looked at the data (assuming purely authentication operation). the other party has actually substituted some sort of valid text in place of the valid data and then asserts that the person has performed the digital signature implying a human signature (read, understood, agrees, approves, and/or authorizes) as opposed to implying pure authentication operation. the crook may attempt to further substantiate the fraudulent claim by producing a digital certificate (for the corresponding public key) with the non-repudiation bit set (and PKI protocols lack provisions for differentiating which, of possible several, digital certificates might actually have been attached). the possible dual-use for digital signatures then may lead to enormous ambiguity since the basic technology only provides for authentication ... and that w/o significant additional business processes it is difficult to differentiate digital signatures used for purely authentication purposes and the grossly embellished purposes associated with human signatures. any embellishing of digital signatures for human signature purposes, in turn creates significant additional risk than straight-forward authentication. a basic issue isn't what you intended when you caused a digital signature to be created ... but what can any relying-party reasonably expect that you intended ... and what can the relying-party reasonably rely on. then if there is any possible ambiguity as to what you may have intended when a digital signature was created, can an attacker use the existence of such ambiguity to perpetrate fraud (aka dual-use vulnerability). --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Sun Jan 15 01:04:46 2006 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Sun, 15 Jan 2006 19:04:46 +1300 Subject: Echelon papers leaked Message-ID: In 1996, New Zealander Nicky Hager wrote a book "Secret Power" containing a great deal of information on Echelon, with a particular NZ perspective. A few days ago, papers held by the Prime Minister of the time were accidentally released and appeared in the Sunday Star Times. Some quotes from the story at http://www.stuff.co.nz/stuff/sundaystartimes/0,2106,3540743a6005,00.html: The top-secret intelligence report found among David Lange's papers shows New Zealand had been spying on friendly countries throughout the region. Targets included Japanese and Philippines diplomatic cables and the government communications of Fiji, the Solomons, Tonga and "international organisations operating in the Pacific". The Government Communications Security Bureau's 1985/86 annual report also reveals that one of New Zealand's main targets was "UN diplomatic" cables, but which agencies of the United Nations were targeted is not stated. [...] "A total of 171 reports were published, covering the Solomons, Fiji, Tonga and international organisations operating in the Pacific. The raw traffic for this reporting provided by NSA the US National Security Agency)." The GCSB also produced 238 intelligence reports on Japanese diplomatic cables, using "raw traffic from GCHQ/NSA sources". This was down from the previous year: "The Japanese government implementation of a new high grade cypher system seriously reduced the bureau's output." For French government communications, the GCSB "relied heavily on (British) GCHQ acquisition and forwarding of French Pacific satellite intercept". [...] Each page of the 31-page report that mentioned eavesdropping operations was headed "TOP SECRET UMBRA HANDLE VIA COMINT CHANNELS ONLY". COMINT stands for "communications intelligence". There's also a second story at http://www.stuff.co.nz/stuff/sundaystartimes/0,2106,3540733a6005,00.html covering US pressure on NZ over its anti-nuclear policy. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From I.Brown at cs.ucl.ac.uk Sun Jan 15 16:25:26 2006 From: I.Brown at cs.ucl.ac.uk (Ian Brown) Date: Sun, 15 Jan 2006 21:25:26 +0000 Subject: long-term GPG signing key In-Reply-To: References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: <43CABDC6.5050107@cs.ucl.ac.uk> Travis H. wrote: > Why the heck am I expiring encryption keys each year? Anyone who > records the email can crack it even if the key is invalid by then. > All it really does is crudely limit the quantity of data sent under > that key, which is little to none anyway. If your threat model includes attacks on the system(s) you use to decrypt messages, or rubber hose/subpoena key-cracking, expiring *and wiping* confidentiality keys limits the time during which the keys can be compromised using those methods. -- Blogzilla: ----> http://dooooooom.blogspot.com/ Say no to ID cards! http://www.pledgebank.com/refuse2 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From WWhyte at ntru.com Tue Jan 17 08:51:21 2006 From: WWhyte at ntru.com (Whyte, William) Date: Tue, 17 Jan 2006 08:51:21 -0500 Subject: quantum chip built Message-ID: <9DC3EBEFB87A97498A7D25F130DE27E4206D1D@ohthree.jjj-i.com> > >From what I understand simple quantum computers can easily > brute-force attack RSA keys or other types of PK keys. Is > ECC at risk too? And are we at risk in 10, 20 or 30 years from now? Quantum computers break RSA, cryptosystems based on discrete log over finite fields, and cryptosystems based on discrete log over elliptic curves, where "break" means "reduce to polynomial time". The best description of the ECC variant of Shor's quantum algorithm is in Proos and Zalka's "Shor's discrete logarithm quantum algorithm for elliptic curves", http://arxiv.org/abs/quant-ph/0301141. They estimate that ~1000 qubits are needed to break a 160-bit ECC key (as opposed to ~2000 qubits for a 1024-bit RSA key). NTRU and HFE-based schemes (such as QUARTZ and SFLASH) aren't currently known to be broken by quantum algorithms -- there are proposed quantum algorithms that may square-root the time to break NTRU, but this isn't a reduction to polynomial time. I don't know if anyone's looked at quantum computers as applied to HFE. Cheers, William --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Tue Jan 17 10:13:06 2006 From: perry at piermont.com (Perry E. Metzger) Date: Tue, 17 Jan 2006 10:13:06 -0500 Subject: NY Times reports that spy program is not narrowly targeted Message-ID: <87vewic2gt.fsf@snark.piermont.com> According to President Bush, the illegal NSA domestic espionage program he ordered was narrowly targeted against people known to have Al Qaeda links. However, it appears that, as with his previous false claims that espionage only happened with a warrant, that this claim was on its face untrue: Spy Agency Data After Sept. 11 Led F.B.I. to Dead Ends By LOWELL BERGMAN, ERIC LICHTBLAU, SCOTT SHANE and DON VAN NATTA Jr. Published: January 17, 2006 WASHINGTON, Jan. 16 - In the anxious months after the Sept. 11 attacks, the National Security Agency began sending a steady stream of telephone numbers, e-mail addresses and names to the F.B.I. in search of terrorists. The stream soon became a flood, requiring hundreds of agents to check out thousands of tips a month. But virtually all of them, current and former officials say, led to dead ends or innocent Americans. F.B.I. officials repeatedly complained to the spy agency that the unfiltered information was swamping investigators. The spy agency was collecting much of the data by eavesdropping on some Americans' international communications and conducting computer searches of phone and Internet traffic. Some F.B.I. officials and prosecutors also thought the checks, which sometimes involved interviews by agents, were pointless intrusions on Americans' privacy. [...] President Bush has characterized the eavesdropping program as a "vital tool" against terrorism; Vice President Dick Cheney has said it has saved "thousands of lives." But the results of the program look very different to some officials charged with tracking terrorism in the United States. [...] "We'd chase a number, find it's a schoolteacher with no indication they've ever been involved in international terrorism - case closed," said one former F.B.I. official, who was aware of the program and the data it generated for the bureau. "After you get a thousand numbers and not one is turning up anything, you get some frustration." [...] Rest of article at: http://www.nytimes.com/2006/01/17/politics/17spy.html I again plead with all of you who care about the future your children live in to call your congressional representatives and demand that action be taken. Congress has already largely forgotten about this -- a few weeks is a long time in the memories of politicians. It is up to you remind them. If you do not, you will have no one to blame but yourself. "All that is necessary for evil to succeed is that good men do nothing." -- Edmund Burke Perry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Tue Jan 17 11:57:57 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Tue, 17 Jan 2006 11:57:57 -0500 Subject: standards being adopted for encrypting stored data Message-ID: <20060117165757.40C053C0205@berkshire.machshav.com> http://www.networkworld.com/news/2005/121505-tape-encryption.html "Proposed standards for protecting data on disk or tape are gathering steam within the IEEE and could be supported in products as soon as next year, according to proponents." .... --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From bear at sonic.net Tue Jan 17 13:31:33 2006 From: bear at sonic.net (bear) Date: Tue, 17 Jan 2006 10:31:33 -0800 (PST) Subject: quantum chip built In-Reply-To: <43C7CF91.9070705@mjec.net> References: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> <43C7C4A3.6080008@av8n.com> <43C7CF91.9070705@mjec.net> Message-ID: On Sat, 14 Jan 2006, Michael Cordover wrote: > In order to factor a 1024 > bit modulus you'd need a 1024 bit QC. Perhaps if there were some sudden > breakthrough it'd be a danger in a decade - but this is the same as the > risk of a sudden classical breakthrough: low. This is not necessarily so. In order to factor a 1024-bit modulus using Shor's algorithm, you would indeed need a 1024- qbit machine. But we haven't seen what fruit may be borne by algorithm research and hybrid machinery; it seems plausible that a hybrid machine may be able to use, say, 16 qbits to divide the work factor of factoring large numbers in general by approx. 65536. In general, I think that until QC is a mature field, cryptographers and cryptologists ought to assume that some QC or hybrid algorithm or machinery that may be discovered "any minute now" can simultaneously exploit the strengths of both QC and classical computation. And that means, in general, that I'd want to *add* the number of bits factorable by Shor's algorithm in the foreseeable future to the number of bits factorable by classical brute-force algorithms. In fact, maybe we ought to be worried about synergistic effects and multiplying the figures together, although I can't imagine where such effects would come from. Let us say simply that Quantum Computing is far from mature, and at this moment we are only beginning to understand it. I remember all the mechanical engineers who proved that no heavier-than-air flying machine could exist back in the 19th century, back when knowledge of mechanics and materials was less precise than now... And these guys knew what there was to know about it. I'm chary of people "proving" that no n-bit factoring machine can be built just because the way they already know to build one (Shor's algorithm, which requires n qbits) won't work. Given that our knowledge of QC is nascent, our ignorance of QC's practical limits is likely staggering, and caution is to be advised. Bear --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Wed Jan 18 01:28:08 2006 From: solinym at gmail.com (Travis H.) Date: Wed, 18 Jan 2006 00:28:08 -0600 Subject: Echelon papers leaked In-Reply-To: References: Message-ID: Two chapters are online here: http://www.fas.org/irp/eprint/sp/ -- "If I could remember the names of these particles, I would have been a botanist" -- Enrico Fermi -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Wed Jan 18 10:06:28 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Wed, 18 Jan 2006 10:06:28 -0500 Subject: long-term GPG signing key Message-ID: | >>>Even though triple-DES is still considered to have avoided that | >>>trap, its relatively small block size means you can now put the | >>>entire decrypt table on a dvd (or somesuch, I forget the maths). | >> | >> | >> This would need 8 x 2^{64} bytes of storage which is approximately | >> 2,000,000,000 DVD's (~ 4 x 2^{32} bytes on each). | >> | >> Probably, you are referring to the fact that during encryption of a | >> whole DVD, say, in CBC mode two blocks are likely to be the same | >> since there are an order of 2^{32} x 2^{32} pairs. | > | >Thanks for the correction, yes, so obviously I | >muffed that one. I saw it mentioned on this list | >about a year ago, but didn't pay enough attention | >to recall the precise difficulty that the small | >block size of 8 bytes now has. | | The difficulty with 3DES's small blocksize is the 2^32 block limit when | using CBC -- you start getting collisions, allowing the attacker to | start building up a code book. The amount of data is quite within | reach at gigabit speeds, and gigabit Ethernet is all but standard | equipment on new computers. Mandatory arithmetic: 2^32 bytes But the collisions are after 2^32 *blocks*, not *bytes*. So the number to start with is 2^35 bytes. | is 2^38 So this correspondingly is 2^41. | bits, or ~275 * 10^9. At 10^9 bits/sec, that's less than 5 minutes. And this is about 10^10/40 minutes. | Even at 100M bps -- and that speed *is* standard today -- it's less | than an hour's worth of transmission. The conclusion is that if you're 8 hours. | encrypting a LAN, Realistically, rekeying every half an hour is probably acceptable. In fact, even if an attacker built up a large fraction of a codebook, there is no known way to leverage that into the actual key. So you could rekey using some fixed procedure, breaking the codebook attack without requiring any changes to the underlying protocols (i.e., no extra data to transfer). Something like running the key through a round of SHA should do the trick. If it's agreed that this is done after the 2^30 block is sent/received, on a 1GB network you're doing this every 20 minutes, with essentially no chance of a practical codebook attack. (Not that replacing 3-DES with AES isn't a good idea anyway - but if you have a fielded system, this may be the most practical alternative.) | you need AES or you need to rekey fairly often. Perhaps I'm being a bit fuzzy this morning, but wouldn't using counter mode avoid the problem? Now the collisions are known to be exactly 2^64 blocks apart, regardless of the initial value for the counter. Even at 10GB/second, that will take some time to become a problem. (Of course, that *would* require redoing the protocol, at which point using AES might be more reasonable.) -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Wed Jan 18 10:17:35 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Wed, 18 Jan 2006 10:17:35 -0500 Subject: quantum chip built Message-ID: | >> From what I understand simple quantum computers can easily brute-force | >> attack RSA keys or other | >> types of PK keys. | > | > My understanding is that quantum computers cannot "easily" do anything. | > | | Au contraire, quantum computers can easily perform prime factoring or | perform discrete logarithms - this is Shor's algorithm and has been | known for more than a decade. The difficulty is in making a QC. | | > | >> Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? | > | | ECC is also at risk because it relies on the difficulty of discrete | logarithms which are victim to a quantum attack. Are we at risk in 10, | 20 or 30 years? Well, as John said, it's hard to say. The first | working 2 qbit computers were demonstrated in 1998, then 3 qbits in the | same year. 7 qbits were demonstrated in 2000. 8 in December 2005. As | you can see, adding a qbit is pretty hard. In order to factor a 1024 | bit modulus you'd need a 1024 bit QC. Perhaps if there were some sudden | breakthrough it'd be a danger in a decade - but this is the same as the | risk of a sudden classical breakthrough: low. There is little basis for any real estimates here. First off, you should probably think of current qbit construction techniques as analogous to transistors. If you looked at "number of transistors in a computer" and didn't know that IC's were on the way, you would make much smaller estimates as to the sizes of practical machines in 1980, much less 2006. But more fundamentally, qbits don't necessarily scale linearly. Yes, current algorithms may need some number of qbits to deal with a key of n bits, but the tradeoff between time and "q-space" is not known. (Then again, the tradeoff between time and space for *conventional* computation isn't known, except for some particular algorithms.) I believe there's a result that if any of some broad class of quantum computations can be done using n qbits, it can also be done with just one (plus conventional bits). | My assessment: nothing to worry about for now or in the immediate | future. A key valid for 20 years will face much greater dangers from | expanding classical computer power, weak implementations, social | engineering etc. The "quantum chip" is just a new housing, not anything | that puts RSA or ECC at risk. I'm not sure I would be tHat confident. There are too many unknowns - and quantum computation has gone from "neat theoretical idea, but there's no possible way it could actually be done because of " to "well, yes, it can be done for a small number of bits but they can't really scale it" in a very short period of time. -- Jerry | Regards, | | Michael Cordover | -- | http://mine.mjec.net/ | | --------------------------------------------------------------------- | The Cryptography Mailing List | Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com | --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From herzbea at macs.biu.ac.il Wed Jan 18 12:25:49 2006 From: herzbea at macs.biu.ac.il (Amir Herzberg) Date: Wed, 18 Jan 2006 19:25:49 +0200 Subject: DoS attack on The Million Dollar Homepage Message-ID: <43CE7A1D.1040408@cs.biu.ac.il> I found the enclosed of some interest.. From: http://milliondollarhomepage.com/blog.php, The Million Dollar Blog, Tuesday 17th January 2006: Site downtime, DDoS attack I can confirm that MillionDollarHomepage.com has been subjected to a Distributed Denial of Service (DDoS) attack by malicious hackers who have caused the site to be extremely slow loading or completely unavailable since last Thursday, 12th January 2006. I can also confirm that a demand for a substantial amount of money was made which makes this a criminal act of extorsion. The FBI are investigating and I'm currently working closely with my hosting company, Sitelutions, to bring the site back online as soon as possible. More news soon. -- Best regards, Amir Herzberg Associate Professor Department of Computer Science Bar Ilan University http://AmirHerzberg.com Try TrustBar - improved browser security UI: http://AmirHerzberg.com/TrustBar Visit my Hall Of Shame of Unprotected Login pages: http://AmirHerzberg.com/shame --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Wed Jan 18 15:54:29 2006 From: solinym at gmail.com (Travis H.) Date: Wed, 18 Jan 2006 14:54:29 -0600 Subject: quantum chip built In-Reply-To: References: Message-ID: I'm fairly ignorant of quantum computers, having had the opportunity to see Schor lecture at a local university but unfortunately finding myself quickly out of my depth (I still don't understand the weird notation they use for representing [superpositions of?] "states" in Bell inequalities and his lecture was full of diagrams that I didn't grok at all). So, I have a few questions: 1) Are there quantum encryption algorithms that we will use on quantum computers to prevent quantum cryptanalysis? Not just key distribution; ID Quantique is commercially selling units for that already. 2) Can't they superimpose more than two states on an particle, such that the precision of the equipment is the limiting factor and not the number of entangled particles? 3) Does anyone remember the paper on the statistical quantum method that uses a large source of molecules as the computing device? I think it was jokingly suggested that a cup of coffee could be used as the computing device. What became of that? All this delicate mucking about with single atoms is beyond my means for the forseeable future. I still have hopes of progress on the classical system but if that doesn't work out my second bet is on computation en masse. -- "If I could remember the names of these particles, I would have been a botanist" -- Enrico Fermi (apropos, no?) -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Wed Jan 18 16:22:52 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Wed, 18 Jan 2006 16:22:52 -0500 Subject: quantum chip built Message-ID: | I'm fairly ignorant of quantum computers, I'm no expert myself. I can say a few things, but take them with a grain of salt. | having had the opportunity | to see Schor lecture at a local university but unfortunately finding | myself quickly out of my depth (I still don't understand the weird | notation they use for representing [superpositions of?] "states" in | Bell inequalities and his lecture was full of diagrams that I didn't | grok at all). So, I have a few questions: | | 1) Are there quantum encryption algorithms that we will use on quantum | computers to prevent quantum cryptanalysis? Not just key | distribution; ID Quantique is commercially selling units for that | already. I don't recall seeing any quantum encryption algorithms proposed. Someone may have done so, of course - the field is moving quickly. Our understanding of quantum computation is very limited so far. Quantum key exchange is one pretty well-developed area. The main other algorithms are variations of search. A number of years down the road, I'm sure both will be seen as "obvious" applications of ideas that had been around for years. (Quantum key exchange is the practical application of ideas from thought experiments going back to the birth of quantum mechanics. Search algorithms are pretty straightforward applications of the basic idea of quantization. There was never a reason to look at these things as computational mechanisms until recently.) | 2) Can't they superimpose more than two states on an particle, such | that the precision of the equipment is the limiting factor and not the | number of entangled particles? There is actually a limit to the number of distinct quantum states that any system can have, based mainly on the *area*, not volume, of the system. (In some sense, we seem to have a 2-space-dimensional universe!) The limit for an elementary particle is pretty small. BTW, this has some interesting implications. We usually argue that some computation, while beyond our current reach, is "in principle" possible. But in fact one can compute a bound on the number of primitive computational events that could have taken place since the creation of the universe. If a computation required more than that number of computations - think bit flips, if you like - then "in principle" it would seem to be impossible, not possible! One can flip this around: Suppose you wanted to do a brute-force attack against a 128-bit key. OK, that requires at least 2^128 computational steps. Suppose you wanted the result in 100 years. Then the computation can't require a volume of space more than 100 light-years across. (Well, really 50.) You can compute how many bit flips could take place in a volume of space-time 100 light-years by 100 years across. If it's less than 2^128, then even "in principle", no such attack is possible. I did some *very* rough calculations based on some published results - I didn't have enough details or knowledge to do more than make a very rough estimate - and it turns out that we are very near the "not possible in principle" point. If I remember right, a 128-bit key is, in principle, just barely attackable in 100 years; but a 256-bit key is completely out of bounds. So much for the snake-oil "my 1500-bit key is much more secure than your 256-bit key" claims! | 3) Does anyone remember the paper on the statistical quantum method | that uses a large source of molecules as the computing device? I | think it was jokingly suggested that a cup of coffee could be used as | the computing device. What became of that? All this delicate mucking | about with single atoms is beyond my means for the forseeable future. | I still have hopes of progress on the classical system but if that | doesn't work out my second bet is on computation en masse. There are some very recent - last couple of weeks - results on creating entangled systems of 100's of thousands of particles. (Hence my suggestion that we are doing quantum "transistors", but will eventually do quantum "IC's".) -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ashwood at msn.com Wed Jan 18 17:24:44 2006 From: ashwood at msn.com (Joseph Ashwood) Date: Wed, 18 Jan 2006 14:24:44 -0800 Subject: quantum chip built References: <20060112041636.B5863EE2AA@ws6-1.us4.outblaze.com> <43C7C4A3.6080008@av8n.com> <43C7CF91.9070705@mjec.net> Message-ID: ----- Original Message ----- From: "Michael Cordover" Subject: Re: quantum chip built > John Denker wrote: >> My understanding is that quantum computers cannot "easily" do anything. Probably one of the best statements so far, certainly QC and easy don't go together very well at this time. >> Alex said >>> Is ECC at risk too? And are we at risk in 10, 20 or 30 years from now? At this time pretty much everything is potentially at risk from QC mostly because we know so little about how they really behave. Will ECC-160 fall to QC within 20 years? Probably not, but I wouldn't offer insurance against it. Right now we can safely assume that for our lifetime QC will be less of a threat than classical computation, but my standard recommendation of checking your security in depth at least every 6 months (depending on the safety buffer you have less decrease this) along with some continual critical point examination (e.g. check every paper on cryptanalysis of AES if you use AES) should be more than sufficient. Joe --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From WWhyte at ntru.com Wed Jan 18 18:59:13 2006 From: WWhyte at ntru.com (Whyte, William) Date: Wed, 18 Jan 2006 18:59:13 -0500 Subject: Pre-call for submissions for IEEE Std 1363-2000 revision Message-ID: <9DC3EBEFB87A97498A7D25F130DE27E4206D88@ohthree.jjj-i.com> Hi lists, The IEEE standards Std 1363-2000 and Std 1363a-2004 provide standard specifications for public-key cryptography for use by electrical and electronics engineers. Std 1363-2000 is due for revision this year, which will involve merging Std 1363a with the base Std 1363. As part of this revision and merger process the working group will be considering submissions for additions and amendments to the existing documents. These submissions can include anything from notifications of new security results to requests that techniques in the standard be added, modified or deleted. This mail is a pre-call for submissions for the revised document. An official call for submissions will follow in the new year. We anticipate that the submissions period will last till approximately July 31st, 2006, so we can start discussing submissions at the working group meeting that traditionally follows Crypto. To buy a copy of Std 1363 and 1363a, follow the links at the 1363 Working Group website, http://grouper.ieee.org/groups/1363. To follow discussions, please subscribe to the mailing list by mailing listserv at ieee.org with the message body subscribe stds-p1363-discuss. Submissions should be sent to me directly for posting on the website. We're also looking for a volunteer to serve as technical editor: anyone interested should contact me directly. Best wishes, William ================================ William Whyte, Chair, IEEE P1363 NTRU Cryptosystems, 35 Nagog Park, Acton, MA 01720 ph: +1 978 264 1901 fx: +1 978 264 0103 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ben at algroup.co.uk Thu Jan 19 06:21:31 2006 From: ben at algroup.co.uk (Ben Laurie) Date: Thu, 19 Jan 2006 11:21:31 +0000 Subject: long-term GPG signing key In-Reply-To: References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> Message-ID: <43CF763B.4030006@algroup.co.uk> Travis H. wrote: > I must admit, I just had a "duh" moment. > > Why the heck am I expiring encryption keys each year? Anyone who > records the email can crack it even if the key is invalid by then. > All it really does is crudely limit the quantity of data sent under > that key, which is little to none anyway. So that you can't be legally required to produce the private key (which you destroyed, right?). Perhaps this is time to remind people of "Security Against Compelled Disclosure": http://www.apache-ssl.org/disclosure.pdf. Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From WWhyte at ntru.com Thu Jan 19 12:49:26 2006 From: WWhyte at ntru.com (Whyte, William) Date: Thu, 19 Jan 2006 12:49:26 -0500 Subject: quantum chip built Message-ID: <9DC3EBEFB87A97498A7D25F130DE27E4206DB7@ohthree.jjj-i.com> > 1) Are there quantum encryption algorithms that we will use on quantum > computers to prevent quantum cryptanalysis? Not just key > distribution; ID Quantique is commercially selling units for that > already. There are existing quantum encryption algorithms that require a physical link between the communicators (and don't provide authentication) -- these are used in the products sold by ID Quantique. But it hasn't been established that an encryption algorithm needs to be based on quantum mechanisms to survive the introduction of quantum computers. So I'd take issue with your phrasing of the question. In so far as you're wondering about what algorithms will be used in the post-quantum computing world, the ECRYPT project has organized a workshop on postquantum cryptography -- see http://postquantum.cr.yp.to/ for details. The report of that workshop should be interesting reading. Chers, William --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From edgerck at nma.com Thu Jan 19 20:49:39 2006 From: edgerck at nma.com (Ed Gerck) Date: Thu, 19 Jan 2006 17:49:39 -0800 Subject: surveillance, Re: long-term GPG signing key In-Reply-To: <43CF763B.4030006@algroup.co.uk> References: <43C3DC84.3040004@systemics.com> <874q4avp2g.fsf@snark.piermont.com> <43CF763B.4030006@algroup.co.uk> Message-ID: <43D041B3.7000607@nma.com> Ben Laurie wrote: > Perhaps this is time to remind people of "Security Against Compelled > Disclosure": http://www.apache-ssl.org/disclosure.pdf. > Thanks. Survelillance technology is now almost 6 years ahead of April, 1999, when the cited Report to the Director General for Research of the European Parliament was issued. Today, surveillance is not just a political problem or a concern for someone involved in illegal activities, or just about breaking my own privacy. Surveillance has become an ubiquitious threat to the right to privacy and duty of confidence to others whom I have the legal or moral obligation to protect, dramatically increasing the probability of disclosure by eliminating the "need to know" block usually applied to reduce disclosure risk. Untrustworthy individuals exist and are hard to detect in any organization, including federal and law enforcement agencies and at any government level. The "need to know" policy, which would be the #1 barrier to prevent more individuals to be exposed to the critical information, directly reducing the probability of disclosure, is silently destroyed by surveillance. Thinking about IT security needs in the XXI century, the solution of using encryption and document control to prevent surveillance and secret-disclosure would seem to impose itself. Despite the apparent simplicity and widespread availability of public-key cryptography, PGP and X.509 S/MIME, less than 5% of all email is encrypted. Banks won't even consider using encryption for sending out monthly statements and notices. It's not just the mounting problem with email fraud schemes such as spoofing and phishing. Banks discovered that not even their own employees were willing to use encryption. The real security question of the XXI century is easy-of-use -- that the security solution will actually be used takes precedence over any potential benefits. In this context, the subject of email security is being discussed at http://email-security.net/ -- please take a look at the Blog and Papers sections. Contributions are welcome. A comparison of current email technologies is presented at http://email-security.net/papers/pki-pgp-ibe.htm Cheers, Ed Gerck --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From rabbi at abditum.com Sat Jan 21 14:56:25 2006 From: rabbi at abditum.com (Len Sassaman) Date: Sat, 21 Jan 2006 11:56:25 -0800 (PST) Subject: CodeCon program announced, early registration deadline nearing Message-ID: The program for CodeCon 2006 has been announced. http://www.codecon.org/2006/program.html CodeCon is the premier showcase of innovative software projects. It is a workshop for developers of real-world applications with working code and active development projects. All presentations will given by one of the lead developers, and accompanied by a functional demo. Highlights of CodeCon 2006 include: iGlance - Open source push-to-talk videoconferencing and screen-sharing Monotone - Low stress, high functionality version control Query By Example - Data mining operations within PostgreSQL Djinni - Efficient approximations to NP-complete problems Elsa/Oink/Cqual++ - A static-time whole-program dataflow analysis for C and C++ Truman - An open-source behavioral malware analysis sandnet VidTorrent/Peers - A scalable real-time p2p streaming protocol The fifth annual CodeCon takes place February 10 - 12, 11:30 - 18:00, at StudioZ (314 11th Street) in San Francisco. Early registration is $63, available online until February 1st, 2006. Registration will be available at the door for $85. Supporting Attendee tickets are also available, and include a one-year membership to the USENIX Association. Please see the CodeCon registration page for details: http://www.codecon.org/2006/registration.html --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From herzbea at macs.biu.ac.il Sun Jan 22 08:18:32 2006 From: herzbea at macs.biu.ac.il (Amir Herzberg) Date: Sun, 22 Jan 2006 15:18:32 +0200 Subject: New version (0.9.97) of TrustBar - first from the new developer team Message-ID: <43D38628.20500@cs.biu.ac.il> Hi, the TrustBar project is finally back on track, with a new team of developers. For these who are not familiar, TrustBar is an extension to FireFox, which identifies SSL/TLS protected sites by the certified organization name and `Identified by:` , or by a name/logo of the user's choosing (`petname`). The team now work on several exciting extensions such as how to defend also users of unprotected (non-SSL) web pages, but this will take some time. In the meanwhile, we have an improved version (0.9.97), which finally works nicely on both windows, MAC and Linux (as far as we tested); we also removed the `Hey` functionality which people really hated (but we learned a lot from it and a much changed version will appear in the future). To install, download from http://www.cs.biu.ac.il/~herzbea/TrustBar/Latest%20TB.xpi Or: http://www.cs.biu.ac.il/~herzbea/TrustBar/index.html#download Feedback will be most welcome! -- Best regards, Amir Herzberg Associate Professor Department of Computer Science Bar Ilan University http://AmirHerzberg.com Try TrustBar - improved browser security UI: http://AmirHerzberg.com/TrustBar Visit my Hall Of Shame of Unprotected Login pages: http://AmirHerzberg.com/shame --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From gnu at toad.com Mon Jan 23 02:26:36 2006 From: gnu at toad.com (John Gilmore) Date: Sun, 22 Jan 2006 23:26:36 -0800 Subject: CodeCon + Chinese New Year Treasure Hunt In-Reply-To: References: Message-ID: <200601230726.k0N7QaVL007260@new.toad.com> [Moderator's note: Not our usual fare, but since a bunch of people reading this list will be at codecon I thought I'd forward it anyway. --Perry] An annual mass treasure hunt, roaming part of San Francisco for clues, occurs on Saturday, Feb 11th, the middle day of CodeCon. By skipping 2-1/2 evening hours of Codecon, you could dodge dragons and fireworks in Chinatown while puzzling out history, rhymes, or puns with a roving team of friends. Rain or shine. Bring good walking shoes & outdoor gear. Let's made some Codecon teams (or you can just show up). The huge Chinese New Year parade will be happening at the same time, providing an even more colorful backdrop than the usual bizarre Chinatown ambiance. Info and rules are here: http://www.sftreasurehunts.com/hunts/chinese_new_year/index.html Here's a sample clue: King Ludwig had one; so did William Randolph Hearst. These are some others. If you know what they are, you'll know which street to search on: Edinburgh Dover Windsor Corfe Arundel. http://www.sftreasurehunts.com/hunts/chinese_new_year/samples-beginners.html It's a great way to see some odd and interesting corners of SF's Chinatown, North Beach, and the waterfront. See you there. John --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Tue Jan 24 16:01:02 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Tue, 24 Jan 2006 16:01:02 -0500 Subject: NSA explains how to redact documents electronically Message-ID: <20060124210102.45F133BFDDF@berkshire.machshav.com> http://www.fas.org/sgp/othergov/dod/nsa-redact.pdf One wonders how long it will be till someone finds an error... --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Tue Jan 24 18:56:48 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Tue, 24 Jan 2006 18:56:48 -0500 Subject: NSA explains how to redact documents electronically In-Reply-To: <20060124210102.45F133BFDDF@berkshire.machshav.com> Message-ID: | http://www.fas.org/sgp/othergov/dod/nsa-redact.pdf | | One wonders how long it will be till someone finds an error... It's a continuous battle, of course. One noticeable thing is the complexity of the procedure. I suspect human error will prove a more likely cause of leaks than the actual mechanism, which appears sound. There are commercial tools available that strip metadata from Word documents. I'm surprised no one has done a "redacting workbench" yet. -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Tue Jan 24 23:53:09 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Tue, 24 Jan 2006 21:53:09 -0700 Subject: Kama Sutra Spoofs Digital Certificates Message-ID: <43D70435.9020805@garlic.com> Kama Sutra Spoofs Digital Certificates http://www.informationweek.com/windows/showArticle.jhtml?articleID=177103418 The Kama Sutra worm can fool WIndows into accepting a malicious ActiveX control by spoofing a digital signature, a security company said Tuesday. .. snip .. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Wed Jan 25 01:53:24 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Wed, 25 Jan 2006 01:53:24 -0500 Subject: NSA explains how to redact documents electronically In-Reply-To: (Your message of "25 Jan 2006 03:02:47 GMT.") <20060125030247.93612.qmail@simone.iecc.com> Message-ID: <20060125065324.2BD163BFDE5@berkshire.machshav.com> In message <20060125030247.93612.qmail at simone.iecc.com>, John Levine writes: >>http://www.fas.org/sgp/othergov/dod/nsa-redact.pdf >> >>One wonders how long it will be till someone finds an error... > >Even if it's right, it's so complicated that it seems rather >optimistic to expect people to follow it correctly every time. I agree. It's also very dependent on the exact options that Microsoft and Adobe have currently implemented. Minor changes could screw this up completely. > >I don't claim to be a big security guru, but if I were planning to >distribute a redacted PDF document, I'd render it to a bitmap, then >turn the bitmap back into a PDF and ship that, a digital version of >printing it out and scanning it back in. On Unixish systems, one can >do that in about five minutes with freeware tools like ghostscript and >xpdf. That's more or less what they did when they declassified Skipjack, though they may have used a real printer and scanner instead. Some people laughed at NSA's technical ineptitude -- didn't they know how to print to PDF directly? Others realized that NSA understood the problem at a much deeper level. --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Wed Jan 25 18:34:33 2006 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Thu, 26 Jan 2006 12:34:33 +1300 Subject: Kama Sutra Spoofs Digital Certificates In-Reply-To: <43D70435.9020805@garlic.com> Message-ID: Anne & Lynn Wheeler writes: >The Kama Sutra worm can fool WIndows into accepting a malicious ActiveX control >by spoofing a digital signature, a security company said Tuesday. If you track down the original Fortinet advisory you'll see that the Information- Week text is slightly misleading, all it does is set the "this control is all right" flags in the registry to make Windows think it's passed a signature check at some point in the past. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lancej at securescience.net Wed Jan 25 14:18:19 2006 From: lancej at securescience.net (Lance James) Date: Wed, 25 Jan 2006 11:18:19 -0800 Subject: Kama Sutra Spoofs Digital Certificates In-Reply-To: References: Message-ID: <43D7CEFB.8070606@securescience.net> Peter Gutmann wrote: >Anne & Lynn Wheeler writes: > > > >>The Kama Sutra worm can fool WIndows into accepting a malicious ActiveX control >>by spoofing a digital signature, a security company said Tuesday. >> >> > >If you track down the original Fortinet advisory you'll see that the Information- >Week text is slightly misleading, all it does is set the "this control is all >right" flags in the registry to make Windows think it's passed a signature check >at some point in the past. > > Sounds like a "pseudo-Cache" attack then - is that not valid as a "spoof" though? There was an embedded SSL Cache attack a few years back, and that was considered a man-in-the-middle spoof attack. Is there a specific definition to that? >Peter. > > >--------------------------------------------------------------------- >The Cryptography Mailing List >Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com > > > > -- Best Regards, Lance James Secure Science Corporation www.securescience.net Author of 'Phishing Exposed' http://www.securescience.net/amazon/ --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Thu Jan 26 06:30:36 2006 From: solinym at gmail.com (Travis H.) Date: Thu, 26 Jan 2006 05:30:36 -0600 Subject: thoughts on one time pads Message-ID: In this article, Bruce Schneier argues against the practicality of a one-time pad: http://www.schneier.com/crypto-gram-0210.html#7 I take issue with some of the assumptions raised there. For example, you may have occasional physical meetings with a good friend, colleague, family member, or former co-worker. Let's say you see them once every few years, maybe at a conference or a wedding or a funeral or some other occasion. At such times, you could easily hand them a CD-ROM or USB flash drive full of key material. Then, you could use that pad to encrypt messages to them until the next time you meet. Let's say you send them ten 1kB messages per year. Then a $1 CD-ROM would hold enough data for 70000 years of communication! Heck, I could put the software on the image and make a dozen to keep with me, handing them out to new acquaintances as a sort of preemptive secure channel. Bruce acknowleges this by saying "[t]he exceptions to this are generally in specialized situations where simple key management is a solvable problem and the security requirement is timeshifting." He then dismisses it by saying "[o]ne-time pads are useless for all but very specialized applications, primarily historical and non-computer." Excuse me? This would in fact be a _perfect_ way to distribute key material for _other_ cryptosystems, such as PGP, SSH, IPSec, openvpn, gaim-encryption etc. etc. You see, he's right in that the key distribution problem is the hardest problem for most computer cryptosystems. So the OTP system I described here is the perfect complement for those systems; it gives them a huge tug on their bootstraps, gets them running on their own power. I'm not sure it is even limited to this use case. For example, before a ship sets out to sea, you could load it up with enough key material to last a few millenia. How much key material could a courier carry? I bet it's a lot. As they say, "never underestimate the bandwidth of a station wagon full of tapes". And don't embassies have diplomatic pouches that get taken to them and such? So my questions to you are: 1) Do you agree with my assessment? If so, why has every crypto expert I've seen poo-pooed the idea? 2) Assuming my use case, what kind of attacks should I worry about? For example, he might leave the CD sitting around somewhere before putting it in his computer. If it sits around on CD, physical access to it would compromise past and future communications. If he copies it to flash or magnetic media, then destroys the CD, we can incrementally destroy the pad as it is used, but we have to worry about data remanence. 3) How should one combine OTP with another conventional encryption method, so that if the pad is copied, we still have conventional cipher protection? In this manner, one could use the same system for different use cases; one could, for example, mail the pad, or leave it with a third party for the recipient to pick up, and you opportunistically theoretical security if the opponent doesn't get it, and you get empirical (conventional) security if they do. 4) For authentication, it is simple to get excellent results from an OTP. You simply send n bytes of the OTP, which an attacker has a 2^-8n chance in guessing. How do we ensure message integrity? Is it enough to include a checksum that is encrypted with the pad? Does it depend on our method of encipherment? Assuming the encipherment is XOR, is a CRC sufficient, or can one flip bits in the message and CRC field so as to cancel each other? If so, how should we compute a MIC? Just SHA-1, and include that right after the plaintext (that is, we encrypt the MIC so as to not reveal a preimage if SHA-1 is found to be invertible)? 5) How should one decouple message lengths from plaintext lengths? 6) How should one detect and recover from lost, reordered, or partial messages? All I've got to say is, I'm on this like stink on doo-doo. Being the thorough, methodical, paranoid person I am, I will be grateful for any pointers to prior work and thinking in this area. I recall Jim Choate from the Austin cypherpunks saying he was working on a OTP system, but never heard any more about it (let's not discuss him though please, this thread is about one time pads). -- "The generation of random numbers is too important to be left to chance." -- Robert R. Coveyou -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Thu Jan 26 07:01:33 2006 From: solinym at gmail.com (Travis H.) Date: Thu, 26 Jan 2006 06:01:33 -0600 Subject: a crypto wiki Message-ID: http://www.cryptodox.com/Main_Page -- "The generation of random numbers is too important to be left to chance." -- Robert Coveyou -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From WWhyte at ntru.com Thu Jan 26 10:07:29 2006 From: WWhyte at ntru.com (Whyte, William) Date: Thu, 26 Jan 2006 10:07:29 -0500 Subject: a crypto wiki Message-ID: <9DC3EBEFB87A97498A7D25F130DE27E4206EF8@ohthree.jjj-i.com> There's also a crypto portal in Wikipedia itself: http://en.wikipedia.org/wiki/Portal:Cryptography FWIW, I'd rather see energy focused on the Wikipedia version, which more people are likely to use. William > -----Original Message----- > From: owner-cryptography at metzdowd.com > [mailto:owner-cryptography at metzdowd.com] On Behalf Of Travis H. > Sent: Thursday, January 26, 2006 12:02 PM > To: cryptography at metzdowd.com > Subject: a crypto wiki > > http://www.cryptodox.com/Main_Page > > -- > "The generation of random numbers is too important to be left > to chance." > -- Robert Coveyou -><- http://www.lightconsulting.com/~travis/ > GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to > majordomo at metzdowd.com > > --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From thierry.moreau at connotech.com Thu Jan 26 14:28:44 2006 From: thierry.moreau at connotech.com (Thierry Moreau) Date: Thu, 26 Jan 2006 14:28:44 -0500 Subject: thoughts on one time pads In-Reply-To: References: Message-ID: <43D922EC.8090007@connotech.com> Travis H. wrote: > In this article, Bruce Schneier argues against the practicality of a > one-time pad: > > http://www.schneier.com/crypto-gram-0210.html#7 > > I take issue with some of the assumptions raised there. > > [...] Then a $1 > CD-ROM would hold enough data for 70000 years of communication! [...] > > So my questions to you are: > > 1) Do you agree with my assessment? If so, why has every crypto > expert I've seen poo-pooed the idea? > You shift to the problem of filling CDs with pure random data. Which physical property do you want to sample and with which type of hardware do you expect to sample it and at which rate, and with which protection against eavesdroping during the sampling? At what cost? With what kind of design assurance that the pure random data is indeed pure and random? Have fun. -- - Thierry Moreau CONNOTECH Experts-conseils inc. 9130 Place de Montgolfier Montreal, Qc Canada H2M 2A1 Tel.: (514)385-5691 Fax: (514)385-5900 web site: http://www.connotech.com e-mail: thierry.moreau at connotech.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From perry at piermont.com Thu Jan 26 14:05:05 2006 From: perry at piermont.com (Perry E. Metzger) Date: Thu, 26 Jan 2006 14:05:05 -0500 Subject: A glimpse of SIGINT 20 years ago... Message-ID: <87psmestcu.fsf@snark.piermont.com> This is a couple of weeks old, but it appears that, by accident, a lot of information on the targets and methods being used for US/Australian/NZ SIGINT about 20 years ago has come to light as the result of the release of a late New Zealand Prime Minister's papers. http://www.stuff.co.nz/stuff/print/0,1478,3540743a6005,00.html Among other things: The report lists the Tangimoana station's targets in 1985-86 as "French South Pacific civil, naval and military; French Antarctic civil; Vietnamese diplomatic; North Korean diplomatic; Egyptian diplomatic; Soviet merchant and scientific research shipping; Soviet Antarctic civil. Soviet fisheries; Argentine naval; Non-Soviet Antarctic civil; East German diplomatic; Japanese diplomatic; Philippine diplomatic; South African Armed Forces; Laotian diplomatic (and) UN diplomatic." The station intercepted 165,174 messages from these targets, "an increase of approximately 37,000 on the 84/85 figure. Reporting on the Soviet target increased by 20% on the previous year". Hat tip to Bruce Schneier's blog for reminding me about it. -- Perry E. Metzger perry at piermont.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lloyd at randombit.net Thu Jan 26 14:24:30 2006 From: lloyd at randombit.net (Jack Lloyd) Date: Thu, 26 Jan 2006 14:24:30 -0500 Subject: thoughts on one time pads In-Reply-To: References: Message-ID: <20060126192430.GG2401@randombit.net> On Thu, Jan 26, 2006 at 05:30:36AM -0600, Travis H. wrote: [...] > Excuse me? This would in fact be a _perfect_ way to distribute key > material for _other_ cryptosystems, such as PGP, SSH, IPSec, openvpn, > gaim-encryption etc. etc. You see, he's right in that the key > distribution problem is the hardest problem for most computer > cryptosystems. So the OTP system I described here is the perfect > complement for those systems; it gives them a huge tug on their > bootstraps, gets them running on their own power. [...] > So my questions to you are: > > 1) Do you agree with my assessment? If so, why has every crypto > expert I've seen poo-pooed the idea? Your use case above suggests that you are still willing to trust conventional ciphers to be secure, so, practically speaking, what is the difference between: Key #1: 128 bits of one time pad Key #2: AES_{masterkey}(counter++) I'm not an "expert", but the reason I'd call it a bad idea (versus just not worth the effort, which is all the AES/OTP comparison is suggesting) is it introduces a need for synchronization, and that can be a hard thing to do between arbitrary parties on a network. > 2) Assuming my use case, what kind of attacks should I worry about? > For example, he might leave the CD sitting around somewhere before > putting it in his computer. If it sits around on CD, physical access > to it would compromise past and future communications. If he copies > it to flash or magnetic media, then destroys the CD, we can > incrementally destroy the pad as it is used, but we have to worry > about data remanence. I don't think attacks are the problem, so much as susceptibility to errors. To even get started, you need a CD of truly random bits, which is fairly non-trival to do on many platforms (and it's difficult to tests if your bits are actaully random or just look that way). More importantly, the key management issues seem annoying and highly prone to catastrophic failure. For example, I send you a message using the first N bits of the pad, my machine crashes, I restore from backup (or a filesystem checkpoint), and then my index into the pad is reset back to the start. Then I resend a second message using the same pad bits. Problem. I think your characterization of the possible attacks is pretty fair. But compare the OTP failure mode "access to it would compromise past and future communications", to the failure mode of, say, RSA authenticated DH key exchange, which provides PFS and requires an active attack in order to attack communications even after the key is compromised. Is OTP so much more secure than a simple PK-based key exchange that it is worth even this single tradeoff (not to mention the initial key exchange hassles and the need to store megabytes of pad with anyone I might want to talk to)? [...] > 4) For authentication, it is simple to get excellent results from an > OTP. You simply send n bytes of the OTP, which an attacker has a > 2^-8n chance in guessing. That sounds prone to a man in the middle attack; what is to stop someone from taking your authentication packet with the N bits of unguessable pad, cause your connection to drop and then authenticating as you using the pad you sent earlier? You could probably do a challenge-response authentication based on pad bits pretty easily, however, though doing it in a way that doesn't require a secure hash might be a little trickier. > How do we ensure message integrity? Is it > enough to include a checksum that is encrypted with the pad? Does it > depend on our method of encipherment? Assuming the encipherment is > XOR, is a CRC sufficient, or can one flip bits in the message and CRC > field so as to cancel each other? There are some attacks against WEP along those lines (they used RC4 to encrypt the checksum, instead of a one time pad, but it would end up about the same, I would think). Using HMAC keyed with pad bits seems a lot more sane to me... > 6) How should one detect and recover from lost, reordered, or partial messages? I think that this question needs to be asked at all points to one of the flaws of OTP from a practical standpoint. -Jack --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ralf at senderek.com Thu Jan 26 12:00:20 2006 From: ralf at senderek.com (Ralf Senderek) Date: Thu, 26 Jan 2006 18:00:20 +0100 (CET) Subject: thoughts on one time pads In-Reply-To: References: Message-ID: On Thu, 26 Jan 2006, Travis H. wrote: > All I've got to say is, I'm on this like stink on doo-doo. Being the > thorough, methodical, paranoid person I am, I will be grateful for any > pointers to prior work and thinking in this area. You may wish to look at: Ueli M . Maurer: Conditionally-Perfect Secrecy and a Provably-Secure Randomized Cipher in: Journal of Cryptography, vol 5, no. 1, pp. 53-66, 1992 (available online) and Ferguson, Schneier, Wagner: Security Weaknesses in Maurer-Like Randomized Stream Ciphers published on Schneier's website Regards Ralf Senderek *.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.*.* * Ralf Senderek http://senderek.com* What is privacy * * Sandstr. 60 D-41849 Wassenberg +49 2432-3960 * without * * PGP: AB 2C 85 AB DB D3 10 E7 CD A4 F8 AC 52 FC A9 ED * Pure Crypto? * 49466008763407508762442876812634724277805553224967086648493733366295231438448 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Thu Jan 26 15:56:40 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Thu, 26 Jan 2006 13:56:40 -0700 Subject: A glimpse of SIGINT 20 years ago... In-Reply-To: <87psmestcu.fsf@snark.piermont.com> References: <87psmestcu.fsf@snark.piermont.com> Message-ID: <43D93788.3090304@garlic.com> Perry E. Metzger wrote: > This is a couple of weeks old, but it appears that, by accident, a lot > of information on the targets and methods being used for > US/Australian/NZ SIGINT about 20 years ago has come to light as the > result of the release of a late New Zealand Prime Minister's papers. > > http://www.stuff.co.nz/stuff/print/0,1478,3540743a6005,00.html > > Among other things: > > The report lists the Tangimoana station's targets in 1985-86 as > "French South Pacific civil, naval and military; French Antarctic > civil; Vietnamese diplomatic; North Korean diplomatic; Egyptian > diplomatic; Soviet merchant and scientific research shipping; Soviet > Antarctic civil. Soviet fisheries; Argentine naval; Non-Soviet > Antarctic civil; East German diplomatic; Japanese diplomatic; > Philippine diplomatic; South African Armed Forces; Laotian diplomatic > (and) UN diplomatic." > > The station intercepted 165,174 messages from these targets, "an > increase of approximately 37,000 on the 84/85 figure. Reporting on the > Soviet target increased by 20% on the previous year". recent posting and glimpse of public key crypto 20 years ago http://www.garlic.com/~lynn/2006.html#30 --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From bear at sonic.net Thu Jan 26 21:09:52 2006 From: bear at sonic.net (bear) Date: Thu, 26 Jan 2006 18:09:52 -0800 (PST) Subject: thoughts on one time pads In-Reply-To: References: Message-ID: On Thu, 26 Jan 2006, Travis H. wrote: > For example, you may have occasional physical meetings with a good > friend, colleague, family member, or former co-worker. Let's say > you see them once every few years, maybe at a conference or a > wedding or a funeral or some other occasion. At such times, you > could easily hand them a CD-ROM or USB flash drive full of key > material. Then, you could use that pad to encrypt messages to them > until the next time you meet. Let's say you send them ten 1kB > messages per year. Then a $1 CD-ROM would hold enough data for > 70000 years of communication! Heck, I could put the software on the > image and make a dozen to keep with me, handing them out to new > acquaintances as a sort of preemptive secure channel. It's far easier and less error-prone to hand them a CD-ROM full of symmetric keys indexed by date. The problem is that most people will not take the care needed to properly use a one-time pad. For text communications like this forum, they're great, and a (relatively) small amount of keying material, as you suggest, will last for many years. But modern applications are concerned with communicating *DATA*, not original text; someone on the system is going to want to send their buddy a 30-minute video of the professor explaining a sticky point to the class, and where is your keying material going then? He wants to be ignorant of the details of the cryptosystem; he just hits "secure send" and waits for magic to happen. Or if not a 30-minute video, then the last six months of account records for the west coast division of the company, or a nicely formatted document in a word processor format that uses up a megabyte or two per page, or ... whatever. The OTP is nice for just plain text, but the more bits a format consumes, the less useful it becomes. And fewer and fewer people even understand how much or how little bandwidth something is; they think in terms of "human bandwidth", the number of seconds or minutes of attention required to read or listen to or watch something. An OTP, as far as I'm concerned, makes a really good system, but you have to respect its limits. One of those limits is a low-bandwidth medium like text-only messages, and in the modern world that qualifies as "specialized." Given a low-bandwidth medium, and indexing keying material into daily chunks to prevent a system failure from resulting in pad reuse, you get 600 MB on a CD-ROM. Say you want a century of secure communications, so you divide it into 8- kilobyte chunks -- each day you can send 8 kilobytes and he can send 8 kilobytes. (Note that DVD-ROMs are better). That gives you a little over 100 years (read, "all you're likely to need, barring catastrophic medical advances,") of a very secure low-bandwidth channel. Of course, the obvious application for this OTP material, other than text messaging itself, is to use it for key distribution. Bear >Bruce acknowleges this by saying "[t]he exceptions to this are >generally in specialized situations where simple key management is a >solvable problem and the security requirement is timeshifting." He >then dismisses it by saying "[o]ne-time pads are useless for all but >very specialized applications, primarily historical and non-computer." > >Excuse me? This would in fact be a _perfect_ way to distribute key >material for _other_ cryptosystems, such as PGP, SSH, IPSec, openvpn, >gaim-encryption etc. etc. You see, he's right in that the key >distribution problem is the hardest problem for most computer >cryptosystems. So the OTP system I described here is the perfect >complement for those systems; it gives them a huge tug on their >bootstraps, gets them running on their own power. > >I'm not sure it is even limited to this use case. For example, before >a ship sets out to sea, you could load it up with enough key material >to last a few millenia. How much key material could a courier carry? >I bet it's a lot. As they say, "never underestimate the bandwidth of >a station wagon full of tapes". And don't embassies have diplomatic >pouches that get taken to them and such? > >So my questions to you are: > >1) Do you agree with my assessment? If so, why has every crypto >expert I've seen poo-pooed the idea? > >2) Assuming my use case, what kind of attacks should I worry about? >For example, he might leave the CD sitting around somewhere before >putting it in his computer. If it sits around on CD, physical access >to it would compromise past and future communications. If he copies >it to flash or magnetic media, then destroys the CD, we can >incrementally destroy the pad as it is used, but we have to worry >about data remanence. > >3) How should one combine OTP with another conventional encryption >method, so that if the pad is copied, we still have conventional >cipher protection? In this manner, one could use the same system for >different use cases; one could, for example, mail the pad, or leave it >with a third party for the recipient to pick up, and you >opportunistically theoretical security if the opponent doesn't get it, >and you get empirical (conventional) security if they do. > >4) For authentication, it is simple to get excellent results from an >OTP. You simply send n bytes of the OTP, which an attacker has a >2^-8n chance in guessing. How do we ensure message integrity? Is it >enough to include a checksum that is encrypted with the pad? Does it >depend on our method of encipherment? Assuming the encipherment is >XOR, is a CRC sufficient, or can one flip bits in the message and CRC >field so as to cancel each other? If so, how should we compute a MIC? > Just SHA-1, and include that right after the plaintext (that is, we >encrypt the MIC so as to not reveal a preimage if SHA-1 is found to be >invertible)? > >5) How should one decouple message lengths from plaintext lengths? > >6) How should one detect and recover from lost, reordered, or partial messages? > >All I've got to say is, I'm on this like stink on doo-doo. Being the >thorough, methodical, paranoid person I am, I will be grateful for any >pointers to prior work and thinking in this area. I recall Jim Choate >from the Austin cypherpunks saying he was working on a OTP system, but >never heard any more about it (let's not discuss him though please, >this thread is about one time pads). >-- >"The generation of random numbers is too important to be left to chance." > -- Robert R. Coveyou -><- http://www.lightconsulting.com/~travis/ >GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B > >--------------------------------------------------------------------- >The Cryptography Mailing List >Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com > > --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From cryptography23094893 at aquick.org Thu Jan 26 21:38:10 2006 From: cryptography23094893 at aquick.org (Adam Fields) Date: Thu, 26 Jan 2006 21:38:10 -0500 Subject: thoughts on one time pads In-Reply-To: References: Message-ID: <20060127023809.GD28317@lola.aquick.org> On Thu, Jan 26, 2006 at 06:09:52PM -0800, bear wrote: [...] > Of course, the obvious application for this OTP material, > other than text messaging itself, is to use it for key > distribution. Perhaps I missed something, but my impression was that the original post asked about how a CD full of random data could be used as a key distribution mechanism. -- - Adam ** Expert Technical Project and Business Management **** System Performance Analysis and Architecture ****** [ http://www.everylastounce.com ] [ http://www.aquick.org/blog ] ............ Blog [ http://www.adamfields.com/resume.html ].. Experience [ http://www.flickr.com/photos/fields ] ... Photos [ http://www.aquicki.com/wiki ].............Wiki [ http://del.icio.us/fields ] ............. Links --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jthorn at aei.mpg.de Fri Jan 27 05:13:43 2006 From: jthorn at aei.mpg.de (Jonathan Thornburg) Date: Fri, 27 Jan 2006 11:13:43 +0100 (CET) Subject: thoughts on one time pads In-Reply-To: <43D922EC.8090007@connotech.com> References: <43D922EC.8090007@connotech.com> Message-ID: Two other problems with using a CD for OTP key material: 1. How to insure physical security for the N years between when you exchange CDs and the use of a given chunk of keying material? The "single CD" system is "brittle" -- a single black-bag burglary to copy the CD, and poof, the adversary has all your keys for the next N years. 2. How to securely destroy it after use, to prevent retrospective dumpster-diving? Nothing short of physical destruction will stop a determined adversary... and physical destruction is *hard*: Smashing the CD with a hammer leaves individual fragments which can still be read with a microscope. (That would yield "some" key bits; a serious adversary could "drag" these across archived encrypted-traffic to find the position which decrypts to something that's statistically plaintext.) Melting the CD should work... but in practice that takes a specialized "oven" (I seriously doubt my home oven gets hot enough), and is likely to produce toxic fumes, and leave behind a sticky mess (stuck to the surface of the specialized oven). ciao, -- -- Jonathan Thornburg Max-Planck-Institut fuer Gravitationsphysik (Albert-Einstein-Institut), Golm, Germany, "Old Europe" http://www.aei.mpg.de/~jthorn/home.html "Washing one's hands of the conflict between the powerful and the powerless means to side with the powerful, not to be neutral." -- quote by Freire / poster by Oxfam --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From kelsey.j at ix.netcom.com Fri Jan 27 09:27:20 2006 From: kelsey.j at ix.netcom.com (John Kelsey) Date: Fri, 27 Jan 2006 09:27:20 -0500 (GMT-05:00) Subject: thoughts on one time pads Message-ID: <6495408.1138372040816.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> >From: "Travis H." >Sent: Jan 26, 2006 6:30 AM >To: cryptography at metzdowd.com >Subject: thoughts on one time pads ... >In this article, Bruce Schneier argues against the practicality of a >one-time pad: > >http://www.schneier.com/crypto-gram-0210.html#7 > >I take issue with some of the assumptions raised there. I think that's because you missed the point. You're confusing manual key distribution (which makes sense in some cases, but is unworkable in others) with using a one-time pad (a specific method of encrypting information that uses up key material very fast but has a security proof). Manual key distribution means that I carry the key material to you by hand. This can be on a DVD or CD or tape or USB drive, or for that matter on a piece of paper or punched card or cryptographic token. A one-time pad means that I take my key material, which must be perfectly random for the proof to work, and XOR it with plaintext to get ciphertext. That can't possibly be cryptanalyzed, because there's no information about the plaintext in the ciphertext, so long as the key is unknown and random. (Any plaintext could lead to any ciphertext with equal probability.) ... >For example, you may have occasional physical meetings with a good >friend, colleague, family member, or former co-worker. Let's say you >see them once every few years, maybe at a conference or a wedding or a >funeral or some other occasion. At such times, you could easily hand >them a CD-ROM or USB flash drive full of key material. Then, you >could use that pad to encrypt messages to them until the next time you >meet. Let's say you send them ten 1kB messages per year. Then a $1 >CD-ROM would hold enough data for 70000 years of communication! Heck, >I could put the software on the image and make a dozen to keep with >me, handing them out to new acquaintances as a sort of preemptive >secure channel. You're talking about manual key distribution here. This works the same for both OTPs and conventional encryption. The difference is that managing the keys in a secure way is *much* easier when you're doing conventional encryption. The only advantage using a one-time pad gives here is that you don't have to worry about cryptanalysis. And one-time pad encryption can't be used with anything but manual key distribution, or other methods that are at least as awkward (like quantum key distribution). You can't hand me a business card with your PGP fingerprint on it and establish secure communications with me using a one-time pad, but you can using PGP and conventional crypto. ... >Excuse me? This would in fact be a _perfect_ way to distribute key >material for _other_ cryptosystems, such as PGP, SSH, IPSec, openvpn, >gaim-encryption etc. etc. You see, he's right in that the key >distribution problem is the hardest problem for most computer >cryptosystems. So the OTP system I described here is the perfect >complement for those systems; it gives them a huge tug on their >bootstraps, gets them running on their own power. But then you're not using an OTP anymore. And there's no need for a station wagon full of DVDs, you can use a piece of paper with a 32-digit hex string on it to exchange the AES key, ugly though that is to type in. In fact, there are some procedures people have worked out to do this. But it doesn't scale well. >I'm not sure it is even limited to this use case. For example, before >a ship sets out to sea, you could load it up with enough key material >to last a few millenia. How much key material could a courier carry? >I bet it's a lot. As they say, "never underestimate the bandwidth of >a station wagon full of tapes". And don't embassies have diplomatic >pouches that get taken to them and such? Yep. You've got to store the key material safely in transit and at the endpoints either way, though, and that's much easier for 256 bit AES keys (which can be put inside an off-the-shelf tamper-resistant token), and easier still for hashes of public keys (which only have to arrive unchanged--it doesn't matter if the bad guys learn the hashes). >So my questions to you are: > >1) Do you agree with my assessment? If so, why has every crypto >expert I've seen poo-pooed the idea? Not to put too fine a point on it, it's because he's right and you're wrong. >2) Assuming my use case, what kind of attacks should I worry about? >For example, he might leave the CD sitting around somewhere before >putting it in his computer. If it sits around on CD, physical access >to it would compromise past and future communications. If he copies >it to flash or magnetic media, then destroys the CD, we can >incrementally destroy the pad as it is used, but we have to worry >about data remanence. You have to worry about securing the key material from cradle to grave, and operationally makign sure you use the right key material with the right person and never reuse it. OTPs are terribly sensitive to the randomness of your key material (if you screw up and use bits biased 60/40 for your 128-bit AES key, you'll drop to 90+ bits of security; if you do that for your OTP, you'll reveal quite a bit of the normal ASCII text you send, because there's not very much entropy per bit.). The issue of preventing reuse is enormous. >3) How should one combine OTP with another conventional encryption >method, so that if the pad is copied, we still have conventional >cipher protection? In this manner, one could use the same system for >different use cases; one could, for example, mail the pad, or leave it >with a third party for the recipient to pick up, and you >opportunistically theoretical security if the opponent doesn't get it, >and you get empirical (conventional) security if they do. If you dig around, Rivest wrote a paper at Crypto 82 or 83 about randomizing encryption which is still pretty nice. To a first approximation, superencryption (encrypting the OTP-encrypted text with AES-CBC or some such thing) is always okay. >4) For authentication, it is simple to get excellent results from an >OTP. You simply send n bytes of the OTP, which an attacker has a >2^-8n chance in guessing. How do we ensure message integrity? Is it >enough to include a checksum that is encrypted with the pad? There are provably secure authentication schemes that use much less key material per message. Google for universal hashing and IBC Hash, and for provably secure authentication schemes. I seem to recall that Stinson has a really nice survey of this either webbed or in his book. (Anyone else remember?) >Does it >depend on our method of encipherment? Assuming the encipherment is >XOR, is a CRC sufficient, or can one flip bits in the message and CRC >field so as to cancel each other? Yep, you can flip bits, so long as you know the CRC polynomial. If the CRC polynomial is randomly chosen for each message, and used correctly, you get one of those provably-secure authentication schemes. >If so, how should we compute a MIC? > Just SHA-1, and include that right after the plaintext (that is, we >encrypt the MIC so as to not reveal a preimage if SHA-1 is found to be >invertible)? Read The Friendly Literature. ... >"The generation of random numbers is too important to be left to chance." > -- Robert R. Coveyou -><- http://www.lightconsulting.com/~travis/ >GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --John Kelsey --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Fri Jan 27 09:52:09 2006 From: solinym at gmail.com (Travis H.) Date: Fri, 27 Jan 2006 08:52:09 -0600 Subject: thoughts on one time pads In-Reply-To: <6495408.1138372040816.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> References: <6495408.1138372040816.JavaMail.root@elwamui-lapwing.atl.sa.earthlink.net> Message-ID: > I think that's because you missed the point. You're confusing manual > key distribution (which makes sense in some cases, but is unworkable > in others) with using a one-time pad (a specific method of encrypting > information that uses up key material very fast but has a security > proof). Actually, you're right, I was sort of conflating two ideas, since the system I described is useful both for distributing key material and for use as a OTP. Specifically, we can either encrypt text messages using the pad, or use a portion of the "pad" as a key for something else. And if we're really paranoid, we can encrypt a de novo key using OTP, which has the property that the attacker must have that portion of the pad *and* the transmission containing the OTP-encrypted new key to derive the new key; merely having the pad doesn't buy you anything. > Yep. You've got to store the key material safely in transit and at > the endpoints either way, though, and that's much easier for 256 bit > AES keys (which can be put inside an off-the-shelf tamper-resistant > token), and easier still for hashes of public keys (which only have to > arrive unchanged--it doesn't matter if the bad guys learn the > hashes). Yes, but not without cost. Those rest on more and more assumptions. In theory, it rests on only one assumption; unpredictability of the pad. In practice it's unbreakable even if your RNG is badly broken (for example, a bunch of typists asked to type random five-digit groups). > There are provably secure authentication schemes that use much less > key material per message. Google for universal hashing and IBC Hash, > and for provably secure authentication schemes. I seem to recall that > Stinson has a really nice survey of this either webbed or in his > book. (Anyone else remember?) I have his book, I'll check both. I seem to remember him discussing authentication a lot in the book. -- "The generation of random numbers is too important to be left to chance." -- Robert Coveyou -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Fri Jan 27 12:33:02 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Fri, 27 Jan 2006 17:33:02 +0000 Subject: thoughts on one time pads In-Reply-To: References: <43D922EC.8090007@connotech.com> Message-ID: <43DA594E.3060505@gmx.co.uk> Jonathan Thornburg wrote: > 1. How to insure physical security for the N years between when you > exchange CDs and the use of a given chunk of keying material? The > "single CD" system is "brittle" -- a single black-bag burglary to > copy the CD, and poof, the adversary has all your keys for the next > N years. Hmm. can you selectively blank areas of CD-RW? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jsd at av8n.com Fri Jan 27 14:31:39 2006 From: jsd at av8n.com (John Denker) Date: Fri, 27 Jan 2006 14:31:39 -0500 Subject: thoughts on one time pads In-Reply-To: <43DA594E.3060505@gmx.co.uk> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> Message-ID: <43DA751B.3000008@av8n.com> Dave Howe wrote: > Hmm. can you selectively blank areas of CD-RW? Sure, you can. It isn't soooo much different from rewriting any other type of disk. There are various versions of getting rid of a disk file. 1) Deletion: Throwing away the pointer and putting the blocks back on the free list. This is well known to be grossly insecure. 2) Zeroizing the blocks in place (followed by deletion). This is vastly better, but still not entirely secure, because there are typically stray remnants of the pattern sitting "beside" the nominal track, and a sufficiently-determined adversary may be able to recover them. 3) Trashing the blocks, i.e. overwriting them in place with crypto-grade random numbers (followed by optional zeroizing, followed by deletion). This makes it harder for anyone to recover strays. 4) Half-track trashing. This requires wizardly disk hardware, which shifts the head half a track either side of nominal, and *then* writes random numbers. I might be persuaded that this really gets rid of strays. 5) Grinding the disk to dust. AFAIK this is the only NSA-approved method. A suitable grinder costs about $1400.00. http://cdrominc.com/product/1104.asp One drawback with this is that you have to destroy a whole disk at a time. That's a problem, because if you have a whole disk full of daily keys, you want to destroy each day's key as soon as you are through using it. There are ways around this, such as reading the disk into volatile RAM and then grinding the disk ... then you just have to make sure the RAM is neither more volatile nor less volatile than you wanted it to be. That is, you use the disk for *distribution* but not necessarily for intermediate-term storage. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From bear at sonic.net Fri Jan 27 15:22:06 2006 From: bear at sonic.net (bear) Date: Fri, 27 Jan 2006 12:22:06 -0800 (PST) Subject: thoughts on one time pads In-Reply-To: <20060127023809.GD28317@lola.aquick.org> References: <20060127023809.GD28317@lola.aquick.org> Message-ID: On Thu, 26 Jan 2006, Adam Fields wrote: >On Thu, Jan 26, 2006 at 06:09:52PM -0800, bear wrote: >[...] >> Of course, the obvious application for this OTP material, >> other than text messaging itself, is to use it for key >> distribution. > >Perhaps I missed something, but my impression was that the original >post asked about how a CD full of random data could be used as a key >distribution mechanism. You did not miss anything; I confirmed the OP's supposition explicitly, and I agree with it in principle. Bear --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Fri Jan 27 16:11:27 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Fri, 27 Jan 2006 14:11:27 -0700 Subject: thoughts on one time pads In-Reply-To: <43DA751B.3000008@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> Message-ID: <43DA8C7F.8060109@garlic.com> John Denker wrote: > One drawback with this is that you have to destroy a whole > disk at a time. That's a problem, because if you have a > whole disk full of daily keys, you want to destroy each > day's key as soon as you are through using it. There > are ways around this, such as reading the disk into volatile > RAM and then grinding the disk ... then you just have to make > sure the RAM is neither more volatile nor less volatile than > you wanted it to be. That is, you use the disk for *distribution* > but not necessarily for intermediate-term storage. is there any more reason to destroy a daily key after it as been used than before it has been used? one of the attacks on the stored-value gift cards has been to skim the cards in the racks (before they've been activated) ... and check back later to see which cards are gone. i was standing at grocery store checkout last week ... apparently it was the store manager ... one of the other employees came up with a gift card that somebody had bought before xmas and gave as a present. they had come back complaining that there was no money credited to the account. it could have simply been an computer foul-up ... and then again, it could have been somebody had skimmed the card, waited and then drained the account. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From astiglic at okiok.com Fri Jan 27 23:52:57 2006 From: astiglic at okiok.com (Anton Stiglic) Date: Fri, 27 Jan 2006 23:52:57 -0500 Subject: a crypto wiki In-Reply-To: <9DC3EBEFB87A97498A7D25F130DE27E4206EF8@ohthree.jjj-i.com> Message-ID: <20060128045636.58F3B168366@mail.okiok.com> I agree. The cryptodox page looks nice, but I would rather see the content go in wikipedia, which is worked on, and looked at, by many more people, a really beautiful community work. --anton -----Original Message----- From: owner-cryptography at metzdowd.com [mailto:owner-cryptography at metzdowd.com] On Behalf Of Whyte, William Sent: January 26, 2006 10:07 AM To: Travis H.; cryptography at metzdowd.com Subject: RE: a crypto wiki There's also a crypto portal in Wikipedia itself: http://en.wikipedia.org/wiki/Portal:Cryptography FWIW, I'd rather see energy focused on the Wikipedia version, which more people are likely to use. William > -----Original Message----- > From: owner-cryptography at metzdowd.com > [mailto:owner-cryptography at metzdowd.com] On Behalf Of Travis H. > Sent: Thursday, January 26, 2006 12:02 PM > To: cryptography at metzdowd.com > Subject: a crypto wiki > > http://www.cryptodox.com/Main_Page > > -- > "The generation of random numbers is too important to be left > to chance." > -- Robert Coveyou -><- http://www.lightconsulting.com/~travis/ > GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B > > --------------------------------------------------------------------- > The Cryptography Mailing List > Unsubscribe by sending "unsubscribe cryptography" to > majordomo at metzdowd.com > > --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From pgut001 at cs.auckland.ac.nz Sat Jan 28 02:24:49 2006 From: pgut001 at cs.auckland.ac.nz (Peter Gutmann) Date: Sat, 28 Jan 2006 20:24:49 +1300 Subject: thoughts on one time pads In-Reply-To: Message-ID: Jonathan Thornburg writes: >Melting the CD should work... but in practice that takes a specialized "oven" >(I seriously doubt my home oven gets hot enough), and is likely to produce >toxic fumes, and leave behind a sticky mess (stuck to the surface of the >specialized oven). For no adequately explored reason I've tried various ways of physically destroying CDs: - Hammer on hard surface: Leaves lots of little fragments, generally still stuck together by the protective coating. - Roasting over an open fire: Produces a Salvador Dali effect until they catch fire, then huge amounts of toxic smoke ("fulfilling our carbon tax quota" was one comment) and equally toxic-looking residue. - Propane torch: Melts them without producing combustion products. - Skilsaw: Melts them together at the cutting point, rest undamaged. - Axe: Like skilsaw but without the melting effect. - Using the propane torch and hammer to try and drop-forge a crude double- density CD: Messy. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From solinym at gmail.com Sat Jan 28 11:32:05 2006 From: solinym at gmail.com (Travis H.) Date: Sat, 28 Jan 2006 10:32:05 -0600 Subject: thoughts on one time pads In-Reply-To: <43DA751B.3000008@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> Message-ID: > There are various versions of getting rid of a disk file. > 2) Zeroizing the blocks in place (followed by deletion). This > is vastly better, but still not entirely secure, because there > are typically stray remnants of the pattern sitting "beside" > the nominal track, and a sufficiently-determined adversary > may be able to recover them. I've discussed this before, and if you go back and read Gutmann's new web page about remanance he says he hasn't ever seen any evidence that anyone can recover after a single overwrite with zeroes. For some reason discussion of this pushes Garfinkel's buttons. I think this is a MFM image of what you're talking about: http://www.veeco.com/nanotheatre/nano_view_detail.asp?ImageID=78 > 4) Half-track trashing. This requires wizardly disk hardware, > which shifts the head half a track either side of nominal, > and *then* writes random numbers. I might be persuaded that > this really gets rid of strays. Wow, very cool idea. I bet that'd work to recover data in some cases too. > 5) Grinding the disk to dust. AFAIK this is the only NSA-approved > method. A suitable grinder costs about $1400.00. > http://cdrominc.com/product/1104.asp What about degaussing? http://www.semshred.com/content606.html http://www.datalinksales.com/degaussers/v85.htm http://www.degaussers-erasers.com/ Ah I had a good link a while back but lost it due to file corruption. Seriously :) > One drawback with this is that you have to destroy a whole > disk at a time. That's a problem, because if you have a > whole disk full of daily keys, you want to destroy each > day's key as soon as you are through using it. There > are ways around this, such as reading the disk into volatile > RAM and then grinding the disk ... then you just have to make > sure the RAM is neither more volatile nor less volatile than > you wanted it to be. That is, you use the disk for *distribution* > but not necessarily for intermediate-term storage. I think one solution is that whenever the pad is on disk, it is encrypted with a strong algorithm, and only decrypted as needed. Assuming you use an amenable algorithm, you can overwrite that portion of the disk after use. Not perfect security if the attacker gets access to the overwritten data, but it degrades into an attack on the conventional cipher. I wonder how remanance in flash drives fares. -- "The generation of random numbers is too important to be left to chance." -- Robert Coveyou -><- http://www.lightconsulting.com/~travis/ GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Sat Jan 28 11:58:41 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Sat, 28 Jan 2006 16:58:41 +0000 Subject: thoughts on one time pads In-Reply-To: <43DA751B.3000008@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> Message-ID: <43DBA2C1.1090407@gmx.co.uk> John Denker wrote: > Dave Howe wrote: > >> Hmm. can you selectively blank areas of CD-RW? > > > Sure, you can. It isn't soooo much different from rewriting any > other type of disk. Yeah, I know. just unsure how effective blanking is on cd-rw for (say) a pattern that has been in residence for two years, but now must be unrecoverable. > There are various versions of getting rid of a disk file. > 5) Grinding the disk to dust. AFAIK this is the only NSA-approved > method. A suitable grinder costs about $1400.00. > http://cdrominc.com/product/1104.asp for most, scratching off the carrier substrate is usually enough - I *might* be persuaded some trace remains on the plastic disc afterwards, but I can't imagine anyone recovering from a disk that had been a) scraped clean then b) thrown into a blast furnace containing liquid iron, or even a small home smelter. However, I am more interested in methods to destroy just a single track at a time, and I doubt you could deface the disk reliably *and* still retain read abilty on the remaining tracks. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ptrei at rsasecurity.com Sat Jan 28 12:14:11 2006 From: ptrei at rsasecurity.com (Trei, Peter) Date: Sat, 28 Jan 2006 12:14:11 -0500 Subject: thoughts on one time pads Message-ID: <017630AA6DF2DF4EBC1DD4454F8EE297077EF694@rsana-ex-hq1.NA.RSA.NET> You missed the old standby - the microwave oven. The disk remains physically intact (at least after the 5 seconds or so I've tried), but a great deal of pretty arcing occurs in the conductive data layer. Where the arcs travel, the data layer is vapourized. The end result is an otherwise intact disk in which the data layer is broken up into small intact islands surrounded by clear channels. It might be interesting to try a longer burn, in which case you might also want to put a glass of water in with the disk(s) to preserve the microwave's electronics. This is probably less effective than the other methods you've described, but its very fast and leaves no noxious residues. It also uses a very commonly available tool. Peter Trei -----Original Message----- From: owner-cryptography at metzdowd.com [mailto:owner-cryptography at metzdowd.com] On Behalf Of Peter Gutmann Sent: Saturday, January 28, 2006 2:25 AM To: cryptography at metzdowd.com; jthorn at aei.mpg.de Subject: Re: thoughts on one time pads Jonathan Thornburg writes: >Melting the CD should work... but in practice that takes a specialized "oven" >(I seriously doubt my home oven gets hot enough), and is likely to >produce toxic fumes, and leave behind a sticky mess (stuck to the >surface of the specialized oven). For no adequately explored reason I've tried various ways of physically destroying CDs: - Hammer on hard surface: Leaves lots of little fragments, generally still stuck together by the protective coating. - Roasting over an open fire: Produces a Salvador Dali effect until they catch fire, then huge amounts of toxic smoke ("fulfilling our carbon tax quota" was one comment) and equally toxic-looking residue. - Propane torch: Melts them without producing combustion products. - Skilsaw: Melts them together at the cutting point, rest undamaged. - Axe: Like skilsaw but without the melting effect. - Using the propane torch and hammer to try and drop-forge a crude double- density CD: Messy. Peter. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From smb at cs.columbia.edu Sat Jan 28 12:20:53 2006 From: smb at cs.columbia.edu (Steven M. Bellovin) Date: Sat, 28 Jan 2006 12:20:53 -0500 Subject: thoughts on one time pads In-Reply-To: (Your message of "Sat, 28 Jan 2006 20:24:49 +1300.") Message-ID: <20060128172053.2BDAD3BFDB1@berkshire.machshav.com> How high-assurance are these CD destruction methods? I don't recall seeing any articles on CD data recovery under normal conditions, let alone these. As always, it depends on your threat model. (Aside: to me, the only reason for using one-time pads is because you don't trust conventional encryption algorithms. Given that AES is rated for top secret traffic by NSA, I will assert that any enemy who has a chance of attacking it can devote considerable resources to data recovery from smashed CDs.) --Steven M. Bellovin, http://www.cs.columbia.edu/~smb --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Sat Jan 28 12:26:40 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Sat, 28 Jan 2006 17:26:40 +0000 Subject: a crypto wiki In-Reply-To: <20060128045636.58F3B168366@mail.okiok.com> References: <20060128045636.58F3B168366@mail.okiok.com> Message-ID: <43DBA950.5070801@gmx.co.uk> Anton Stiglic wrote: > I agree. The cryptodox page looks nice, but I would rather see the content > go in wikipedia, which is worked on, and looked at, by many more people, a > really beautiful community work. There is also the wiki crypto wikibook, which is sorta a co-production and shares a lot of text with the wiki crypto entries. The idea is to get a slightly more "fixed" view of the pages, which can then be published in paper form. http://en.wikibooks.org/wiki/Cryptography --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Sat Jan 28 12:38:31 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Sat, 28 Jan 2006 17:38:31 +0000 Subject: thoughts on one time pads In-Reply-To: <43DA8C7F.8060109@garlic.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> Message-ID: <43DBAC17.7070206@gmx.co.uk> Anne & Lynn Wheeler wrote: > is there any more reason to destroy a daily key after it as been used > than before it has been used? Yeah. tbh for good security, you should move your OTP keys into a secure storage device (asssuming you have one more secure than the cd-r) as soon as possible then destroy the entire disk. I can envisage a tamper-proof storage device that accepts an upload of raw key data, and stores 1gb of it in battery backed dynamic ram, which will blank reasonably effectively if the power is removed. But for most people, I imagine a CD-R is probably much, much easier to arrange physical security for than any other storage they may have access to, and both cheaper and easier to destroy after one use (easiest way to ensure data can't be retrieved) than say a USB storage dongle. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Sat Jan 28 12:40:12 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Sat, 28 Jan 2006 17:40:12 +0000 Subject: thoughts on one time pads In-Reply-To: References: Message-ID: <43DBAC7C.7090508@gmx.co.uk> Peter Gutmann wrote: > For no adequately explored reason I've tried various ways of physically > destroying CDs: > > - Hammer on hard surface: Leaves lots of little fragments, generally still stuck > together by the protective coating. > > - Roasting over an open fire: Produces a Salvador Dali effect until they catch > fire, then huge amounts of toxic smoke ("fulfilling our carbon tax quota" > was one comment) and equally toxic-looking residue. > > - Propane torch: Melts them without producing combustion products. > > - Skilsaw: Melts them together at the cutting point, rest undamaged. > > - Axe: Like skilsaw but without the melting effect. > > - Using the propane torch and hammer to try and drop-forge a crude double- > density CD: Messy. you tried just scraping the data carrier paint off with a knife? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From DaveHowe at gmx.co.uk Sat Jan 28 12:42:35 2006 From: DaveHowe at gmx.co.uk (Dave Howe) Date: Sat, 28 Jan 2006 17:42:35 +0000 Subject: [pgut001@cs.auckland.ac.nz: Re: thoughts on one time pads] In-Reply-To: <20060128152800.GD2301@leitl.org> References: <20060128152800.GD2301@leitl.org> Message-ID: <43DBAD0B.1090407@gmx.co.uk> Eugen Leitl wrote: > Sudden thermal stress (liquid nitrogen, etc) might be good enough to > delaminate, leaving clear disks behind. Not sure what the data surface is made from but - surely a suitable organic solvent could remove the "paint" into suspension leaving a clear plastic disc and no trace of organized data? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jsd at av8n.com Sat Jan 28 13:39:14 2006 From: jsd at av8n.com (John Denker) Date: Sat, 28 Jan 2006 13:39:14 -0500 Subject: thoughts on one time pads In-Reply-To: <43DA8C7F.8060109@garlic.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> Message-ID: <43DBBA52.4050202@av8n.com> Anne & Lynn Wheeler wrote: > is there any more reason to destroy a daily key after it as been used > than before it has been used? That's quite an amusing turn of phrase. There are two ways to interpret it: *) If taken literally, the idea of destroying a key _before_ it is used is truly an ingenious way to ensure security. Alas there is some degradation of functionality, but isn't that always the case? Also the cost of key distribution goes way down once you decide you will only distribute already-destroyed keys. *) Perhaps the intent was to speak about _protecting_ keys before and after use. That's somewhat trickier to do securely, and is more dependent on the threat model ... but offers vastly greater functionality. -- The best way to _protect_ a key after it has been used is to destroy it. -- For keys that have yet been used, a sufficient scheme (not the only scheme) for many purposes is to package the keys in a way that is tamper-resistant and verrry tamper-evident. The package must be tamper-evident in order to be secure. If there are signs of tampering, don't use the keys. The package must be at least somewhat tamper-resistant in order to protect the functionality against a too-easy DoS attack, i.e. superficial tampering. > one of the attacks on the stored-value gift cards has been to skim the > cards in the racks (before they've been activated) ... and check back > later to see which cards are gone. That indicates a gross lack of tamper-evident packaging, as discussed above. The store should never have activated a card that came from a package that had been tampered with. Travis H. wrote: >> What about degaussing? That's even funnier. Most CDs and DVDs are totally non-magnetic to begin with. Degaussing them is not going to have much effect. There are, of course, NSA-approved degaussers for magnetic media, but heretofore this thread hasn't been about magnetic media. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From zenadsl6186 at zen.co.uk Sat Jan 28 14:34:15 2006 From: zenadsl6186 at zen.co.uk (Peter Fairbrother) Date: Sat, 28 Jan 2006 19:34:15 +0000 Subject: thoughts on one time pads In-Reply-To: Message-ID: Peter Gutmann wrote: > Jonathan Thornburg writes: > >> Melting the CD should work... but in practice that takes a specialized "oven" >> (I seriously doubt my home oven gets hot enough), and is likely to produce >> toxic fumes, and leave behind a sticky mess (stuck to the surface of the >> specialized oven). > > For no adequately explored reason I've tried various ways of physically > destroying CDs: Does a microwave oven do anything? I've been reading too much Tom Clancy ... It does get rid of the stuff on the top, leaving a surface that a bit of sanding would make irretrievable, and some flakes that could be burned maybe? Another possibility might be to n-of-n [1] split the data up so you need to have a whole disk rotation's worth in order to reconstruct any of it - that might well make assured destruction a lot easier. The repeatedly applied hammer would probably work well then, I doubt it's that hard to destroy ~2^100 bits with a few blows to one track. but the hot fiery furnace in the basement is probably still the best. :) It used to be a fashion to have key signing parties when crypto people gathered - and at several ones over the last few years I have seen CD's of OTP data swapped instead. And DVD's are about the same price as CDs now. I'm talking about the kind of careful people who get the message and do the xor themselves, probably in shell script. No "applications". They can easily change to using symmetric keys to save OTP material (using some of the otp for the symmetric key) when large files are sent - "Here's the porneo.mpg of Hillary Clinton [2], encrypted in AES with this key: xxx..." Often doubly encrypted, typically using both Blowfish and AES with different keys, in case one of those ciphers has been covertly broken. Hey, why not? It costs nothing. -- Peter Fairbrother [1] the crypto variety of m-of-n splitting, but where m=n so you need all of the pieces to reconstruct any of the whole - not the RAID variety of m-of-n splitting, where you only need as much data as the original data. [2] Anne Widdecombe? --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Sat Jan 28 17:29:22 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Sat, 28 Jan 2006 15:29:22 -0700 Subject: thoughts on one time pads In-Reply-To: <43DBBA52.4050202@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> Message-ID: <43DBF042.2020908@garlic.com> John Denker wrote: > That indicates a gross lack of tamper-evident packaging, as discussed > above. The store should never have activated a card that came from a > package that had been tampered with. if you have seen many of the gift cards in racks at grocery stores ... they can be skimmed w/o any tampering needed (many with no packaging at all). it might be better that they were shipped in some sort of packaging that would require tampering in order to skim. i think that the conventional wisdom was that the cards were (nearly) worthless until activated (and so why would anybody bother with a worthless card). --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Sat Jan 28 17:50:16 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Sat, 28 Jan 2006 15:50:16 -0700 Subject: thoughts on one time pads In-Reply-To: <43DBBA52.4050202@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> Message-ID: <43DBF528.9030504@garlic.com> John Denker wrote: > -- The best way to _protect_ a key after it has been used is to destroy > it. > > -- For keys that have yet been used, a sufficient scheme (not the only > scheme) for many purposes is to package the keys in a way that is > tamper-resistant and verrry tamper-evident. periodically there was some discussion about institutional-centric tokens vis-a-vis person-centric tokens ... in one case specifically with respect to being able to replace magstripe payment cards with tokens. in the person-centric token scenario, the person can choose to have a single token that they could use for all authentication purposes, including all accounts (or choose how many tokens they want and which purposes each token is used for). at one point, there were counter arguments that a single card per account (the current mechanism) was much preferred because of the lost/stolen card problem. the problem is that the prevailing threat model for lost/stolen cards is the purse or wallet containing all cards (as opposed to individual cards). the person-centric model at least would allow a person to replace all cards subject to common threat model with a single token. a major issue with cdrom one-time pads would be somebody skimming the whole cdrom. destroying keys as they are being used would appear to only be a countermeasure to theft of the cdrom (in which case it is apparent that unused pads are compromised and should be eliminated). however, skimming the cdrom might not leave any trace that unused pads have been compromised ... which turned out to be the issue in the gift card skimming compromise. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From dan at geer.org Sat Jan 28 18:55:26 2006 From: dan at geer.org (dan at geer.org) Date: Sat, 28 Jan 2006 18:55:26 -0500 Subject: thoughts on one time pads In-Reply-To: Your message of "Sat, 28 Jan 2006 12:14:11 EST." <017630AA6DF2DF4EBC1DD4454F8EE297077EF694@rsana-ex-hq1.NA.RSA.NET> Message-ID: <20060128235526.4BEC91BF96D@absinthe.tinho.net> In our office, we have a shredder that happily takes CDs and is designed to do so. It is noisy and cost >$500. --dan --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jsd at av8n.com Sat Jan 28 19:37:23 2006 From: jsd at av8n.com (John Denker) Date: Sat, 28 Jan 2006 19:37:23 -0500 Subject: thoughts on one time pads In-Reply-To: <43DBF528.9030504@garlic.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> <43DBF528.9030504@garlic.com> Message-ID: <43DC0E43.3090608@av8n.com> I forgot to mention in my previous message: It is worth your time to read _Between Silk and Cyanide_. That contains an example of somebody who thought really hard about what his threat was, and came up with a system to deal with the threat ... a system that ran counter to the previous conventional wisdom. It involved protecting keys before use and destroying them after use. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From leichter_jerrold at emc.com Sun Jan 29 18:42:24 2006 From: leichter_jerrold at emc.com (leichter_jerrold at emc.com) Date: Sun, 29 Jan 2006 18:42:24 -0500 Subject: thoughts on one time pads In-Reply-To: <017630AA6DF2DF4EBC1DD4454F8EE297077EF694@rsana-ex-hq1.NA.RSA.NET> Message-ID: [CD destruction] | You missed the old standby - the microwave oven. | | The disk remains physically intact (at least after the | 5 seconds or so I've tried), but a great deal of pretty | arcing occurs in the conductive data layer. Where the | arcs travel, the data layer is vapourized. | | The end result is an otherwise intact disk in which the | data layer is broken up into small intact islands | surrounded by clear channels. It might be interesting | to try a longer burn, in which case you might also | want to put a glass of water in with the disk(s) to | preserve the microwave's electronics. | | This is probably less effective than the other methods | you've described, but its very fast and leaves no noxious | residues. It also uses a very commonly available tool. As always, who are you defending against? There are commercial "CD shredders" whose effect - preserved islands with some destroyed material - is produced by a much more prosaic approach: The surface is covered with a grid of pits. Only a small fraction of the surface is actually damaged, but no standard device will have any chance of reading the disk. I suppose specialized hardware might do so, but even if it code, there's the question of the encoding format. CD's are written with error-correcting codes which can recover from fairly significant damage - but if the damage exceeds their correction capability, they provide no information about what was there to begin with. If you want to go further down the same route, grinding the whole surface of the disk should work even better. Of course, all this assumes that there's no way to polish or otherwise smooth the protective plastic. Polishing should work if the scratches aren't too deep. (The pits produced by the CD shredder" I've seen look deep enough to make this difficult, but that's tough to do over the whole surface.) Probably the best approach would be "better living through chemistry": It should be possible to dissolve or otherwise degrade the plastic, leaving the internal metallic surface - very thin and delicate - easy to destroy. One would need to contact a chemist to determine the best way to do this. (If all else fails, sulfuric acid is likely pretty effective - if not something you want to keep around.) Realistically, especially given the error-correcting code issues, anything that breaks the CD into a large number of small pieces probably puts any recovery into the "national lab" range - if even they could do it. -- Jerry --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From ray at unipay.nl Mon Jan 30 09:14:23 2006 From: ray at unipay.nl (R. Hirschfeld) Date: Mon, 30 Jan 2006 15:14:23 +0100 Subject: [mcdaniel@cse.psu.edu: Financial Cryptography and Data Security '06 - Call for Participation] Message-ID: <200601301414.k0UEENFm015295@home.unipay.nl> From: Patrick McDaniel Subject: Financial Cryptography and Data Security '06 - Call for Participation To: fc-announce at ifca.ai Date: Mon, 30 Jan 2006 08:51:58 -0500 Financial Cryptography and Data Security '06 February 2nd -- March 2nd, 2006 Anguilla, British West Indies http://fc06.ifca.ai EARLY REGISTRATION DATE: FEB 3, 2006 *** Call for Participation and Program *** At its 10th year edition, Financial Cryptography and Data Security (FC'06) is a well established and major international forum for research, advanced development, education, exploration, and debate regarding security in the context of finance and commerce. Kicking off this the 10th year festivities is our Keynote Address by the renowned cryptographer Ron Rivest. One of the most influential figures in cryptography, Ron will review some of his past predictions and lessons learned over the last 10 years, and prognosticate directions for the next decade. The conference will also feature an invited talk by Michael Froomkin, "Are We All Cypherpunks Yet?", about the current legal landscape of Financial Cryptography. Registration for Financial Cryptography 2006 is now open; details and online registration can be found at http://fc06.ifca.ai along with information about discounted hotel accommodation and travel. Financial Cryptography is organized by the International Financial Cryptography Association (IFCA). More information can be obtained from the IFCA web site at http://www.ifca.ai or by contacting the conference general chair, Patrick McDaniel, at mcdaniel at cse.psu.edu. ** Invited Speakers ** Ron Rivest (Keynote) Michael Froomkin ** Panels ** Ten Years of Financial Cryptography, Moderator: Moti Young Identity Management, Moderator: Frank Trotter ** Main Conference Program ** Authentication and Fraud Detection Authentication and Fraud Detection Phoolproof phishing prevention, Bryan Parno and Cynthia Kuo and Adrian Perrig (Carnegie Mellon University) A Protocol For Secure Public Instant Messaging, Mohammad Mannan and Paul C. van Oorschot (School of Computer Science, Carleton University, Canada) Using Automated Banking Certificates to Detect Unauthorized Financial Transactions, C. Corzo, F. Corzo S., N. Zhang, and A. Carpenter (University of Manchester) Privacy Privacy in encrypted content distribution using private broadcast encryption, Adam Barth and Dan Boneh (Stanford University) and Brent Waters (SRI International) A Private Stable Matching Algorithm, Philippe Golle (Palo Alto Research Center) Private Policy Negotiation, Klaus Kursawe and Gregory Neven (Katholieke Universiteit Leuven) and Pim Tuyls (Philips Research Eindhoven) Reputation and Mix-Nets Uncheatable Reputation for Distributed Computation Markets, Bogdan Carbunar (Purdue University) and Radu Sion (Stony Brook University) An Efficient Publicly Verifiable Mix-net for Long Inputs, Jun Furukawa and Kazue Sako (NEC Corporation, Japan) Auditable Privacy: On Tamper-evident Mix Networks, Jong Youl Choi (Indiana University at Bloomington) and Philippe Golle (Palo Alto Research Center) and Markus Jakobsson (Indiana University at Bloomington) Conditional Financial Cryptography A Generic Construction for Token-Controlled Public Key Encryption, David Galindo (Radboud University Nijmegen) and Javier Herranz (INRIA Futurs-Laboratoire d'Informatique (LIX)) Authenticated Key-Insulated Public-Key Encryption and Time-Release Cryptography, Jung Hee Cheon (Dept. of Mathematics, Seoul National Univ., Korea) and Nick Hopper and Yongdae Kim and Osipkov (Dept. of Computer Science and Eng., University of Minnesota-Twin Cities) Conditional Encrypted Mapping and Comparing Encrypted Numbers, Ian F. Blake (Dept. ECE University of Toronto) and Vladimir Kolesnikov (Dept. Comp. Sci. University of Toronto) Revisiting Oblivious Signature-Based Envelopes: New Constructs and Properties, Samad Nasserian (RWTH Aachen University) and Gene Tsudik (University of California, Irvine) Payment Systems Provably Secure Electronic Cash based on Blind Multisignature Schemes, Yoshikazu Hanatani (The University of Electro-Comunications) and Yuichi Komano (Toshiba Corporation) and Kazuo Ohta (The University of Electro-Comunications) and Noboru Kunihiro (The University of Electro-Comunications) Efficient Provably Secure Restrictive Partially Blind Signatures from Bilinear Pairings, Xiaofeng Chen and Fangguo Zhang (Sun Yat-sen University, China) and Yi Mu and Willy Susilo (University of Wollongong, Australia) Privacy-Protecting Coupon System Revisited, Lan Nguyen (CSIRO ICT Centre, Australia) Efficient Protocols Efficient Broadcast Encryption Scheme with Log-Key Storage, Yong Ho Hwang and Pil Joong Lee (Dept. of EEE, POSTECH, Pohang, Korea) Efficient Correlated Action Selection, Mikhail Atallah and Marina Blanton and Keith Frikken and Jiangtao Li (Department of Computer Science, Purdue University) Efficient Cryptographic Protocols Realizing E-Markets with Price Discrimination, Aggelos Kiayias (University of Connecticut) and Moti Yung (RSA Labs & Columbia Univ.) ** Short Papers ** A Practical Implementation of Secure Auctions based on Multiparty Integer Computation, Peter Bogetoft (Food and Resources Economic Institute, The Royal Veterinary and Agricultural University, Denmark) and Ivan Damgaard (Dept. of Computer Science, University of Aarhus) and Thomas Jakobsen (Dept. of Computer Science, University of Aarhus) and Kurt Nielsen (Food and Resources Economic Institute, The Royal Veterinary and Agricultural University, Denmark) and Jakob Pagter (Dept. of Computer Science, University of Aarhus) and Tomas Toft (Dept. of Computer Science, University of Aarhus) Defeating Malicious Servers in a Blind Signatures Based Voting System, Sebastien Canard and Matthieu Gaud and Jacques Traore (France Telecom R&D, France) Pairing Based Threshold Cryptography Improving on Libert-Quisquater and Baek-Zheng, Yvo Desmedt (Information Security, Department of Computer Science, University College London) and Tanja Lange (Technical University of Denmark) Credit transfer within market-based resource allocation infrastructure, Tyler Close (HP Palo Alto) A Note on Chosen-Basis Decisional Diffe-Hellman Assumptions, Michael Szydlo (RSA Laboratories) Cryptanalysis of a partially blind signature scheme or "How to make 100$ bills with 1$ and 2$ ones", Gwenalle Martinet and Guillaume Poupard and Philippe Sola (DCSSI Crypto Lab - France) An Efficient Group Signature with Concurrently-Secure Joining (invited), by I. Teranishi and J. Furukawa (NEC corporation) ** Additional Events ** In addition to the formal conference sessions, there will be an evening Rump Session of informal results and works-in-progress, an afternoon session of presentations by some of our sponsors (including Stefan Roever of Navio and Nicko van Someren of nCipher), and a program of social events (see the conference website for details). - ---- We wish to thank the conference sponsors for their invaluable assistance in making this conference possible: Bibit, Everbank, Google, Navio, nCipher, Offshore Information Services. We would also like to thank Telcordia for their technical assistance with the online submission and review process. - - ---------- --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Mon Jan 30 10:53:29 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Mon, 30 Jan 2006 08:53:29 -0700 Subject: Face and fingerprints swiped in Dutch biometric passport crack (another card skim vulnerability) In-Reply-To: <43DBBA52.4050202@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> Message-ID: <43DE3679.1080301@garlic.com> Face and fingerprints swiped in Dutch biometric passport crack http://www.theregister.co.uk/2006/01/30/dutch_biometric_passport_crack/ The crack is attributed to Delft smartcard security specialist Riscure, which explains that an attack can be executed from around 10 metres and the security broken, revealing date of birth, facial image and fingerprint, in around two hours. .. snip .. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From jamesd at echeque.com Mon Jan 30 11:25:56 2006 From: jamesd at echeque.com (James A. Donald) Date: Mon, 30 Jan 2006 08:25:56 -0800 Subject: Unforgeable dialog. Message-ID: <43DE3E14.7020804@echeque.com> -- One needs to differentiate dialogs brought up from within the browser client, which are trustworthy unless one is infected with malware, from popups brought up by some other web page. (Of course if popups are disabled except for specific sites, this is considerably less of a problem.) How would one construct a dialog from within Firebox so that it is obviously different from any unprivileged web page that attempts to imitate it? (The motivation for all this is that is seems that the architects of the major browsers are not looking for a solution to the phishing problem. They are looking for a solution to the phishing problem that fits into the existing business models of existing certification authorities.) The easy thing to do is to turn off the title bar and status bar, but I am a bit worried that this is not glaringly obvious enough. What I would really like to do is use transparency against the desktop, so that I can have a non rectangular dialog, but it only seems possible to do this in native mode, not obvious that it can be done in XUL, despite XUL's supposed support for transparency, and doing it in native mode seems much like hard work. Another approach is to take advantage of the only-one-popup rule for untrusted web pages, by popping up two related overlapping dialogs which hold a fixed position relative to each other - which visually is a sort of non rectangular dialog. --digsig James A. Donald 6YeGpsZR+nOTh/cGwvITnSR3TdzclVpR0+pr3YYQdkG qJqQUN0wUXXtijW2TJfv5Yy48BX++knDJaszNmZa 4D3PdzF5yZbcUm6TB72kP6ruoofG27I+m2w7bWnro --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Tue Jan 31 11:46:02 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Tue, 31 Jan 2006 09:46:02 -0700 Subject: thoughts on one time pads In-Reply-To: <43DC0E43.3090608@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> <43DBF528.9030504@garlic.com> <43DC0E43.3090608@av8n.com> Message-ID: <43DF944A.3010905@garlic.com> John Denker wrote: > It is worth your time to read _Between Silk and Cyanide_. > That contains an example of somebody who thought really > hard about what his threat was, and came up with a system > to deal with the threat ... a system that ran counter to > the previous conventional wisdom. It involved protecting > keys before use and destroying them after use. if you have a scores or hundreds of one-time pads (or any other static secrets) on a cd .... and the vulnerability is skimming ... then if the already used pads are destroyed as countermeasure to skimming ... the unused pads that are also on the same cd are also vulnerable to the same skimming. say the cd was skimmed before any pads were used ... then there hasn't yet been any destroyed pads. supposedly if you provide protection sufficient for the unused pads ... then that should be protection for the used pads also (although there always is the school of thot that more security is always better). destroying just the one time pads on a cd is countermeasure to theft ... since the theft of the cd hopefully prevents the unused pads from being used (at least by you), there potentially is vulnerability that the thief might be able to use the unused pads in some sort of attack. the issue is that having both used and unused pads on the same CD creates a potential common vulnerability of everything on the same CD (which are in different states). once all pads have been used ... then the whole CD represents a common vulnerability state ... and the whole CD can either be destroyed. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com From lynn at garlic.com Tue Jan 31 12:20:41 2006 From: lynn at garlic.com (Anne & Lynn Wheeler) Date: Tue, 31 Jan 2006 10:20:41 -0700 Subject: thoughts on one time pads In-Reply-To: <43DC0E43.3090608@av8n.com> References: <43D922EC.8090007@connotech.com> <43DA594E.3060505@gmx.co.uk> <43DA751B.3000008@av8n.com> <43DA8C7F.8060109@garlic.com> <43DBBA52.4050202@av8n.com> <43DBF528.9030504@garlic.com> <43DC0E43.3090608@av8n.com> Message-ID: <43DF9C69.3000009@garlic.com> John Denker wrote: > I forgot to mention in my previous message: > > It is worth your time to read _Between Silk and Cyanide_. > That contains an example of somebody who thought really > hard about what his threat was, and came up with a system > to deal with the threat ... a system that ran counter to > the previous conventional wisdom. It involved protecting > keys before use and destroying them after use. an open question is whether preventing anybody from accessing the cd for skimming is also sufficient for preventing anybody from accessing the cd for theft. this has some analogy to tamper-evident vis-a-vis tamper-proof. obviously theft leaves more tell tail trails (aka tamper-evident). then does any countermeasures for skimming (tamper-proof) have to be more stringent than countermeausures for theft (tamper-evident). destroying the used keys is countermeausre for all kinds of access of the used keys. however destroying used keys still leaves vulnerability of skimming the unused keys (on the same cd). if the countermeasures for skimming the unused keys (tamper-proof) is sufficiently high ... then that may also be adequate for all kinds of access to the used keys on the same cd. but as mentioned ... there are also the people of the school of thot that more security is always better. --------------------------------------------------------------------- The Cryptography Mailing List Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd.com