Slashdot Mirror


France Outlaws Hashed Passwords

An anonymous reader writes "Storing passwords as hashes instead of plain text is now illegal in France, according to a draconian new data retention law. According to the BBC, '[t]he law obliges a range of e-commerce sites, video and music services and webmail providers to keep a host of data on customers. This includes users' full names, postal addresses, telephone numbers and passwords. The data must be handed over to the authorities if demanded.' If the law survives a pending legal challenge by Google, Ebay and others, it may well keep some major services out of the country entirely."

433 comments

  1. well... by spliffington · · Score: 1

    That's gonna be effective...

    1. Re:well... by definate · · Score: 5, Interesting

      Can't wait till the next news article after this goes live...

      "There has been a sudden increase in credit card fraud in France of late, due to users using the same password on every different system. So when a .fr site is hacked or an employee goes rogue, suddenly you get a lot more than you originally bargained for."

      --
      This is my footer. There are many like it, but this one is mine.
    2. Re:well... by MyLeftSock · · Score: 1

      Name one time government did any good.

      AKA, What did the Romans ever do for us?

    3. Re:well... by Anonymous Coward · · Score: 0

      It's effective insofar that I will no longer do business with French companies online. Storing passwords in plain-text is simply way too insecure.

    4. Re:well... by Z00L00K · · Score: 2, Interesting

      Railroad tracks are defined to be 2 horse asses wide, which actually has a history back to the Roman empire.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    5. Re:well... by Z00L00K · · Score: 1

      I foresee various loopholes around this - like offshoring all the web shops - or maybe it's enough to offshore the login services.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    6. Re:well... by gilleain · · Score: 3, Insightful

      Railroad tracks are defined to be 2 horse asses wide, which actually has a history back to the Roman empire.

      RIGHT well, APART from better sanitation and medicine and education and irrigation and public health and roads and a freshwater system and baths and public order...

      WHAT have the romans ever done for US?

    7. Re:well... by Anonymous Coward · · Score: 0

      Of course the use of hashed passwords doesn't protect you from that completely. Yes, it protects you if they get the information from the database.

      If they have access to the system checking the passwords though, it's still receiving the password in plaintext from the user. It'd therefore be possible to modify the system that hashes the submitted password and compares it to the stored one so that if it matches it also writes it to a file/sends it to the attacker. At least that's likely to be noticed far more easily than a database dump though.

    8. Re:well... by ElectricTurtle · · Score: 0

      Please stop propagating debunked myths, thanks. Railroad track gauges vary widely around the world.

      --
      I support the Slashcott and will not be reading or commenting from 2/10/14 to 2/17/14. Beta is steaming pile of dog shit
    9. Re:well... by TheRaven64 · · Score: 3, Insightful

      If they have access to the system checking the passwords though, it's still receiving the password in plaintext from the user.

      Depends on the authentication scheme used. In some, only the client ever has access to the plaintext password. For example:

      1. The server stores a salt and a hashed password
      2. The client connects, and receives two salts from the server.
      3. The client hashes the password with both salts and uploads the result.
      4. The server validates the old hash, then stores the new salt and hash.

      The other advantage of this is that the server doesn't know when the user has changed its password. The server is required to change the stored password each login, so it's impossible to steal someone's account without their knowledge, unless you get their password via some other means. If you log in, you must change their password, and the next time they log in they will discover that it's changed.

      --
      I am TheRaven on Soylent News
    10. Re:well... by silanea · · Score: 4, Insightful

      I am pretty sure the width of horse asses varies just as wildly. Now whether there lies a correlation...

      --
      Rudolf Hess edited Mein Kampf. He was the very first grammar nazi.
    11. Re:well... by Bert64 · · Score: 1, Informative

      In which case, you can now authenticate with the hash instead... So the hash becomes the equivalent of plaintext, thats the worst of both worlds.. Although you do mitigate that to some degree by changing the hash each time.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    12. Re:well... by maxwell+demon · · Score: 1

      According to the page you linked, it's only half of a myth: The size was indeed determined indirectly by the size of two horse asses, but they were not Roman horses, but British horses.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    13. Re:well... by icebraining · · Score: 4, Interesting

      I can see a push towards OpenID, or more realistically, Facebook/Twitter/Google authentication services in French websites.

    14. Re:well... by TheRaven64 · · Score: 2

      In which case, you can now authenticate with the hash instead.

      Yes, but only once, and not without leaving a trail.

      So the hash becomes the equivalent of plaintext, thats the worst of both worlds.

      No it isn't. The transmitted and stored values are both only valid for a single log in. All accounts can use the same password without the server being able to recover it (the benefit of a hash), and a passive eavesdropper now only has a password that they can use once, rather than every time, and can't use undetected.

      Although you do mitigate that to some degree by changing the hash each time

      Which makes about as much sense as saying 'storing hashed passwords is about as secure as storing plaintext ones, although that's offset a bit by hashing them'. When it comes to algorithms related to security, you can't just look at part of them in isolation - this system was designed and reviewed quite carefully (search and you'll find a lot of places using it), you aren't meant to just take a couple of steps, throw them into a system, and say 'yup, that's secure'.

      --
      I am TheRaven on Soylent News
    15. Re:well... by HungryHobo · · Score: 1

      "This is one of those items that â" although wrong in many of its details â" isn't exactly false in an overall sense and is perhaps more fairly labeled as "True, but for trivial and unremarkable reasons.""

      so.... not really debunked but technically it could have gone another way and we could have ended up with a different size track.

    16. Re:well... by A+nonymous+Coward · · Score: 1

      They invented unladen swallow jokes.

    17. Re:well... by erroneus · · Score: 2

      Well that confirms it had nothing to do with Rush Limbaugh!

      ba-dum-psh!

    18. Re:well... by countertrolling · · Score: 1

      Heh... skinny ass = narrow gauge.. Makes me wonder why the rails in Africa aren't 30 feet apart...

      --
      For justice, we must go to Don Corleone
    19. Re:well... by Gofyerself · · Score: 1

      Two politicians wide??

    20. Re:well... by EraserMouseMan · · Score: 0

      So in 1000 years people will falsely credit the USA Government with the invention of the light bulb? What a shame when credit for all inventions, discoveries and accomplishments goes to whatever government had authority over the actual inventor. Why can't you wrap your mind around the fact that individuals are the source of all ideas. A government has no wisdom of it's own. It's wisdom comes from from the individuals who make it up.

    21. Re:well... by EraserMouseMan · · Score: 1

      I'm so sick of people sticking their "snopes" nose in the air. I swear, nobody knows how to think anymore. All people ever do anymore is "Google" and then "Snopes" what was Googled. Go do something people. Learn from experience!

    22. Re:well... by ElectricTurtle · · Score: 1

      Did you pay any attention to the second link? Track gauges vary more than three feet depending on location. Whatever link there is between draft animals and rail gauge is quite weak and certainly nothing approaching a standard.

      --
      I support the Slashcott and will not be reading or commenting from 2/10/14 to 2/17/14. Beta is steaming pile of dog shit
    23. Re:well... by kevinNCSU · · Score: 2

      So in 1000 years people will falsely credit the USA Government with the invention of the light bulb? What a shame when credit for all inventions, discoveries and accomplishments goes to whatever government had authority over the actual inventor. Why can't you wrap your mind around the fact that individuals are the source of all ideas. A government has no wisdom of it's own. It's wisdom comes from from the individuals who make it up.

      No, but they might credit it and the USSR with the start of space exploration, putting a man on the moon, and so on. Sure, it's a large group of individuals that contributed to this, but that's exactly what a government is. You're argument is basically "That group of individuals has no wisdom of it's own, it's wisdom comes from the sum of individuals in the group" which is just pedantic.

    24. Re:well... by ThatMegathronDude · · Score: 1

      Whoosh. Of the century.

      Anyway, those things were not all invented by Romans, but were in use by them centuries before the joke took place in Judea. The big deal was that the Romans ordered and paid for the construction and supply of said public improvements.

    25. Re:well... by FrkyD · · Score: 1

      I wonder what kind of experience would result in direct knowledge of the correlation between horses asses and rail road tracks. Care to share yours?

    26. Re:well... by snspdaarf · · Score: 5, Funny

      Just looking around my office, I see a number of horse's asses, and their width is quite different.

      --
      Why, without your clothes, you're naked, Miss Dudley!
    27. Re:well... by EraserMouseMan · · Score: 1

      Sure, I'll comment on my own post. All but guaranteeing that nobody else will add anything else to this. The first tip-off was the use of the phrase "horse's asses". Right off the bat the commenter was going for the sensationalized colloquial rendition. Red flag #1. Second there was no way the poster would have any personal experience with what standard the Romans used since he wasn't alive then. So he had to be passing on some knowledge from handed down wisdom. Red flag #2. Anyone who's got any experience with units of measurement knows that no 2 horses have the same ass width. Red flag #3. This could go on forever. But if a person uses their brain (not snopes) they can flush out bad logic. Unfortunately all people do now days is Google the answer and then depend on Snopes to back it up. It's just sad. Also, nobody uses their own words to prove anybody wrong anymore. They just lazily spam everyone with some Snopes link.

      (And, seriously, people don't spam everyone with links you Googled about how arbitrary the choice the weight of kilogram is or the inch, or any other crap about how arbitrary just about every unit of measurement is; or examples from history about people using anyone's ass for a unit of measurement. We know.)

    28. Re:well... by Nyder · · Score: 1

      Railroad tracks are defined to be 2 horse asses wide, which actually has a history back to the Roman empire.

      Dang my public education, they never told me the Romans build railroads!!!!!!

      --
      Be seeing you...
    29. Re:well... by kiddygrinder · · Score: 1

      i'm pretty sure a lot of individuals owe their chance at innovating to government funding

      --
      This is a joke. I am joking. Joke joke joke.
    30. Re:well... by daem0n1x · · Score: 1

      It's ironic. A few years after the fall of the Berlin Wall, this time it's the western democracies going down on a slippery slope towards totalitarian states. In this case, championed by an ultra-capitalist right-wing government like this of Monsieur Sarkozy.

    31. Re:well... by kiddygrinder · · Score: 1

      nothing in your post even approaches logic, what you are basically saying is because they heard about something they couldn't have possibly experienced it's a "red flag"... hate to break this to you but 99% of everything you know you didn't experience first hand. Of course no 2 horses are the same size, but a lot of measurements have come from rough guesses, i see no reason why railways may or may not be based on the width of a horse. Nobody uses their words to prove anyone wrong because it's a pointless exercise, you're going to continue believing that snopes is a conspiracy against railways or something no matter who's right, so really what's the point of getting worked up about it.

      --
      This is a joke. I am joking. Joke joke joke.
    32. Re:well... by jbolden · · Score: 1

      And that holds true for any other human institution. So what? And in a similar vein individuals have no wisdom of their own, their wisdom comes from the cells that make them up.

    33. Re:well... by Thaelon · · Score: 1

      I'm pretty sure that scientists were responsible for all of that, not the Romans in general.

      Much like vaccines, AC power, light bulbs, and basically everything else that makes our lives better.

      --

      Question everything

    34. Re:well... by jbolden · · Score: 1

      > Name one time government did any good.

      OK ending the contiminated water epidemics that used to be a huge problem in the 19th century.

    35. Re:well... by Anonymous Coward · · Score: 0

      Some countries use donkeys, you insensitive clod!

    36. Re:well... by KarrdeSW · · Score: 1

      People had been putting wheeled trucks on tracks and pulled them along with slaves or animals for quite a long time before someone invented a steam engine. The concept didn't originate with engines and iron rail tracks.

    37. Re:well... by geminidomino · · Score: 1

      A few years after the fall of the Berlin Wall, this time it's the western democracies going down on a slippery slope towards totalitarian states.

      Dammit, we should never have broken the seal!

    38. Re:well... by MasaMuneCyrus · · Score: 2

      Government's a lot like religion. It's done so many bad things that a huge amount of ignorant people think the world would be better off without it. If you care at all to get your head out of your ass, you'll realize that it's done an incredible amount of unequaled good, too, between its short spurts of horrifically bad, though.

      Also like religion, it's a basic need of the world at large. Try as you might to replace it with something else or even nothing it all, it'll always come creeping back in/ Even in tribal societies there are village elders.

    39. Re:well... by Joe+U · · Score: 1

      What happened to this place?

      Since when did we have to dissect Monty Python jokes?

    40. Re:well... by uberjack · · Score: 1

      That's simply idiotic. I just hope that American companies don't follow suit (although I expect that a disturbing proportion of them already store passwords in plain text)

    41. Re:well... by pixelpusher220 · · Score: 1

      Even in tribal societies there are village elders.

      even crazy ones who are eventually discovered to be complete loons and sent packing. Byebye Glenn!

      --
      People in cars cause accidents....accidents in cars cause people :-D
    42. Re:well... by BrokenHalo · · Score: 1

      Well, speaking as a cheesemaker (but not any other kind of dairy worker), I fart in the general direction of the Romans who never did go home...

    43. Re:well... by uradu · · Score: 1

      I think your reference eludes most /. readers nowadays. If you quoted Justin Bieber OTOH...

    44. Re:well... by jedidiah · · Score: 1

      It doesn't really matter if the Romans invented all of that since their empire promptly fell apart and all of those benefits were lost to everyone.

      Ten centuries later, everything had to be reinvented. Once the dark age ended, you still had to convince the average ex-Roman that taking a bath wouldn't kill them.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    45. Re:well... by OakDragon · · Score: 1

      All people ever do anymore is "Google" and then "Snopes" what was Googled. Go do something people. Learn from experience!

      Is "Experience" a new one, or is it like "Ask" or "Bing"?

      :)

    46. Re:well... by jedidiah · · Score: 1

      Why should they be immune from "tear downs". Nothing else is.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    47. Re:well... by Anonymous Coward · · Score: 0

      Sure, just like you can't give Microsoft credit (or blame, whatever you're flavour is) for creating Windows et all... ah wait...

    48. Re:well... by Gilmoure · · Score: 1

      Wine?

      --
      I drank what? -- Socrates
    49. Re:well... by thsths · · Score: 1

      Just use pwdhash and hash your password locally. It works like a treat, except for a few sites that have Byzantine password "complexity" rules.

    50. Re:well... by penguinchris · · Score: 1

      You missed the point - you ask for people to go out and experience the world rather than learning from snopes. This makes no sense because you can't learn e.g. where the width of rail tracks came from by experiencing it, unless learning from experience includes experiencing a book, and snopes has already done that research so why bother?

      I suppose there are things on snopes that you could learn from experience - to pick an obvious example, you could experience what happens when you eat pop rocks and soda. Most of the interesting stuff, though, and the things that get referenced elsewhere on the internet - such as where did rail track widths come from - are not in that category. You may know everything and not be interested in trivia like this, but many (most, I would wager) are.

      Realizing that someone's statement is passed-on information of dubious quality is an important skill, yes, but that's not what you were talking about and that's not what FrkyD was asking for with his comment.

    51. Re:well... by adonoman · · Score: 1

      How, exactly does this help?

    52. Re:well... by MarkvW · · Score: 3, Interesting

      Government's a lot like religion. It's done so many bad things that a huge amount of ignorant people think the world would be better off without it. If you care at all to get your head out of your ass, you'll realize that it's done an incredible amount of unequaled good, too, between its short spurts of horrifically bad, though.

      Also like religion, it's a basic need of the world at large. Try as you might to replace it with something else or even nothing it all, it'll always come creeping back in/ Even in tribal societies there are village elders.

      Human beings need to organize. We're social creatures. When we organize in groups, it is imperative that we defend ourselves from incursions from other groups. Otherwise, the other groups will take our stuff and we will perish. The most basic groups, like the tribe, are readily destroyed by the more organized groups (like the genocide practiced on the American Indians). Big groups are subject to fragmentation (see the American Civil War). Government is never a static thing, it is a practical, seat-of-the-pants human thing.

      Arguing whether government is good is like arguing whether the atmosphere is good. We need both.

    53. Re:well... by akanouras · · Score: 1

      This "The server must not know the user's password" requirement will bite you in the ass if you decide to integrate with different systems in the future (see the retarded LM & NTLM hashes).

      Also, what's the password reset procedure for this system? Do you snail mail hashes to the users? Rolling back the hash/salt combo on the server would once again allow the attacker to login while the client hasn't reset the password, and, if the attacker can initiate apassword reset, they can essentially log in for as many times as they wish.

      Lastly, don't forget to use TLS or some equivalent while you're at it - no point in allowing an attacker even one login.

    54. Re:well... by eleuthero · · Score: 1

      I dearly hope that if he quoted Justin Bieber, most, if not all Slashdot readers would think he was being original (though likely somewhat... odd). I certainly wouldn't know the difference.

    55. Re:well... by fadethepolice · · Score: 1

      Most of the above mentioned advances were pioneered by the Harappan civilization thousands of years before the growth of the roman empire. In my opinion the concentration of power in the city of rome at the end of classic antiquity was in actuality the cause of the decline of western civilization. Previous to the existence of the roman empire the decentralized city states of greece and phoenicia were better able to withstand large barbarian invasions due to the retention of tax money locally, and the focus on local defensive posture. The corruption, mismanagement, political infighting, and recruitment of large numbers of foreign mercenaries into the roman legions further complicated the issue. There is archeological evidence that the decline in science and engineering STARTED with the roman occupation. For example the Atikythera mechanism http://en.wikipedia.org/wiki/Antikythera_mechanism is much more advanced than similar devices produced in the same area after the pax romanica was established.

    56. Re:well... by JockTroll · · Score: 1

      Always look at the bright side of life.

      --
      Geeks are so full of shit that "beating the crap out of them" takes a whole new meaning.
    57. Re:well... by SteveFoerster · · Score: 1

      Probably. But there are also probably a lot of individuals whose chance at innovating was quashed from having their resources diverted to stuff that wasn't really helping them.

      --
      Space game using normal deck of cards: http://BattleCards.org
    58. Re:well... by TheRaven64 · · Score: 1

      This "The server must not know the user's password" requirement will bite you in the ass if you decide to integrate with different systems in the future (see the retarded LM & NTLM hashes).

      This is the same problem with any system where the server stores hash.

      Also, what's the password reset procedure for this system? Do you snail mail hashes to the users? Rolling back the hash/salt combo on the server would once again allow the attacker to login while the client hasn't reset the password, and, if the attacker can initiate apassword reset, they can essentially log in for as many times as they wish.

      You generate a password and hash it, storing the hash and emailing the user their password (or providing it via a more secure out-of-band mechanism). Typically, you'd send them a token that let them reset the password, rather than resetting it directly, so that an attacker couldn't use the password reset to hide the fact that they'd logged in and changed the password with stolen credentials.

      Compare this to something like Facebook's authentication, where someone stealing the credentials can stay logged in for a long time, without the real user being aware of the fact. With this mechanism, the first time they do something on the page, the original user is kicked out, unless the attacker knows the password (in which case the system is compromised whatever the login mechanism is).

      Lastly, don't forget to use TLS or some equivalent while you're at it - no point in allowing an attacker even one login.

      Of course.

      --
      I am TheRaven on Soylent News
    59. Re:well... by toriver · · Score: 1

      Bieber? Ugh, such a tinny word.

    60. Re:well... by Anne+Thwacks · · Score: 1

      I suspect a disturbing proportion of Americans confuse "hash" with something smoked by hippies. It may be the problem in France also.

      --
      Sent from my ASR33 using ASCII
    61. Re:well... by wisty · · Score: 1

      Asking whether it's good or bad is like asking whether it's strawberry or mint flavored. Completely illogical.

      The Machine (which people love to rage against) isn't good or bad. It's stupid, unethical, and occasionally wrong. But it's not really good or bad. That's the job of individuals.

    62. Re:well... by Stupendoussteve · · Score: 1

      That would help if they were storing hashed passwords (protect from brute force and whatnot). That's the point of pwdhash.

      In this case it wouldn't help at all. If the server is storing plain text and the plain text is the hash you sent in, then they don't need to know what the original text password was because that isn't your actual password.

    63. Re:well... by BlueStrat · · Score: 1

      I suspect a disturbing proportion of Americans confuse "hash" with something smoked by hippies.

      Actually, an even more disturbing percentage of Americans associate "hash" with Corned Beef.

      Strat

      --
      Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.
    64. Re:well... by Runaway1956 · · Score: 1

      Narrow guage, as far as I know, is restricted to mining and mountains. At least in the US. You might say that it is a separate "standard" for a special purpose. Disclaimer is, I'm not a railroad man, or even a railroad fan - I read somewhere that you'll only find narrow guage rails where there wasn't room to build full scale railroads. Alright, alright, I'll google:

      http://en.wikipedia.org/wiki/Narrow_gauge_railway#History_of_narrow_gauge_railways

      The wikipedia seems to indicate that they started in mines, and later connected the mines to the factories that the mines supplied. Good enough for me, 'cause it makes sense!!

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    65. Re:well... by Runaway1956 · · Score: 1

      You're certain of that? Hey, today we have all these billions of people competing to deplete the world's resources, while they poison the resources that they can't deplete. A cynical old bastard might conclude that we were better off drinking contaminated water, to ensure that only the fittest survive.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    66. Re:well... by jbolden · · Score: 1

      OK then lets generalize to something like Godel's.

      Given any definition of good, either a government has engaged in an act which qualifies or the definition would be rejected by no less than 99.9999% of the population.

    67. Re:well... by higuita · · Score: 1

      well, if you didn't see the history just by the western/north/east Europe view you would know that the Byzantines empire was just a late roman empire, so they kept almost all the tech and used it... later the Muslims/Turks acquired most of those technologies , used then, even improved then and spread to other places... including back to some of the old western roman empire countries (north of Africa and Iberia)

      Sadly the existence of too many kingdoms, lack of money, constant war and general lack of interest of the kings/lords/masters for their populations well being limited most of those techs to the top classes

      --
      Higuita
    68. Re:well... by exomondo · · Score: 1

      It doesn't really matter if the Romans invented all of that since their empire promptly fell apart and all of those benefits were lost to everyone.

      Promptly? It was over the course of centuries.

    69. Re:well... by BatGnat · · Score: 1

      The Aquaducts...

  2. plain-text OS? by edmudama · · Score: 5, Interesting

    Doesn't this make most operating systems illegal? Who doesn't store the password as a hashed copy?

    --
    More data, damnit!
    1. Re:plain-text OS? by norpy · · Score: 4, Insightful

      It doesn't have to be plain-text, they are just saying that it must be stored in a way that allows the plaintext to be provided on request.

      I'm pretty sure AD allows you to store passwords in reversible encryption rather than hashes if you so chose.

    2. Re:plain-text OS? by 0100010001010011 · · Score: 5, Informative

      In that case. Point them to the md5 rainbow tables and store it as md5.

    3. Re:plain-text OS? by Anonymous Coward · · Score: 1

      Well if you store them with reversible encryption, that's effectively the same as storing them in plain-text. Let's say there is a master password is required to decrypt them. The master password may have been cracked to gain access to the encrypted passwords anyway - and even if not, it now becomes worth it to the hacker to invest substantial resources in decrypting it.

    4. Re:plain-text OS? by madprof · · Score: 1, Informative

      The summary is wrong. The article does not actually say they can't store hashed passwords. Yet another highly inaccurate summary to throw those who have not actually read TFA.

    5. Re:plain-text OS? by Anonymous Coward · · Score: 1

      It can be made remotely similar to secure if you generate a public/private key pair, encrypt all passwords (after salting) with public key - both for initial setting them and for checks. The private key should be kept in a safe.

      The other question is that it heavily incentivizes authentication schemes that offer no security...

    6. Re:plain-text OS? by piripiri · · Score: 2

      You must be new here.

    7. Re:plain-text OS? by Anonymous Coward · · Score: 0

      Actually the article says they must store passwords and turn them over to authorities on demand. If you store one way hashes instead of passwords then you can't do that so while the BBC article doesn't use the word hash it does pretty much say that.

    8. Re:plain-text OS? by elh_inny · · Score: 1

      I think I agree to an extent, reversible encryption in only a notch better than plain text, and some dumb policymaking politician doesn't understand technology and it doesn't mean we have to bow to such idiots at the helm.
      A very strong message would be for google to withdraw from France and stop indexing .fr pages, I don't think they will do it unless they really have to.

    9. Re:plain-text OS? by Anonymous Coward · · Score: 0

      OS aren't concerned by the decree.

      From TFA: "The law obliges a range of e-commerce sites, video and music services and webmail providers to keep a host of data on customers."

      Which doesn't make it any less stupid...

    10. Re:plain-text OS? by fredmosby · · Score: 3, Informative

      The article says they have to be able to provide the actual passwords. The idea behind using a hash it that the actual password isn't stored and can't be determined using the hash. That way if someone steals their data they still can't get the actual user passwords. According to the article, any secure implementation of hashed passwords would be in violation of this law.

    11. Re:plain-text OS? by Yvanhoe · · Score: 1

      Well, if you use md5 you may as well store them in plaintext indeed.

      --
      The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
    12. Re:plain-text OS? by Anonymous Coward · · Score: 0

      As usual the ./ title is misleading.
      The law isn't against storing hashes, it mandates every internet web site to be able to produce a whole lot of info on their users, including plain text password.

      It has nothing to do with OSes (or for that matter anything that's not a web site / ISP) nor anything to do with hashes.

      It's "just" an Orwellian law that aims at providing a lot of personal info about citizens to investigators in various administrations.

    13. Re:plain-text OS? by sjames · · Score: 4, Insightful

      If enough large internet entities black-holed France as a united front, the law (or France) would go away and other countries would learn a very valuable lesson. That or just declare that since it's a lot of trouble to maintain multiple authentication systems, all French Citizens will have their password set to "password".

      An alternative would be to start hacking and publishing password lists for France.

    14. Re:plain-text OS? by Anonymous Coward · · Score: 0

      mm ok a real hash is no longer possible, but how about public/private keys?
      use a public key on the server to write and check the password,
      and keep the private key in a vault until required to show the password.

      anyone knows if this is legal in fr?

      (i use this method in some php app for a costumer who wanted to see the passwords, the app decrypts the key with a user supplied strong pass(use https auth to not store passwords)

    15. Re:plain-text OS? by aaron552 · · Score: 1

      I was under the impression that salted MD5 (with a good salt, in a well-designed system) is reasonably secure.

      --
      I had a sig once. It was lost in the great storm of '09.
    16. Re:plain-text OS? by gilleain · · Score: 1

      If enough large internet entities black-holed France as a united front, the law (or France) would go away and other countries would learn a very valuable lesson.

      Would that lesson be : if you cut a country off from the Internet, it magically disappears?

    17. Re:plain-text OS? by Dr_Barnowl · · Score: 2

      It's not bad, but it's apparently better to use a hash that was designed to be slow. MD5 is part of a family of hashes designed to be fast, to provide a digest of large byte streams which can be signed to provide non-repudiation. Hash functions like bcrypt() have been designed to be expensive - this matters little when you are only running it once to authenticate your user, but the extra expense makes it less practical to generate rainbow tables or brute-force a known hash.

    18. Re:plain-text OS? by rhook · · Score: 0

      This is France we're talking about, they'll just surrender.

    19. Re:plain-text OS? by l0b0 · · Score: 1

      Hmm, why not store it in one of the many ways available in which the method of recovery is known but prohibitively long? Or are the companies mandated to provide the passwords before the heat-death of the universe?

    20. Re:plain-text OS? by TheRaven64 · · Score: 5, Informative

      It doesn't make much difference - the hash time is a constant factor, which is largely irrelevant when talking about complexity classes. The bigger advantage of using some other hash is that it's larger. For example, MD5 is 128 bits, but SHA-1 is 160 bits. This means that an SHA-1 rainbow table needs around four billion times more entries than for MD5. If storage capacity doubles every year, then an MD5 rainbow table becomes feasible 32 years before an SHA-1 rainbow table. In contrast, a constant factor slowdown is offset by a constant factor speedup (e.g. using a GPU or custom DSP).

      --
      I am TheRaven on Soylent News
    21. Re:plain-text OS? by TheRaven64 · · Score: 2

      And then, accidentally, lose the private key?

      --
      I am TheRaven on Soylent News
    22. Re:plain-text OS? by asdf7890 · · Score: 1

      Pretty much. My understanding is that the extra collision vectors found thus far don't reduce the effort of faking a value that produces the same hash or working out the original value (without the use of a full rainbow table for the salt used) significantly (i.e. to a point where an attack it at all practical), but the fact that these issues do exist indicates a flaw in the initial assumptions of the hash algorithms "security" and so may imply a more fundamental and/or practical attack is waiting to be found.

      The general recommendation is that md5 and sha1 are currently fine for existing code but new code should use something stronger (SHA256 for instance) just in case, and when upgrading systems you should consider supporting the stronger hashes with a view to deprecating the older ones sooner rather than later.

    23. Re:plain-text OS? by Anonymous Coward · · Score: 0

      You must be new here.

      Said user #1476949 to user #4723 ;)

      I know it's a joke, checking user IDs made it funny.

    24. Re:plain-text OS? by h4rm0ny · · Score: 1

      First time the joke actually has been, then.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    25. Re:plain-text OS? by h4rm0ny · · Score: 1, Insightful

      Funny how Americans (you're American, right?) started making so many jokes about the French surrendering the moment France became one of the most resistant to US behaviour over Iraq. Doubly amusing when you think how important French assistance was to the American forces in the war of independence.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    26. Re:plain-text OS? by Ciaran+Power · · Score: 1

      That wouldn't be good enough if the requirement is that you hand over the original password to the authorities. Working backwards from the hash will give you /a/ password that hashes to that hash, but not necessarily the same password the user entered. Of course it's an absolutely ridiculous law, and I can't imagine it lasting very long

    27. Re:plain-text OS? by bytesex · · Score: 1

      That's not remotely similar to secure; that is secure. Or at least as-secure-as. I see SHA being broken before RSA.

      --
      Religion is what happens when nature strikes and groupthink goes wrong.
    28. Re:plain-text OS? by 1s44c · · Score: 1

      Doesn't this make most operating systems illegal? Who doesn't store the password as a hashed copy?

      You can change the pam stack to use unencrypted passwords on most unix OS's. It's not difficult. Of course it's nuts and don't do it.

    29. Re:plain-text OS? by DarkOx · · Score: 1, Informative

      True but the France that helped secure American independence was mostly doing so for old European conflict reasons and that France is a fair number of beheadings and other political revolutions away from the France we have today.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    30. Re:plain-text OS? by delinear · · Score: 1

      How do you provide a plain text password if you're storing it as a hash? The law might not explicitly prohibit hashing of passwords, but it's pretty blatant that that's the intention (unless you store the password both ways, which makes very little sense).

    31. Re:plain-text OS? by Bert64 · · Score: 2

      With AD, the hash is equivalent to the plaintext anyway. There are various tools which will allow you to authenticate using the hash without ever knowing what the plaintext equivalent was.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    32. Re:plain-text OS? by maxwell+demon · · Score: 1

      You can store a hash on the server to check against, and a plain text copy at some system which can be written but not read from the online server. If the police (or whoever is allowed to demand the passwords) asks for a password, an employee logs into that specific system to get it.

      Not that I would expect many companies to do such a setup (it's much easier to just store the password in the clear), but it's definitively possible.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    33. Re:plain-text OS? by Anonymous Coward · · Score: 1

      Who doesn't store the password as a hashed copy?

      Is it Microsoft?

    34. Re:plain-text OS? by PopeRatzo · · Score: 1

      pam stack

      I dated her in high school. She was the cross-eyed blonde who had a reputation for being easy. She wasn't for me.

      Seriously, friend. Can you tell me what a "pam stack" is? I'm having trouble understanding the google results. I'm half a moron, so if you could be gentle, I'd appreciate it.

      --
      You are welcome on my lawn.
    35. Re:plain-text OS? by Mister+Pedant · · Score: 0

      France acted consistently on assistance to secure American independence and in relation to the Iraq war, on both occasions it was wholly for French self interest. The moral high ground, as usual, is pretty vacant.

    36. Re:plain-text OS? by CrimsonAvenger · · Score: 5, Informative

      Funny how Americans (you're American, right?) started making so many jokes about the French surrendering the moment France became one of the most resistant to US behaviour over Iraq.

      We were making jokes about France surrendering long before Iraq.

      --

      "I do not agree with what you say, but I will defend to the death your right to say it"
    37. Re:plain-text OS? by terminal.dk · · Score: 1

      I agree, Asymetric encryption / public key with salt. This should be close to a one way hash for hackers.
      The safety then depends on how secure you store the private key. Should be stored offline.

    38. Re:plain-text OS? by unity100 · · Score: 0

      no, you werent.

    39. Re:plain-text OS? by GIL_Dude · · Score: 2

      Sure you can. The password simply has to work as if it was the user and the user can't know about it (in other words you can't change the password and hand over that because then the user would know something happened since they could no longer log on with their password). Companies just need to add a second password that is only enabled (only stored) when they government wants to do some snooping. The request comes in, the web company creates the second password and supplies it to the government. No problem. Minor changes to the security system to accept two passwords as correct instead of just one.

    40. Re:plain-text OS? by wvmarle · · Score: 2

      Use a decent two-factor encryption.

      Encrypt with public key; store that version as if it were a hash. Do authentication the normal way but instead of SHA/MD5 hashes ask for encryption with public key.

      In case law enforcement asks for the passwords, use private key to decrypt them.

      Of course the private key does not need to be present on the live system, indeed should be kept physically away from that system (keep the private key stored on USB keys that are locked in a safe or something like that).

      Problem solved. Except maybe for the part where you ask client to send encrypted instead of hashed password... and where the client doesn't know how to handle that...

    41. Re:plain-text OS? by AliasMarlowe · · Score: 1

      pam stack

      Seriously, friend. Can you tell me what a "pam stack" is? I'm having trouble understanding the google results. I'm half a moron, so if you could be gentle, I'd appreciate it.

      Duh, here.

      --
      Those who can make you believe absurdities can make you commit atrocities. - Voltaire
    42. Re:plain-text OS? by Bengie · · Score: 2

      "It's not bad, but it's apparently better to use a hash that was designed to be slow"

      Even if a hash had a processing time of 1 clock-cycle, just iterating through combinations to brute-force a password would take too long. The "speed" of the hash doesn't matter, only that it doesn't give collisions easily.

      The only real way a faster hash would be worse is if someone was using a non-safe password and the hacker didn't have to brute-force.

      Just think about it this way, if you had a 12 char password, the hacker didn't know your password length and they had to brute-force, they had some magical cpu that could compute and compare a hash in one clock cycle, and they had 1024 of this 3ghz cpus, it would take them over 100 years on average to break your password.

      Until someone figures out a way to make a hash compute in 0 cycles or CPUs gain several magnitudes in frequency, the hash calculation time won't matter much.

    43. Re:plain-text OS? by pedestrian+crossing · · Score: 1

      Pluggable Authentication Module. It allows you to insert whatever authentication system you want into a Unix-type system.

      --
      A house divided against itself cannot stand.
    44. Re:plain-text OS? by Anonymous Coward · · Score: 0

      in plaintext 1 != 2..
      but in md5 world : 1 == 2, maybe... who knows?....
      we gotta try...

      hmmm

      HAPPY GOO!! *KABOOOOMOOO* damn, this loooks like a nuclear reaction... all the colors.. collisions... *YAY*
      MD5 == MATRIX!!!

    45. Re:plain-text OS? by varcher · · Score: 5, Insightful

      It would.

      If the law stated this, which, of course, it doesn't. But no one apparently took time to properly read it before firing the paranoia flares.

      The "password" bit is part of a data retention clause for account management. On any account that a service provider created for an on-line service or access, you must retain some data for ONE year after the account is closed. Among the bits is, I cite - translated - "password, means to validate it". And, hidden a few lines below is the clincher "such data must be retained only if it was collected".

      In other words, the law states that:

      1) If you get a password in plaintext and store it as is, you must KEEP a copy of that password for one year after the account has closed

      2) If you get a password and store a way of validating that password (such as a hash), you must KEEP a copy of that hash or whatever for one year after the account has closed.

      3) If you don't use a password for the service (for example, you are an ISP, and access from your customers to their DSL is entirely authenticated by the telco end), then you keep nothing. But for a year, of course!

    46. Re:plain-text OS? by Attila+Dimedici · · Score: 2

      In other words, it requires them to store the password in a way that makes it easier for identity thieves who get access to thier systems to crack the password.

      --
      The truth is that all men having power ought to be mistrusted. James Madison
    47. Re:plain-text OS? by PeterBrett · · Score: 1

      Seriously, friend. Can you tell me what a "pam stack" is? I'm having trouble understanding the google results. I'm half a moron, so if you could be gentle, I'd appreciate it.

      PAM is the Pluggable Authentication Modules system.

    48. Re:plain-text OS? by Miamicanes · · Score: 1

      I had a similar idea a few months ago. I thought about using asymmetric encryption, and treating the values encrypted with the public key like hashes -- storing the encrypted values in the database, and keeping the private key safe and used only for offline decryption if necessary to fix a bug or something. Then I discovered the big problem -- AES and RSA include an element of randomness in their output. In other words, given the same input value and public key, you will NOT necessarily get the same encrypted output every time. Whatever you get WILL decrypt properly with the private key, but you can't assume that the encrypted output of a given input + public key you got this time will be identical to the encrypted output you'll get next time.

      From what I remember, eliminating that randomness is impossible with AES (it's an inherent part of the algorithm). It might be possible with RSA *if* you had your own implementation of the encryption algorithm, but all the common implementations used by normal people (Microsoft, Bouncycastle, IBM, etc) do it. I'm not sure about Elgamal, or other algorithms that have fallen out of favor since RSA's patent expired and AES became the official standard of the US Federal Government.

    49. Re:plain-text OS? by Anonymous Coward · · Score: 0

      I don't understand why the government even needs the passwords. The point of the password is only to authenticate the user, the company in charge of the website surely has access to any data belonging to the user? I doubt if there's many passwords that reveal any useful information about a person!

    50. Re:plain-text OS? by hjf · · Score: 1

      Yes, but they're evil businessmen. Every Last One Of Them. Not even google with all his bullcrap speech will go away. Even if France passes a law requiring that every site publishes their whole password list right in the open for everyone to see, google will happily do it, in order to stay in business.

      Businesses aren't based on morality, freedom, privacy... none of that. Their rationale is simple: "If I don't do it, then someone else will, so I might as well do it anyway, and keep the money". That's how weapons companies, defense contractors, drug lords, and Nicolas Cage in The Lord of War justify their businesses.

    51. Re:plain-text OS? by a_n_d_e_r_s · · Score: 1
      --
      Just saying it like it are.
    52. Re:plain-text OS? by Zeek40 · · Score: 2

      Actually, those jokes date back to WW2. We didn't make any jokes after WW1 out of gratitude for the revolutionary help. The second time we had to come back and bail you guys out, we started making jokes.

    53. Re:plain-text OS? by Miamicanes · · Score: 2

      This is a more or less verbatim repeat of what I said to someone else, but it merits repeating here because your post addresses my response's topic head-on: the fundamental problem with that approach is that RSA and AES both include an element of random variation in the encrypted text. In other words, given a plaintext password and a public key, you can't assume that the encrypted output you get THIS time will be identical to the encrypted output you'll get NEXT time (or from a different implementation of the encryption algorithm). The encrypted output will decrypt with the private key just fine, but basically this means you can't treat the encrypted output like a reversible hash that just happens to take a lot longer to compute.

      From what I remember from my research into this specific issue a few months ago, it's technically possible to write an implementation of RSA's encryption algorithm that introduces exactly zero bytes of random salt into the encrypted output, but I wasn't able to make it work using Bouncycastle, and got the impression that you can't do it with Microsoft's implementations or any other commonly-used implementation for Java, either.

      AFAIK, there's no way at all to encrypt using AES without random entropy. It's an inherent part of the algorithm. In RSA's case, it's technically possible because it was tacked on as an afterthought, and things encrypted using the original algorithm end up looking like something encrypted using the new algorithm with zero bytes of random salt.

      I'm not sure about other asymmetric algorithms. I remember hearing a lot about Elgamal back when I was in college, but ever since RSA's patent issues went away and AES became officially blessed by the US federal government, pretty much everything besides RSA and AES seem to have fallen by the wayside.

    54. Re:plain-text OS? by FrkyD · · Score: 1

      it had to happen eventually.

    55. Re:plain-text OS? by ThatMegathronDude · · Score: 1

      The joke originated around WWII, so yes, we were making that joke long before Iraq.

    56. Re:plain-text OS? by Desler · · Score: 1

      By storing it both as plaintext and a hashed version? Wow, that was hard...

    57. Re:plain-text OS? by ProfBooty · · Score: 3, Informative

      You never heard of the phrase "Cheese eating surrender monkeys" from the Simpsons in the mid 90's? The way the French are portrayed in US media, asides from their women, are typically not very positive. One could look at older US media to see so, in which Frenchmen are portrayed in the same manner in which Americans appear to be portrayed abroad.

      Anyways, a good american history class should cover where the ideas enshrined in the US constitution, Declaration of independence etc should come from. When I was in high school, they predominantly emphasised John Locke's influence though he is certainly not the only one.

      --
      Bring back the old version of slashdot.
    58. Re:plain-text OS? by LeDopore · · Score: 2

      For example, MD5 is 128 bits, but SHA-1 is 160 bits. This means that an SHA-1 rainbow table needs around four billion times more entries than for MD5.

      I don't think so. Rather than storing the hash of every password, rainbow tables store the hash of every, say, alphanumeric password less than X characters long. The character set and the password length are set by the reduction function - see http://en.wikipedia.org/wiki/Rainbow_table for more info. That means for a given set of possible passwords, the MD5 and SHA-1 rainbow tables will be about the same size.

      --
      Expected time to finish is 1 hour and 60 minutes.
    59. Re:plain-text OS? by Miamicanes · · Score: 1

      ^^^ argh. This is what happens when you post replies to Slashdot while eating breakfast, before the caffeine kicks in.

      I went back and looked at my code from a few months ago. I don't have time to re-study it now to figure out what went wrong (I'm already late for work), but from what I remember, I either couldn't get it to do Cipher.getInstance() without throwing an exception, I had problems because Android only includes a partial implementation of Bouncycastle, and trying to drop the entire jarfile caused classloading problems, or maybe it just didn't work. I just remember giving up at some point and deciding it was a lost cause.

      Here's my source, if anyone wants to play with it:

                      Cipher rsa = null;

                      byte[] password = (new String("passwordtest")).getBytes();

                      try {
                              rsa = Cipher.getInstance("RSA/ECB/NOPADDING");
                              rsa.init(Cipher.ENCRYPT_MODE, RsaKey.getInstance());
                              byte[] fakeHash = rsa.doFinal(password);
                              for (int x=0; x < password.length; x++) {
                                      log.i(x + " = " + Integer.toString(password[x] & 0xff, 16));
                              }
                              for (int x=0; x < fakeHash.length; x++) {
                                      log.i(x + " = " + Integer.toString(fakeHash[x] & 0xff, 16));
                              }
                      } //...

    60. Re:plain-text OS? by fuzznutz · · Score: 1

      Yes we were. I have an old National Lampoon magazine from the 70s making fun of the French. I also heard my first "French rifle for sale" joke back in the 80s when I was in high school. It's been around for a long time.

    61. Re:plain-text OS? by snowgirl · · Score: 1

      but but but... if we can't rampantly speculate hypothetical and absurd consequences of laws, then how are we to fill our newspapers and other media with sensationalist rhetoric?

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    62. Re:plain-text OS? by _0xd0ad · · Score: 1

      How about this:

      Seed a particular PRNG with their UID and generate a random master password (unique for every user) and use it to encrypt the user's actual password. Store that in a separate database, preferably on a separate server, from the regular users database. The regular users database just gets a hashed password. Then, an attacker would have to gain access to both databases (because the only way to connect a username to a password would be by cross-referencing the UIDs in the databases), the exact implementation of the PRNG you had used (or deduce it from analysis of the encrypted passwords), and they'd have to have the private key to decrypt them anyway. Having the users database would get them only hashes, and having the encrypted password database still wouldn't allow them to brute-force all of the passwords in one go.

    63. Re:plain-text OS? by Nyder · · Score: 2

      Funny how Americans (you're American, right?) started making so many jokes about the French surrendering the moment France became one of the most resistant to US behaviour over Iraq. Doubly amusing when you think how important French assistance was to the American forces in the war of independence.

      Funny how people bring up shit that didn't happen in their lifetime as a reason we are supposed to like/dislike a country.

      I don't give a fuck what France did for this country in the 1700's. I don't care what France did in the 1900's.

      In the 2000's, I care. Now I don't care that France is making these stupid laws for their country, as I'll never go there, and it does NOT effect me one way or another. Honestly, I'm pretty sure most Americans don't give a fuck about france. Well, Polanski did when he fled there since they are cool with sodomizing 15 year old girls. But that was once again the 1900's and I don't care that much.

      If France's peeps dont' like the law, I suggest they do something about it. Seeing as it's Europe over there, and they like to protest in the streets, I'm pretty sure they can handle it themselves.

      Unless of course, you think we should do military strikes on France?

      --
      Be seeing you...
    64. Re:plain-text OS? by _0xd0ad · · Score: 2

      If you can access all of the data in the user's account without their password, even through a backdoor, it's no more secure than if you just stored the password in plain text.

    65. Re:plain-text OS? by Anonymous Coward · · Score: 0

      You can polish a turd but all you end up with is a shiny turd

    66. Re:plain-text OS? by kilfarsnar · · Score: 1

      Anyways, a good american history class should cover where the ideas enshrined in the US constitution, Declaration of independence etc should come from. When I was in high school, they predominantly emphasised John Locke's influence though he is certainly not the only one.

      Mmmm, no, I'm pretty sure they came from God.

      --
      "What the American public doesn't know is what makes them the American public." -Ray Zalinsky (Tommy Boy)
    67. Re:plain-text OS? by StuartHankins · · Score: 1

      In Red Hat systems, look in the /etc/pam.d folder. Interesting files there include "login", which can be thought of as a stack (or list) of rules determining which methods of authentication are allowed. In some versions of Fedora / RHEL you had to edit this to allow VNC login as root.

      Like many things, when properly configured, it's like magic. When something is wrong, it can be a PIA to find the issue.

    68. Re:plain-text OS? by jbolden · · Score: 1

      BS there were lots of anti french jokes in the 1980s. They started when de Gaulle was screwing around about NATO.

    69. Re:plain-text OS? by npsimons · · Score: 1

      Seriously, friend. Can you tell me what a "pam stack" is? I'm having trouble understanding the google results. I'm half a moron, so if you could be gentle, I'd appreciate it.

      PAM = Pluggable Authentication Modules; stack = like a LAMP (Linux/Apache/MySQL/PHP) stack, ie, software that works together. I'm no PAM expert, but from packages I've seen, I would guess that the PAM stack is pretty pluggable and can do authentication via everything from smartcards to windows domain controllers.

    70. Re:plain-text OS? by unity100 · · Score: 1

      someone making a joke back in 3000BC doesnt make that joke 'originated' around there. it makes someone coined it. when people start overusing it, you may make an analogy about the situation.

    71. Re:plain-text OS? by mlts · · Score: 1

      What I would do is have a simple table:

      length of password -- 1 byte
      Password (up to 255 characters long, rest padded with zeroes)
      256 bit random saltfrom a cryptographically secure RNG.

      I would then RSA encrypt this and store this output, with the nonce prepended as a salt.

      Advantages of this method:

      1: Decryption is fast.

      2: RSA is slow enough to resist brute forcing.

      Disadvantages:

      Since some of the plaintext is known, a chosen plaintext attack may be doable.

      Of course, there is the simple way to do this, provided the hardware is in a secure location. Have a tamper resistant smart card do all the authenticating.

      On the smart card is an AES key. What the card would do is have three functions:

      Take password, provide the "hashed password". It would take the incoming password, prepend it with a random 256 bit nonce, AES-256 the nonce+password, and output the result.

      Take a password, and its "hash", decrypt the hash with the internal key, compare the values, and return if the password matches or not.

      Finally, (and this is the option that is protected 10 ways from Sunday), the option to take a hash, output the password.

      If done on tamper resistant hardware, this would provide adequate protection because it would take physical uncapping of the chip in a fab environment to even have a chance at pulling out the master AES key.

      Of course, none of this actually will help French security. In fact, it just allows foreign spies a field day if they manage to compromise a site, because they get a nice treasure trove of passwords they can try against other sites.

      Instead, if they had to put their nose into authentication, the French should have mandated secure storage of passwords. TrueCrypt does it the right way. The password is never stored, but checked by decrypting four characters after a number of rounds of hashing. If the characters decrypt to "TRUE", the password is correct. Otherwise, no access.

    72. Re:plain-text OS? by unity100 · · Score: 0

      again - it was you americans. rest of the world didnt join in your bullshit. only after iraq war incident you had spewed your french surrender jokes around the internet as if it was a government policy.

    73. Re:plain-text OS? by lscotte · · Score: 1

      > Doubly amusing when you think how important French assistance was to the American forces in the war of independence.

      If it wasn't for the USA you'd be speaking German right now...

      --
      This post is licensed under the Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
    74. Re:plain-text OS? by Local+ID10T · · Score: 1

      I don't understand why the government even needs the passwords. The point of the password is only to authenticate the user, the company in charge of the website surely has access to any data belonging to the user? I doubt if there's many passwords that reveal any useful information about a person!

      People tend to reuse passwords. If I get your password on one site, odds are that one of the other sites you access uses the same password... so I can access your account there as well.

      e.g. Your Amazon.fr password happens to be the same as your Google password... Amazon.fr (being a french company) hands over to the french authorities your account name and password. You used your Gmail account when you signed up with Amazon.fr, so Amazon.fr also has your Google userID in their files. The french authorities log into your Gmail account and have access to everything there, even if Google (not being a french company) refuses to hand over access on demand.

      --
      "You want to know how to help your kids? Leave them the fuck alone." -George Carlin
    75. Re:plain-text OS? by worx101 · · Score: 1

      Cannot help but feel that this is actually worse. Keep thinking "one password to rule them all"

    76. Re:plain-text OS? by rerogo · · Score: 1

      Rijndael and RSA are both deterministic. However, your implementation may be adding a random salt/initialization vector to the plaintext pre-encryption. I'm not sure why it would be doing this without being asked, especially in ECB mode, but I'm not familiar with BouncyCastle.

      RSA encryption and decryption are both just modulo exponentiation by the public and private parts of the key. No random there.

      The AES algorithm is slightly more complicated, and I don't have time to fully analyze it, but it is also deterministic. The issue is somewhere in BouncyCastle and how you're calling it. (AES was designed to be fast. Cryto-quality RNGs are really slow and complex: it wouldn't make sense to use one)

    77. Re:plain-text OS? by VolciMaster · · Score: 1

      This is a more or less verbatim repeat of what I said to someone else, but it merits repeating here because your post addresses my response's topic head-on: the fundamental problem with that approach is that RSA and AES both include an element of random variation in the encrypted text. In other words, given a plaintext password and a public key, you can't assume that the encrypted output you get THIS time will be identical to the encrypted output you'll get NEXT time (or from a different implementation of the encryption algorithm). The encrypted output will decrypt with the private key just fine, but basically this means you can't treat the encrypted output like a reversible hash that just happens to take a lot longer to compute.

      From what I remember from my research into this specific issue a few months ago, it's technically possible to write an implementation of RSA's encryption algorithm that introduces exactly zero bytes of random salt into the encrypted output, but I wasn't able to make it work using Bouncycastle, and got the impression that you can't do it with Microsoft's implementations or any other commonly-used implementation for Java, either.

      AFAIK, there's no way at all to encrypt using AES without random entropy. It's an inherent part of the algorithm. In RSA's case, it's technically possible because it was tacked on as an afterthought, and things encrypted using the original algorithm end up looking like something encrypted using the new algorithm with zero bytes of random salt.

      I'm not sure about other asymmetric algorithms. I remember hearing a lot about Elgamal back when I was in college, but ever since RSA's patent issues went away and AES became officially blessed by the US federal government, pretty much everything besides RSA and AES seem to have fallen by the wayside.

      AES is a symmetric-key algorithm, unlike RSA.

    78. Re:plain-text OS? by mlts · · Score: 2

      Even during WWII, France really didn't have a choice. It was essentially surrender, and have life pretty much go on as it was, except with Wehrmacht officers sitting at a table at your cafe, versus having the country torched.

      The French also had a strong, organized resistance which was an army in among itself. A person calling these guys cowards or surrender monkeys is just clueless. These guys risked not just their own lives, but their family and friends. Without these guys, and the intel they brought to the Allies (especially Atlantic defenses), D-Day almost certainly would have had a completely different outcome than what it did.

      No American who has had a reasonable education would ever call the French "surrender monkeys".

    79. Re:plain-text OS? by Culture20 · · Score: 1

      Funny how Americans (you're American, right?) started making so many jokes about the French surrendering the moment France became one of the most resistant to US behaviour over Iraq.

      Those jokes go back to WWII.

    80. Re:plain-text OS? by Zeek40 · · Score: 1
      How dare you accuse Americans of having reasonable educations? Here in the US, we take pride in our willful ignorance!

      Just look at the most recent batch of idiots we elected, the first thing they've attacked is the education system, because they're real 'mericans!

    81. Re:plain-text OS? by 1s44c · · Score: 1

      pam stack

      I dated her in high school. She was the cross-eyed blonde who had a reputation for being easy. She wasn't for me.

      Seriously, friend. Can you tell me what a "pam stack" is? I'm having trouble understanding the google results. I'm half a moron, so if you could be gentle, I'd appreciate it.

      Ok, Your question got answered already.

      I thought people on here would know what PAM was, it's a pretty fundamental part of a lot of UNIX's including Linux. I believe even FreeBSD uses it now.

      Homework: Read up on Pluggable Authentication Modules.
      Extra Credit: Write a PAM module to log entered usernames and add it to the right part of the PAM stack so it actually works without trashing your authentication.

    82. Re:plain-text OS? by jahudabudy · · Score: 1

      again - it was you americans. rest of the world didnt join in your bullshit.

      Never met any English folks, huh? You think Americans rag on the French....

      --
      ...sometimes, in order to hurt someone very badly, you have to tell that person terrible lies. - PA
    83. Re:plain-text OS? by yuna49 · · Score: 1

      I've done that in some applications, too. It's not that hard. You obviously need to control access to the key, though.

    84. Re:plain-text OS? by Culture20 · · Score: 2

      > Doubly amusing when you think how important French assistance was to the American forces in the war of independence. If it wasn't for the USA you'd be speaking German right now...

      If it wasn't for France the USA would be speaking English right now...

    85. Re:plain-text OS? by youn · · Score: 1

      keep in mind most people reuse passwords accross accounts... getting one may allow to get in somewhere else not currently possible.

      --
      Never antropomorphize computers, they do not like that :p
    86. Re:plain-text OS? by Buelldozer · · Score: 1

      Eh?

      I remember jokes about French tanks have 1 forward gear and 5 reverse around 1984 when I was in Junior High. I remember jokes about French rifles, never fired and only dropped once, around 1987 when I was in High School.

      You'll note that both of those are significantly before Gulf War I, let alone Gulf War II that you reference.

      That doesn't make the behavior right, but it also belies your assertion that this behavior is a recent phenomena.

    87. Re:plain-text OS? by eleuthero · · Score: 1

      All too literally. No one could buy a plane or train ticket out of France... no one could do banking there (safely). Sounds like a perfect opportunity for businesses outside of France to start making more money from former businesses there... if the law actually ends up sticking.

    88. Re:plain-text OS? by Colonel+Korn · · Score: 1

      Actually, those jokes date back to WW2. We didn't make any jokes after WW1 out of gratitude for the revolutionary help. The second time we had to come back and bail you guys out, we started making jokes.

      American forces were embarrassingly ineffective in WW1. The French themselves were much more important. The most impressive international forces were the Canadians and Australians.

      --
      "I zero-index my hamsters" - Willtor (147206)
    89. Re:plain-text OS? by dwye · · Score: 1

      We made jokes about the French even when we were signing a separate peace with the British to end the American Revolution. After all, we might no longer be English, but the French were still the ancestral enemy from Edward III's time until the French and Indian War (Seven Years War, for Europeans).

    90. Re:plain-text OS? by curunir · · Score: 1

      It looks like the random element could be introduced in the RsaKey.getInstance() call as that could be generating a new key each time, though I don't see that class in the BouncyCastle API documentation and RsaKey is an interface in the JDK, so I'm not sure what code that's calling.

      --
      "Don't blame me, I voted for Kodos!"
    91. Re:plain-text OS? by TheGratefulNet · · Score: 1

      you are wrong, dude.

      as a semi-old dude (coming up to my 50th) I can say that we have been making 'french jokes' for decades and decades.

      nothing to do with iraq, mate. nothing. stop that bullshit right now, kiddo.

      --

      --
      "It is now safe to switch off your computer."
    92. Re:plain-text OS? by sjames · · Score: 1

      Even pure self interest could drive one of the moves I suggested if the value of traffic from France is less than the cost of altering the backend so it can support two different ways to store a password plus the cost of having it detect that the person is from France PLUS the legal liabilities they face (multiplied by the likelihood of the problem) if the system hashes a French person's password or doesn't hash someone else's password (including citizens of countries that have laws requiring passwords to be hashed).

      It could also happen if the traffic from France is worth less than the estimated eventual cost of political kooks passing crazy laws considering the likelihood that taking action now will provide a valuable lesson for others.

      Other factors include that their loss of traffic is only temporary if France caves and either way they can get several good press releases out about how they are heroically fighting for everyone's data security.

    93. Re:plain-text OS? by toriver · · Score: 1

      At least France surrendered to German's Wehrmacht. The U.S. has instead surrendered to fear...

    94. Re:plain-text OS? by aethogamous · · Score: 1

      The only implication is that the passwords must be stored somewhere in a manner that would allow the password for an individual user to be provided to the police. Any half respectable organization would still use hashes for authentication and quite separately encrypt and store the passwords. Obviously this still increases the security risks and is highly problematic, but it does not prevent the use of hashed passwords for authentication.

    95. Re:plain-text OS? by Zeek40 · · Score: 1

      Actually, i think the US has surrendered to ignorance. Fear is just a byproduct of ignorance.

    96. Re:plain-text OS? by Nethead · · Score: 1

      I had a Fiat. That's why I make French jokes.

      --
      -- I have a private email server in my basement.
    97. Re:plain-text OS? by hjf · · Score: 1

      Have any of those reasons stopped Google from offering their services in China?

    98. Re:plain-text OS? by O(+inf) · · Score: 1

      It was essentially surrender, and have life pretty much go on as it was, except with Wehrmacht officers sitting at a table at your cafe

      ... and Jews and other undesirables rounded up and sent to Germany for gassing.

      versus having the country torched.

      Soviets had that choice also - in fact, their choice was much worse as they weren't treated as "fellow Europeans" by Germans - and yet they chose differently. Largely thanks to that choice, French did not have to endure Wermacht officers for long.

    99. Re:plain-text OS? by sjames · · Score: 1

      It certainly disappears from the internet. These days that means more than missing out on a few web comics.

    100. Re:plain-text OS? by sjames · · Score: 1

      Yes to an extent. They have scaled back their presence in China considerably in order to no longer fall under the laws there. Now factor in that China is a much bigger potential market than France.

    101. Re:plain-text OS? by O(+inf) · · Score: 1

      I remember jokes about French tanks have 1 forward gear and 5 reverse around 1984 when I was in Junior High.

      What's curious is that I have heard that exact joke (albeit in a different language) about Arab tanks, in the aftermath of Yom Kippur War.

    102. Re:plain-text OS? by Raenex · · Score: 1

      dont excuse me - its again you american's bullshit. world wasnt picturing french in any form back in 1990s. except maybe making fun of their isolationism.

      You've already been cited a reference to a popular American TV show making fun of France for surrendering. I certainly grew up with it in the 90s. You're just fucking wrong, so shut the fuck up already.

    103. Re:plain-text OS? by hjf · · Score: 1

      Shrink, yes. But not disappear completely. In order for this to work, google should completely cut all services from France and replace them with a large sign stating their reasons.

      But that ain't gonna happen.

    104. Re:plain-text OS? by PopeRatzo · · Score: 1

      I thought people on here would know what PAM was, it's a pretty fundamental part of a lot of UNIX's including Linux. I believe even FreeBSD uses it now.

      Most probably do. But there are many flavors of "nerds (as in "News for Nerds") and I am not of the "codes Linux" flavor.

      It was probably perfectly appropriate for you to use the acronym. But I'm a different flavor of nerd from the "Linux security" variety (though I use it to do many things) and I was unfamiliar with the term.

      --
      You are welcome on my lawn.
    105. Re:plain-text OS? by unity100 · · Score: 1

      who gives 2 flying fucks about americans making jokes about french ? rest of the world, does not. and, america is not in that 'rest'

    106. Re:plain-text OS? by Darinbob · · Score: 1

      Apparently our IT department doesn't. I was amazed when some off-site corporate training web site sent me log on information in unencrypted email that included my actual work email and work password in it.

      Any system that allows recovering the plain text password is fundamentally broken.

    107. Re:plain-text OS? by sjames · · Score: 1

      The market potential of China is two orders of magnitude bigger than France.

    108. Re:plain-text OS? by obarel · · Score: 1

      There is absolutely no randomness in RSA or AES.

      There are random padding schemes, but nobody's forcing you to use them. You may want to use a random number generator to generate the keys, but again nobody's forcing you to do that. The algorithms themselves have no randomness. RSA is not DSA.

      You could take the password, encrypt using RSA and store the result. When the user enters a password, encrypt again with the same key, and you'll get exactly the same result.

      Same for AES.

    109. Re:plain-text OS? by Fulcrum+of+Evil · · Score: 1

      If you use a salted hash (like you're supposed to), then rainbow tables are pointless.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    110. Re:plain-text OS? by rhook · · Score: 1

      We've been making these jokes since long before the Iraq war.

    111. Re:plain-text OS? by Anonymous Coward · · Score: 0

      With AD, the hash is equivalent to the plaintext anyway. There are various tools which will allow you to authenticate using the hash without ever knowing what the plaintext equivalent was.

      Show me.

    112. Re:plain-text OS? by fredmosby · · Score: 1

      A system is as secure as it's weakest component. The setup you described would make using hashed passwords for authentication only as secure as using public/private key encryption. So you could use a hash, but you wouldn't get any security benefit from it.

    113. Re:plain-text OS? by h4rm0ny · · Score: 1

      Never met any English folks, huh? You think Americans rag on the French....

      Brit here, and I don't hear many anti-French jokes here. But I've had business calls with Americans and been subjected to jokes about the French surrendering completely out of the blue. American culture seems to come out with vast amounts of anti-French jokes and they really seemed to ramp up when the French opposed the US invasion of Iraq.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    114. Re:plain-text OS? by h4rm0ny · · Score: 1

      Unless of course, you think we should do military strikes on France?

      I think you're better off sticking to strikes against non-nuclear countries that don't have a modern military, effective anti-aircraft weaponry and the capability to sink US Carrier groups. Unless of course you think they'd just surrender?

      Point of my comment is that making jokes about a country surrendering because their government stood up to your government, doesn't make a lot of sense to me and just because you "don't give a fuck" what France did for the US in the 1700's (i.e. help gain your countries independence) doesn't mean the rest of the world or your more history-aware countrymen don't remember and think it makes you sound ignorant when you act like you aren't aware of it.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
    115. Re:plain-text OS? by Kalriath · · Score: 1

      New Zealand reminds you that it was there too in that ill-fated assault.

      --
      For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
    116. Re:plain-text OS? by unity100 · · Score: 1

      popular AMERICAN tv show makes a joke about french once back in 1990s, and it becomes 'french jokes in general'. what part of 'its again you AMERICANS' bullshit, WORLD wasnt picturing french in any form back in 1990s' is too hard to understand ?

    117. Re:plain-text OS? by Trogre · · Score: 1

      Ever since they won you independence from the Brits, right?

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    118. Re:plain-text OS? by Anonymous Coward · · Score: 0

      Americans, Australians, New Zealanders, British...

      Give it up, dude. Seriously, you're starting to embarrass yourself.

    119. Re:plain-text OS? by Anonymous Coward · · Score: 0

      It would.

      If the law stated this, which, of course, it doesn't. But no one apparently took time to properly read it before firing the paranoia flares.

      The "password" bit is part of a data retention clause for account management. On any account that a service provider created for an on-line service or access, you must retain some data for ONE year after the account is closed. Among the bits is, I cite - translated - "password, means to validate it". And, hidden a few lines below is the clincher "such data must be retained only if it was collected".

      In other words, the law states that:

      1) If you get a password in plaintext and store it as is, you must KEEP a copy of that password for one year after the account has closed

      2) If you get a password and store a way of validating that password (such as a hash), you must KEEP a copy of that hash or whatever for one year after the account has closed.

      3) If you don't use a password for the service (for example, you are an ISP, and access from your customers to their DSL is entirely authenticated by the telco end), then you keep nothing. But for a year, of course!

      Please refrain from confusing nerd rage with facts and logic. This is Slashdot and it will not be tolerated!

    120. Re:plain-text OS? by Anonymous Coward · · Score: 0

      In that case. Point them to the md5 rainbow tables and store it as md5.

      PERFECT!!

    121. Re:plain-text OS? by armillary · · Score: 1

      ebg-13 vf gur boivbhf pubvpr

    122. Re:plain-text OS? by Raenex · · Score: 1

      Maybe because you incomprehensibly changed the argument from American to World. Is that because you lost the argument and you tried to deceptively change it to a new one?

    123. Re:plain-text OS? by niftymitch · · Score: 1

      I don't understand why the government even needs the passwords. The point of the password is only to authenticate the user, the company in charge of the website surely has access to any data belonging to the user? I doubt if there's many passwords that reveal any useful information about a person!

      What if a site had the active data strongly encrypted and the active key was only retained
      in memory. As long as the "Key" process was live the data would be visible. With
      a simple command to the "Key" process the data would be unavailable/ available.

      This "Key" process could exist local or remote on a web server, a data server or an operating system.
      It could be per user, per group, per site, per connection, per whatever map is applied.

      And yes the "Key" process could require a minimum of two keys to validate. After
      all Rome mandated that roads be two HA wide or more.

      And yep I expect this has nothing to do with the why for the law/ regulation.

      --
      Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't. Mark Twain.
    124. Re:plain-text OS? by cbiltcliffe · · Score: 1

      It has nothing to do with OSes (or for that matter anything that's not a web site / ISP) nor anything to do with hashes.

      Actually, Windows lets you set up a website with authentication provided by the local Windows user/password database. It'd be moronic to use for most things, because it's the equivalent of giving every webmail user a shell account on *nix, but it's possible.
      If any web company uses this functionality, then it does concern OSes.

      Incidentally, you can also do this same thing on Linux....

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
    125. Re:plain-text OS? by cbiltcliffe · · Score: 1

      Yeah...PAM is one of those acronyms that - because it's a common non-acronym word - in order to know what to type into Google to find out what it means, you already have to know what it means....

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
  3. no, really by alex_l83 · · Score: 0

    this is completely nonsense.

  4. Anonymous will love this. by Anonymous Coward · · Score: 1

    France just made life easier for hackers.

    1. Re:Anonymous will love this. by ArsenneLupin · · Score: 1

      Hackers would still need to breach the security of the server where the plaintext passwords would be stored. It's not as if facebook gave shell accounts with which users could just peruse /etc/passwd...

    2. Re:Anonymous will love this. by definate · · Score: 1

      Yeah, you're right. Because there is still SOMETHING they need to do, then it hasn't made their live EASIER. (Easier being the operative word here)

      Also, sure, Google and Facebook might be secure, so ALL websites will be secure.

      --
      This is my footer. There are many like it, but this one is mine.
    3. Re:Anonymous will love this. by Dan1701 · · Score: 1

      The easy way to do this is to simply write the customer's username and password onto paper (paper tape, for ease of use) along with a timestamp whenever the user changes their password. All you do then is store the paper copy securely somewhere, and use the hashed version in the computers as normal.

      The law very likely doesn't say that the information be easily available, merely that it be available. Handing out the non-hashed data to any authority, then telling them "If you need the password, it is on this paper roll somewhere" ought to be sufficient.

    4. Re:Anonymous will love this. by Skal+Tura · · Score: 1

      It would make their live EASIER. One step is removed: That is determining passwords from the hash.
      I would say that makes their lives significantly easier.

    5. Re:Anonymous will love this. by definate · · Score: 0

      Especially if the algorithm was something like Whirlpool or SHA512, as compared with MD5.

      --
      This is my footer. There are many like it, but this one is mine.
    6. Re:Anonymous will love this. by delinear · · Score: 1

      That's not even counting trivial social engineering hacks - someone calls a company claiming to be from the government department responsible for data retention and asks for a list of user accounts, by law said company knows they have a duty to provide them, it's down to the initiative of the individual employee to determine if the caller is genuine. Considering a lot of those employees are the same ones who open random .EXE attachments in emails, that's a pretty big gaping hole they just opened.

    7. Re:Anonymous will love this. by tixxit · · Score: 1

      Or you can use public key cryptography to solve the problem. Store a padded version of the password in the DB encrypted with a public key (verification just involves re-encrypting the plaintext password submitted by the user), and store the private key in some super secure location. The only time you'd ever need to access the private key is at law enforcement's request (so it can be stored in a vault or something).... No hacker can crack the passwords by getting access to the machine and the company can always get the data back in plaintext if absolutely necessary. The biggest implication is the overhead cost involved, but that will still probably be less than the revenue generated from continued business in France.

  5. Unfortunately.... by Anonymous Coward · · Score: 5, Insightful

    Its still likely that if an eCommerce site is hacked and personal data is stolen, they will still be liable for not taking adequate care in storing personal information such as following best practices for passwords.

    Rock vs Hard Place

    1. Re:Unfortunately.... by mhelander · · Score: 1

      To begin with, there's a world of difference between knowing how to salt and hash passwords (very basic stuff that any developer should know) and knowing how to secure a system connected to the Internet (more of a job for dedicated security experts).

      Secondly, the assumption must be that you will be hacked and that you should try to minimize impact when this happens. If the passwords are properly hashed then you (the site owner) have done the most important part of your work to ensure that when your site is hacked the hacker won't get access to my (the site user's) plain text password. As people reuse passwords between sites, taking this measure of hashing salted passwords is very important.

      In the end almost any site will be possible to compromise. If we call that "Rock" then it is not "Rock vs Hard Place", it is more like "Rock vs Rock with Snakes" (possible to compromise AND gives the hacker plain text passwords).
         

  6. French style by xonen · · Score: 4, Insightful

    If the law survives a pending legal challenge by Google, Ebay and others, it may well keep some major services out of the country entirely.

    Actually, that's probably exactly what the French are after; even if it's only a `side-effect` in this case. The French don't like foreign companies taking their market. France is like a mini-version of the world: they got to redo everything themselves, in french style.

    Stating that this effect is 'on purpose' is hard to prove. After all, european legislation would come and demand open markets. So they found a sneaky way around it. Make up some privacy breaking law. ...? Profit!.

    --
    A glitch a day keeps the bugs away.
    1. Re:French style by GPLHost-Thomas · · Score: 1

      I fully agree that it may not have been on purpose. The recent history of French laws is full of examples showing how much legislators have no clue about technology. One of them is the recent HADOPI that was supposed to limit file sharing, but which already seem useless to everyone.

    2. Re:French style by Anonymous Coward · · Score: 0

      Agreed. Also, change France to America and you have another correct statement.

    3. Re:French style by YoopDaDum · · Score: 3, Insightful

      "Never attribute to malice that which is adequately explained by stupidity". Politics in France are particularly clueless about technology. Worse, they think they know it all because they had some cute web site with streaming video being designed for them. And someone who think he's good without having a clue is dangerous indeed. The current France government is full swing in security posturing, without much concern for the practical consequences that are not so clear to them anyway. All this is enough to explain this new law.

      As for being a trick to favor French firms, this is incorrect as local companies are also affected and suffer from this. From the article, one of the companies attacking this law is DailyMotion, and they're French. I don't see any tech company being happy about this.

      Lastly, there have been several laws cancelled in France recently due to either being incompatible with Europeans laws or being against France own constitution. That gives you an idea of how much the projects were well prepared and thought out... So this is not done and over.

    4. Re:French style by Darfeld · · Score: 2

      Or China... Or Japan... Wait Every one does it ! Only in this case, I suspect incompetence rather than evil protectionnisme... With maybe a little big-brother wannabe.

      --
      (\__/) This is Lapinator
      (='.'=) copy it in your sig
      (")_(") so it can take over the world
    5. Re:French style by Anonymous Coward · · Score: 0

      The French don't like foreign companies taking their market. France is like a mini-version of the world: they got to redo everything themselves, in french style.

      Mind to give examples on this one? I hope you have an extended knowledge of France because my experience is quite different. I actually think that it's mostly companies that are slightly reticent to get into their market (except large companies). I mean, it's not as if they were Korea or Thailand just to name two countries that will take any product/genre and adapt it. For Thailand, the products are really not on par quality-wise so that's kind of a bad example but musical genres and even international bands are largely cloned with just Thai lyrics.

    6. Re:French style by Cley+Faye · · Score: 1

      Please replace "The French don't like..." by "The French government don't like...". In addition, you can add "The French don't like their government", as they are only working for large corporations now, without even trying to hide this fact.

    7. Re:French style by Stormwatch · · Score: 1

      The French don't like foreign companies taking their market. France is like a mini-version of the world: they got to redo everything themselves, in french style.

      That reminds me of something I have noticed recently. When I studied English, I recall that the coursebook hardly mentioned England, but instead had several texts about the changes in Europe post Cold War. Now, in contrast: I've started studying French not long ago, and the book goes on and on about France. It's like they think they're the center of the world or something.

    8. Re:French style by delinear · · Score: 1

      We can refine this still further to "Governments don't like..." and "The people don't like their government as they are only working for large corporations now". I find it equal parts amusing and sad that governments in the West are standing up for the rights of those in Africa and the Middle East to protest, while over here they're introducing ever more draconian laws to prevent their own populace protesting.

    9. Re:French style by horza · · Score: 1

      You mean like how the company persecuting file-sharing happens to be run by the friend of the President's wife?

      Phillip.

    10. Re:French style by Anonymous Coward · · Score: 0

      I would love that there is an actual strategy even if i dont agree with it....it's much better than non sense driven by incompetence

    11. Re:French style by emj · · Score: 1

      Either the authors of that book figures that England has no culture to speak of, or they might be thinking of English as an international language. I mean I speak far more with peopl who have english as a second language than English or Americans.

    12. Re:French style by Anonymous Coward · · Score: 0

      French politics is a shining example of dunning-kruger.

    13. Re:French style by Nyder · · Score: 1

      If the law survives a pending legal challenge by Google, Ebay and others, it may well keep some major services out of the country entirely.

      Actually, that's probably exactly what the French are after; even if it's only a `side-effect` in this case. The French don't like foreign companies taking their market. France is like a mini-version of the world: they got to redo everything themselves, in french style.

      Stating that this effect is 'on purpose' is hard to prove. After all, european legislation would come and demand open markets. So they found a sneaky way around it. Make up some privacy breaking law. ...? Profit!.

      Let me see, how about they do NOT host any of that countries info in the country? Simple no? Keep all of France's servers in England, or Spain, or somewhere else not in France and I don't see too much of a problem.

      --
      Be seeing you...
    14. Re:French style by Alarash · · Score: 1

      This is only for hosting services. What you imply is that websites like Amazon.com are frown upon by the French (thanks for mixing the government and the people, by the way - it's as stupid as saying that all Americans are war mongerers because of the war in Iraq) because they'd rather have Le-Amazone.fr instead. Which is plain stupid. France is one of the largest economy in the world. It wouldn't be there if it behaved like you say.

    15. Re:French style by Anonymous Coward · · Score: 0

      Here's how you defeat this law: get a German company to sue. As we all know, "French style" also means surrendering to the Germans at the first sign of conflict! :)

    16. Re:French style by Anonymous Coward · · Score: 0

      The world redoes everything themselves, and France is a mini version of that. Got it.

    17. Re:French style by Anonymous Coward · · Score: 0

      Being French, I can say that France has completely under the (political, financial, ecomomic, technologic and military) influence of its "strategic partner", the venerable Uncle Sam.

      So, there is not, and it will never be, anything in France willing to challenge the hand that feeds its (U.S. appointed) top-politicans. So much for the mythical "French exception".

      The goal pursued here is to be found elsewhere (most probably a call for more "lobbying" - translate "politician subsidies").

  7. Yep by Vskye · · Score: 0

    Leave it to France to not have a clue again.

    --
    Life was hell, then I discovered Linux...
    1. Re:Yep by Anonymous Coward · · Score: 0

      Anyone knows, when France became a province of the PR of China...?

    2. Re:Yep by Anonymous Coward · · Score: 1

      Leave it to French politicians to not have a clue again.

      FTFY.

    3. Re:Yep by Anonymous Coward · · Score: 0

      Leave it to douchebags to make comments like that.

  8. Oh well by powerspike · · Score: 1

    Guess France want to go back to the stone age, If this stays, they'll try to extend it to computers as well, and then well, anything that uses a GUI will pretty much be illegal.

    1. Re:Oh well by Anonymous Coward · · Score: 0

      It's not what people want. Politics has write these laws because of Music's lobby, to fight illegal downloading. It's just bullshit.
      I hope they will get a little visite of Anonymous for so respectless laws.

    2. Re:Oh well by ksemlerK · · Score: 1

      So if there are no GUI's, and since most people aren't familiar with the "DOS prompt", I guess that gives Linux a fighting chance to actually succeed in France. :D

    3. Re:Oh well by Pieroxy · · Score: 1

      Well, Slashdot again. The law doesn't state that passwords should be stored in clear text. It doesn't even states that passwords should be retrieved. It states that passwords or means to validate them (hashes) should be stored for ONE year after accounts are closed.

      Slashdot is more and more about wild guesses and wishful thinking real news. This one is just plain wrong. I am already starting to consider everything on slashdot as being de-facto wrong.

  9. OMFG! by Anonymous Coward · · Score: 0

    OMFFFG!!!!

  10. The 'Stupidity' superbug by badger.foo · · Score: 0

    The right-hand column on the BBC site has a link to a story called "Europe is 'losing' superbugs battle". The current story is a case in point: Europe is losing big time against the sinister "Stupidity" superbug.

    --
    -- That grumpy BSD guy - http://bsdly.blogspot.com/
  11. A simple solution by Gadget_Guy · · Score: 4, Funny

    I know a lot of people will say that these companies should block France to bully the government to repeal the law, but that really is not workable and would be against shareholder's interests.

    The easiest solution is just to comply with the law. But rather than change the data structures of the backend software to accommodate one country, they should just blank out all the passwords and disable the ability to change them. It is a win for everyone then. The companies comply with the law. The police, fraud office, customs, tax and social security bodies can all access the citizens records directly without burdening the service providers.

    And of course, the French people get a valuable lesson in why they should care about who can access their accounts. Let the French people decide whether this is a good idea or not at the next election!

    1. Re:A simple solution by ArsenneLupin · · Score: 5, Funny
      Hehe, reminds me about when France leaned on Luxembourg to repeal its banking secrecy laws.

      Luxembourg slowly started complying... by first publishing account details about French politicians! Always be careful what you ask for!

    2. Re:A simple solution by Anonymous Coward · · Score: 0

      I think this is a great idea. Instead of trying to sugarcoat the stupidity, just tell your users that Law X available at x.url prevents them from operating as they have in the past, and now they will be forced operate in an extremely stupid manner. Oh, and if you don't like this just call X at X-X-X

    3. Re:A simple solution by Psychotria · · Score: 1

      I know a lot of people will say that these companies should block France to bully the government to repeal the law, but that really is not workable and would be against shareholder's interests.

      The easiest solution is just to comply with the law. But rather than change the data structures of the backend software to accommodate one country, they should just blank out all the passwords and disable the ability to change them. It is a win for everyone then. The companies comply with the law. The police, fraud office, customs, tax and social security bodies can all access the citizens records directly without burdening the service providers.

      And of course, the French people get a valuable lesson in why they should care about who can access their accounts. Let the French people decide whether this is a good idea or not at the next election!

      A win for everyone? I doubt it. I don't think that would be a "win" for clients/consumers/end-users. Are you really that myopic or is this a troll?

    4. Re:A simple solution by Gadget_Guy · · Score: 2

      A win for everyone? I doubt it. I don't think that would be a "win" for clients/consumers/end-users. Are you really that myopic or is this a troll?

      Did you just stop reading at that sentence? Did you think that anyone could seriously suggest this? The final paragaph puts it in context when the "win" for the French people was that they get to learn to care about their data security. It is a lesson that they can pass on to the government at the next election.

      This is especially aimed towards the "I have got nothing to hide, so why should I care" type of person. It bad enough that the government can access the logs of what you do online, but with the passwords they can also log in as you and make it look like you have done something bad. (Makes for an interesting legal defence...)

    5. Re:A simple solution by Anonymous Coward · · Score: 0

      Are you really that myopic or is this a troll?

      Honestly, mate - he troll here is you.

    6. Re:A simple solution by Xest · · Score: 1

      "And of course, the French people get a valuable lesson in why they should care about who can access their accounts. Let the French people decide whether this is a good idea or not at the next election!"

      The same French people that have given a neo-Nazi party (France's National Front) a massive share of the vote each time they've had chance the last few years?

      I wont hold up my hopes then, I'm pretty sure my grandad didn't help liberate their country only for them to try and vote the nazis back in themselves 60 years on.

    7. Re:A simple solution by jodido · · Score: 3, Insightful

      15 percent in the local elections is not "massive," it's about the same as the fascist-minded Patrick Buchanan got in the US when he ran. There are members of US Congress whose politics=National Front. French society is having deep problems and just like US, UK, etc they are trying to find a scapegoat.

    8. Re:A simple solution by countertrolling · · Score: 1

      What's with the cliff hanger there? Did it work? Did France back down?

      --
      For justice, we must go to Don Corleone
    9. Re:A simple solution by Attila+Dimedici · · Score: 1

      You make a very good point. If this law goes into effect, it will either be trivially easy for the authorities to frame someone or impossible for them to use evidence from online activity to convict them. The majority of posters on here have focused on the fact that this makes it easier for hackers to get the information they need to steal someone's identity or other wise steal using someone's log on credetnials. They have overlooked the oportunities this provides for the authorities to impersonate someone.

      --
      The truth is that all men having power ought to be mistrusted. James Madison
    10. Re:A simple solution by j00r0m4nc3r · · Score: 1

      would be against shareholder's interests

      God forbid a company does something against the shareholders' interests

    11. Re:A simple solution by bn-7bc · · Score: 0

      well I for on .... see a business opportunity for frances neighbors: "store youre password db wiyh us, yuk can comply with french law but still offer secure passwords" It vil work like this the outsourced table will include three fields appid : id of outscored application uid: user id used by outsourced app pwd : md5 or other hashed password ok every app needs to rewrite there log on proc or at lest reconfigure db connection but well they can keep the passwords secure.

    12. Re:A simple solution by Anonymous Coward · · Score: 0

      I think it was meant to be a joke and the mods agree, but for you it was a troll because you're a fucking dumbass. A literal-thinking dumbass so typical of the IT crowd and thus slashdot.

  12. Summary is COMPLETELY WRONG by xtracto · · Score: 5, Informative

    Storing passwords as hashes instead of plain text is now illegal in France,

    No, it is not. Nowhere in the article (yes, I read it) does it say that. The law that is being challenged by Google and others is one that requires them to store users' information for one year.

    It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

    Shit, if they were required to provide a plain password, they could use any of the cracking tools to obtain exactly that one... or just "reset" the password of the account and give it to the French police.

    Nevertheless, the law is still idiotic, as they say in the article; just a couple of months ago France slapped Google due to some privacy issues, and now they want them to keep so much data for so long time?

    --
    Ubuntu is an African word meaning 'I can't configure Debian'
    1. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 5, Informative

      First, I'm French.
      I read the law http://www.legifrance.gouv.fr/affichTexte.do;jsessionid=?cidTexte=JORFTEXT000023646013&dateTexte=&oldAction=rechJO&categorieLien=id

      You have to store information about content creators only (not relevant for a pure mail provider, maybe in the case of a multiservice google account).
      Password, and payment information, among others, must be given upon request to the authorities, but as i understand, ONLY IF THEY ARE ALREADY COLLECTED.

      Not that I think it's a "good" law, but it is not as bad as said in the article, as I understand it.

    2. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Shit, if they were required to provide a plain password, they could use any of the cracking tools to obtain exactly that one...

      WTF? Who stores passwords in a form that can feasibly be reversed? I guess a dictionary attack comparing hashes or something but assuming a non-moron set the password then... huh?

    3. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 1

      You have to store information about content creators only (not relevant for a pure mail provider, maybe in the case of a multiservice google account).

      Must be a translation problem here. Anyone who writes emails is a content creator. If someone only receives emails or forwards them unchanged then I guess that would be different but otherwise... you're going to have to be a lot clearer on what you mean.

    4. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      > Nowhere in the article (yes, I read it) does it say that.

      I read the article as well.

      "This includes users' full names, postal addresses, telephone numbers and **passwords**. The data must be handed over to the authorities if demanded."

      Doesn't mention plain text, but if your password can be read back to plain text you may as well be in plain text, as I am sure the master password would have to be made available as well.

    5. Re:Summary is COMPLETELY WRONG by Gadget_Guy · · Score: 3

      or just "reset" the password of the account and give it to the French police.

      This tips off the target that they cops are onto them. I was going to write suspect, but assumes that this will not get abused by the government to spy on non-suspects too.

      I guess the way to protect yourself from this surveillance is to change your password on a daily basis (or even twice a day). By the time that the request has been processed by the service provider and passed onto the authority, then it will already be out of date.

    6. Re:Summary is COMPLETELY WRONG by LBU.Zorro · · Score: 5, Insightful

      Summary isn't completely wrong, you're actually wrong.

      The article specifically states that

      The law obliges a range of e-commerce sites, video and music services and webmail providers to keep a host of data on customers.

      This includes users' full names, postal addresses, telephone numbers and passwords. The data must be handed over to the authorities if demanded.

      Which means that they would have to store the password, and be able to give it out to authorities.

      So, to take your points:

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      Yes, but this is stupid and really gets rid of the point of having the hashed password in the first place. Now you have two copies, and even better if you hack the french data you start potentially having information necessary to recover passwords from other more secure countries. As for the 'write only' file, seriously? the only write only file is /dev/null, if you can read it at all there's the possibility that it can be read by bad people - that's what a security breach is... I suppose you could use a printer and print them all, if there's no digital way to read it then it would have to be a physical security breach, but the cost of compliance?

      Shit, if they were required to provide a plain password, they could use any of the cracking tools to obtain exactly that one...

      Kinda plausible, if only hashes were guaranteed to be one to one, only they aren't as it is possible to have hash collisions where two passwords can point to the same hash. This doesn't usually matter but it does mean you wouldn't be able to guarantee that there was no hash-collision and you were giving the authorities the wrong password, which would be illegal under this law. Granted the authorities may not know this and many not do anything about it, but if they wanted to be evil it wouldn't be hard to prove non-compliance.

      or just "reset" the password of the account and give it to the French police.

      Yeah, as above this would be giving them the incorrect password and would be violating the law. You really think they want the password to log into the site? Seriously? When they can just demand access? Most likely they're taking advantage of the fact that people tend to use the same passwords, so getting a historical record (and note this information has to be held for at least a year) of passwords for that user means there is a high likelihood that they'll be able to access data outside of their country. The law isn't asking them for their current password, or should I say not JUST their current password, it's asking for ALL of this data for the last year.

      It's a data retention law, not a you must provide this to authorities when asked. You have to gather the information all the time and keep it for a minimum of a year and provide all that historical information on request (this is not just the current information). Which means you cannot just provide the current information, or reverse a hash etc.

      The law is broad reaching, really intrusive and will cause far more problems for anyone than the french might hope it will solve, but for some reason you (after apparently reading the article) missed entirely the point of it.

      Z.

    7. Re:Summary is COMPLETELY WRONG by WWWWolf · · Score: 1

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      The purpose of hashing passwords is that if the datastore that contains the user credentials is compromised, the attacker cannot learn the actual passwords. The problem in your scenario is that there's no such thing as a "write only" file and an additional database only increases the overall complexity of the system; if the attacker can get to the hashed passwords, the system is bound to be severely compromised and it's reasonable to assume that they're able to get to the components that save the passwords to that external database.

      Look at it this way: The login component that stores the hashed passwords has to communicate with the plain-text database. The plain-text database has to assume that the login component's security is air-tight, because otherwise it won't be able to tell apart legit and illegal requests to update passwords. Now, if the attacker can get the hashed passwords, that means they have their claws on the login component. Which means they have the plain-text database credentials. Oops. And if you assume that everyone doing this sort of database always manages to make the database "write-only" (e.g. SQL database with only UPDATE commands allowed), you're assuming too much. Besides, if the attacker is able to get that database's credentials, what's stopping them from throwing a giant spanner in the works and making you legally liable for not saving plain-text passwords? (UPDATE users SET password = '';) You can do a lot of damage either ways.

      User credentials are a very crucial bit of information whose privacy has to be guaranteed at all costs, and you don't replicate them randomly on bazillion places. Especially if some places are by design less secure than others, and there's an automated gatekeeper whose job is to purposefully degrade that security.

    8. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      > but assumes that this will not get abused by the government to spy on non-suspects too.

      Ha ha ha. Which planets governments were you thinking of when you wrote this ?

    9. Re:Summary is COMPLETELY WRONG by IWannaBeAnAC · · Score: 3, Insightful

      The problem in your scenario is that there's no such thing as a "write only" file...

      Not correct. There are lots of ways of setting up a system that can write but not read. For example, a line printer that records a transaction log. To see the password, you have to physically read the printout. You could get the same effect with a dedicated server with a single-use connection to the main server (and no internet connection! Doesn't even need to have a TCP/IP stack) and a well controlled software environment.

    10. Re:Summary is COMPLETELY WRONG by BeTeK · · Score: 2

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      Yes, but this is stupid and really gets rid of the point of having the hashed password in the first place. Now you have two copies, and even better if you hack the french data you start potentially having information necessary to recover passwords from other more secure countries. As for the 'write only' file, seriously? the only write only file is /dev/null, if you can read it at all there's the possibility that it can be read by bad people - that's what a security breach is... I suppose you could use a printer and print them all, if there's no digital way to read it then it would have to be a physical security breach, but the cost of compliance?

      Well in fact you CAN create write only file. Simply make private/public key pair and store public key in the server (the one that you can only encrypt data). Keep the private key on safe location away from the server. So now server can write to DB with public key but it's imposible to decrypt it and when officials want data they can pull private key from usb stick for example and decrypt it.

    11. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Shit, if they were required to provide a plain password, they could use any of the cracking tools to obtain exactly that one... or just "reset" the password of the account and give it to the French police.

      Yes, but French police apparently wants to be able to sneak in to and out of accounts without alerting the observed and without having to deal with providers each time they do so. In other words, watcher doesn't want to be watched.

    12. Re:Summary is COMPLETELY WRONG by emj · · Score: 1

      WTF? Who stores passwords in a form that can feasibly be reversed?

      Most code use very bad password hashing, until recently lwn.net stored passwds in clear-text, now they use bcrypt. But even if a site uses password, they will mostly use a bad hash algo.

    13. Re:Summary is COMPLETELY WRONG by terminal.dk · · Score: 1

      Encrypt password + salt with public key.
      It is strong, probably close to as good as a hash. You can add the MD5 as additional salt to get longer ciphertext.

      Then protect private key, and use only when government needs it.

      That should be easy to implement, if encryption is legal in France.

    14. Re:Summary is COMPLETELY WRONG by Ephemeriis · · Score: 1

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      The reason passwords are generally not stored in an unencrypted format is so that they're only known to the person who generated them. It's a form of authentication. The system knows you're you, because you're the only one who knows your password.

      If the password is stored in cleartext, or some kind of reversible encryption, this is no longer the case.

      What happens if some bored employee goes looking at that list of unencrypted passwords? What happens if a stack of backup tapes containing that list goes missing?

      or just "reset" the password of the account and give it to the French police.

      That isn't what the government wants. Resetting a password tips you off that somebody is messing around with your account. The government wants to be able to peek in without anybody knowing.

      --
      "Work is the curse of the drinking classes." -Oscar Wilde
    15. Re:Summary is COMPLETELY WRONG by FoFi · · Score: 2

      +1 for the parent. As sysadmin in a french company running a public forum, I studied the law. Here are the interesting points :

      Les données [...] que les personnes sont tenues de conserver en vertu de cette disposition, sont les suivantes :
      [...]
      3 Pour [les founisseurs de forum/blogs...], les informations fournies lors de la souscription d'un contrat par un utilisateur ou lors de la création d'un compte :
      [...]
      g) Le mot de passe ainsi que les données permettant de le vérifier ou de le modifier, dans leur dernière version mise à jour ;
      [...]
      Les données mentionnées aux 3 et 4 ne doivent être conservées que dans la mesure où les personnes les collectent habituellement.

      Which can be roughly translated :

      Data [...] that must be kept are :
      [...]
      3) For [forum/blogs/... providers] data given on subscription or account creation:
      [...]
      g) the password and the data that allows to check it or change it, in their latest version.
      [...]
      Data given in 3) and 4) must be kept only if they are usually kept.

      As the MD5/SHA1 hash is a "data allowing the password to be checked", and the password in plain text might be among the data that are not usually kept, hashed passwords are perfectly legal way of keeping authentication information. The only obligation is to keep authentication information for one year, in any form.

      However, the law forces to give it out to authorities on demand... As I think that MD5 cracking is not an big issue anymore, services providers willing to bring a hign level of confidentiality to they users should switch to higher security schemes.

    16. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Many ways to interpret "must hand over password on demand" - one way is to say that you must be providing unfettered access to the account (such as a password reset.)

      Another interpretation is that the police want your Amazon or Google password so that they can try it on all your other accounts and personal devices.

    17. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      This tips off the target that they cops are onto them. I was going to write suspect, but assumes that this will not get abused by the government to spy on non-suspects too.

      Well, to be honest there are a fair number of sites that will tell you when you last logged in, so even logging in AS the person is often enough to tip off someone who is paying attention.

    18. Re:Summary is COMPLETELY WRONG by wvmarle · · Score: 1

      Aren't e-mail users who write e-mail considered "content creators"? They create e-mails, and e-mail can easily be argued to be "content". Or is there that much difference between say a blog readable to a select audience, and an e-mail sent to a mail list? From past news messages, it's typically e-mail, twitter, blog, etc accounts that law enforcement is after when they want login details.

    19. Re:Summary is COMPLETELY WRONG by varcher · · Score: 1

      However, the law forces to give it out to authorities on demand...

      Yeah. And every challenge thrown against this law are against that bit, which is wildly imprecise, and can be interpreted in a very large manner, which might result in police asking for these personal details without judiciary overview. Which is the real fear of Dailymotion, Google, and all those interested parties.

    20. Re:Summary is COMPLETELY WRONG by j00r0m4nc3r · · Score: 1

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      Wtf is a write-only file? Is that like a unicorn?

    21. Re:Summary is COMPLETELY WRONG by LBU.Zorro · · Score: 1

      Dang! You have a very good point, that would be a pretty good solution..

      Any encryption except one time pads can be broken (well assuming you use the one time pad only once), but you're quite right, the likelihood of someone breaking into the server and then happening to have either the ability to crack the public/private encryption through algorithm vulnerability or computing power is low.. Arguably there are still many ways to break into it, from social engineering to physical breakins etc but really low order probability if it's done correctly.

      I'd probably accept that as a viable solution myself (and I wish I'd come up with it so as not to look too stupid there :) ) - I'm still not 100% confident of a company that can retrieve your password however it is done as it's just not as secure but if the law does remain in force it's not too bad a solution.

      I still think the law's rubbish tho, there's no requirement to grab records of all the passwords someone's had over the last year unless you're fishing somewhere you can't legally force to comply.

      Z.

      But good catch :)

    22. Re:Summary is COMPLETELY WRONG by obijuanvaldez · · Score: 1

      Storing passwords as hashes instead of plain text is now illegal in France,

      No, it is not. Nowhere in the article (yes, I read it) does it say that. The law that is being challenged by Google and others is one that requires them to store users' information for one year.

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      I read the article as well. The summary is completely wrong, but I think you missed something. The law doesn't mean that the information must be stored plaintext somewhere. The law seems to just require that a plaintext password be obtainable by authorities upon demand. That would mean Google or whomever could keep things like passwords encrypted and decrypt when asked.

    23. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Here's the thing I don't understand about hash collision:

      if two different passwords generate the same hash, aren't they interchangeable in a system that only stores the hash?

      if "password" and "1t5Rs7gbH540" have the same hash, couldn't I type either into the password field to authenticate for your site (since your sever will compute the hash and compare it to the hash on file to validate the password)?

      I must have missed something or else hash only storage would be less secure (but more resistant to password reuse issues) than storing the password in plain text. But it would also mean that it shouldn't matter if you hand over the "wrong" password to the authorities since they can still use it to access the account as long as it has the correct hash.

    24. Re:Summary is COMPLETELY WRONG by Raul+Acevedo · · Score: 1

      It is still completely possible for Google to use hashed passwords to authenticate users and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      That's a distinction without a difference. It is absurd to keep a hash if you are required to keep the plain text. In reality this would mean encrypting the password, but it still comes down to eliminating hashing.

      --
      In a real emergency, we would have all fled in terror, and you would not have been notified.
    25. Re:Summary is COMPLETELY WRONG by Rary · · Score: 2

      Actually, you're wrong, but you can be excused for it, because you relied on the article. The problem is that the article is wrong.

      If you actually look at the text of the law itself, it explicitly says that passwords, either plaintext or hashed, must be retained only if they are currently stored. The law doesn't tell you what you have to store, just how long you have to store it for, and requires you to give it up to the police when asked.

      Here is the Babel Fish translation of the law itself: http://66.163.168.225/babelfish/translate_url_content?.intl=us&lp=fr_en&trurl=http%3A%2F%2Fwww.legifrance.gouv.fr%2FaffichTexte.do%3Bjsessionid%3D%3FcidTexte%3DJORFTEXT000023646013%26dateTexte%3D%26oldAction%3DrechJO%26categorieLien%3Did

      The key point in that link is the comment that says that passwords "should be preserved only insofar as the people usually collect them."

      --

      "You cannot simultaneously prevent and prepare for war." -- Albert Einstein

    26. Re:Summary is COMPLETELY WRONG by hedwards · · Score: 1

      But, that's the problem, in order for a password to work, somebody has to collect it. And a properly designed password system wouldn't allow for the server admins to gain access to the password in order to hand it over to somebody else. Sure, they could change it or delete the account, but they shouldn't be able to provide the password.

      I guess, this only doesn't effect sites that use 3rd party authentication, in which case you'd have the same problem with the sites that are handling that having to provide your information in an easily stolen format.

    27. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      I would assume the password could be reset on the copy being given to the police, not the production database.

      Also, given the way the average person reuse their one password across all online services, handing this over is akin to giving the authorities carte blanche to access any other account belonging to the person in question.

    28. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      "The law isn't asking them for their current password, or should I say not JUST their current password, it's asking for ALL of this data for the last year."

      Guess that means it can be somehow overflowed.
      I mean, if I create some kind of time based automatic password change program that creates predictable but pseudorandom passwords each, lets say... 3 minutes. And turn it into a browser plugin that changes the password and relogs every 3 minutes... this means if the web page wants to be legit they must store 20 * 24 * 365 (that's 175200) passwords and send them to the cops when they ask.

      Make it into a browser plugin, spread it amongst the privacity concerned french citizens, get some popcorn and wait for the show. Should I buy hard drive makers stocks?

    29. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Or use Google's 2-factor authentication, even with the password without physical access to your cell phone they can't get anything

    30. Re:Summary is COMPLETELY WRONG by twebb72 · · Score: 1

      Storing passwords as hashes instead of plain text is now illegal in France,

      ... and only "save" the plain password in a "write only" file (text or separate database) with the unhashed passwords...

      Your suggestion is almost as bad as the law they're suggesting. Most theft comes from employees, and not random some hacker.

    31. Re:Summary is COMPLETELY WRONG by BeTeK · · Score: 1

      Yeah I think so that this is viable solution but as always when adding complexity possible attack vectors increase.

    32. Re:Summary is COMPLETELY WRONG by Anonymous Coward · · Score: 0

      Nevertheless, the law is still idiotic, as they say in the article; just a couple of months ago France slapped Google due to some privacy issues, and now they want them to keep so much data for so long time?

      It's not idiotic, its a political motion funded by Facebook to justify keeping absurd usage data on users dating back to levels that would make even lay users paranoid of the company's practices and stop giving up all the information needed to control their lives.

  13. anything worth it's salt by oliverthered · · Score: 1

    I would never give real details for anything worth it's salt anyhow... and I got good entropy on my hash at home.

    --
    thank God the internet isn't a human right.
  14. Law makers.... by the_mind_ · · Score: 1

    When will law makers stop trying to make laws on technical matters they do not understand and that affect technical users?

    "No, your Honor. The passwords are not hashed. They are encrypted using public key encryption. It's just that I have lost the private key..."

    --
    You feel sleepy. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
    1. Re:Law makers.... by icebraining · · Score: 1

      Uh, the law forces them to provide the original passwords; the way you use to store them is irrelevant. So that won't work.

  15. I'd better choose carefully my passwords by alci63 · · Score: 1

    I already have different level of passwords, depending of the sites or type of sites I log into... I now will be even more careful, to be sure I never use any valuable password outside of my own machines... I think my main "public" password will sound something like "F*ckSARKO".

  16. Goodbye GANDI by craznar · · Score: 1

    Well, I just finished switching my Domain registration across to GANDI.

    Time to move again... jeez France.

    --
    EMail: 0110001101100010010000000110001101110010 0110000101111010011011100110000101110010 0010111001100011011011110110
    1. Re:Goodbye GANDI by GPLHost-Thomas · · Score: 1

      Not a bad thing. GANDI is one of the worst providers of this planet, and also very expensive.

    2. Re:Goodbye GANDI by Sloppy · · Score: 1

      In spite of France's funniness about certain things (crypto) about ten years ago when I was jurisdiction-shopping, they came out on top in various ways, and Gandi's own policies were some of the best among registrars, so .. yep, I ended up with them too. Every year when I pay, my bank freaks out that some company over in France is pulling money out of my account. ;-)

      I never thought the crypto problems in France would impact how I use a registrar, though. Now I see. Bad news.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  17. back to '90 by Anonymous Coward · · Score: 0

    I guess most hackers/spammers/phishers will support this initiative.

  18. French Data Law by fruey · · Score: 2

    Sadly, the restrictions in France in eCommerce are wider ranging than even this. Storing credit card information, for example, requires companies to jump through many hoops and prove data is stored in Europe. Many sites steer clear of storing credit card information. Any subscriptions (newsletters, etc) have to be kept in auditable databases and opt-out laws are strong. Sometimes this is a good thing for the end user, but it stifles intelligent lazy login systems and means billing is not as automated as it needs to be. Anti fraud measures such as 3D secure (Verified by Visa, Mastercard Securecode) are crap in France because the banks have all adopted different ways of authenticating their clients in an online payment system (some by a challenge/response via SMS, some via one time pads, some via birthdate, etc).

    Obviously legal departments are kept busy, and content publishers or eCommerce merchants end up crippling user experience because they are very likely to take a pessimistic interpretation of all the data privacy laws. So the French do what? The internet illuminati sign up for US/UK English versions of sites, or French canadian sites, whereas the average Joe just things the net is about typing in the same data all the time.

    --
    Conversion Rate Optimisation French / English consultant
  19. Where are the politicians with tech knowledge??? by niftydude · · Score: 3, Insightful

    I seem to be seeing more and more stories like this, where politicians make incredibly ill-conceived laws due to their ignorance of technical detail.

    I don't know if it is the same in france, but in my country, the parliaments seem to be loaded chock full of former lawyers and accountants, and not much else. This creates a massive blind spot in the outlook of the people governing us.

    Quite frankly, they are not up to the task of designing law for the current age. The issues facing the world currently seem to be overwhelmingly technical and scientific in nature, whether it be internet privacy, net neutrality, or global warming, and the current breed of politicians seem intent on foisting the stupidest solutions available upon us. Most often because they don't understand the possible alternatives.

    Where are the engineers and scientists willing to step up and serve their country politically? We need you.

    --
    You can never know everything, and part of what you do know will always be wrong. Perhaps even the most important part.
  20. Disputable interpretation by journalists by Anonymous Coward · · Score: 2, Informative

    Just 2 points :

    1) The law referred in the press (which is actually an application decree) does not ban hashes, it says the following data should be retained:

    "The password and the data used to verify it or to modify it"

    2) The decree also adds a KEY sentence, saying that this data should only be retained if it was previously *usually collected*.

    The words "the data used to verify it" could cover hashes, but more importantly point 2 means that if they didn't collect passwords, but only hashes, there is no need to start collecting clear-text passwords.

    Nevertheless, the decree has other major technical flaws that make it worth challenging in court. Not to mention that it could be considered in breach of European Legislation on data retention, which limits the scope of data that member states can ask to be retained.

    1. Re:Disputable interpretation by journalists by asdf7890 · · Score: 1

      Point 1: While requiring that the plain password be stored does not stop hashed+salted passwords being stored, it does defeat the purpose of the hash. So they are not banned by the law, just made pointless by complying with the law.

      Point 2: But what constitutes "collection"? If you take a plain password to the server and hash it there it could be said that the server has collected the password (even if it didn't eventually store it anywhere more permanent than RAM).

  21. Card security standards by Anonymous Coward · · Score: 0

    I suspect this would never be allowed for EMV / PCI certified systems.
    But then again, France probably has their own superior versions of those standards.

  22. Randomize by Mascot · · Score: 2

    I use a password manager and unique randomly generated passwords for wherever I sign up. As far as I am aware, I don't have any accounts on servers in France, but even if I do that'd be all anybody'd be able to get access to with that password.

    It did take a while to find a password manager that supported all my platforms and offered sufficient integration to not make life too difficult, but well worth it for the peace of mind.

    For my local stuff (OS logins etc) I use passphrases I can actually remember and type in by hand, of course.

    1. Re:Randomize by Maddog+Batty · · Score: 1

      OK, Cough up. Which one do you use?

      I use LastPass which seems to do the job for me though I'm always a bit scared that there may be some security issue with it.

      --
      wot no sig
    2. Re:Randomize by Anonymous Coward · · Score: 0

      Would care to tell the name of password manager you're using?

    3. Re:Randomize by Anonymous Coward · · Score: 0

      You are making it less secure by revealing which one you use.
      Now people only have to determine the master password and settings and they have all your passwords no matter how long or "secure" they are. (I now it's unlikely anyone can find out / crack your master password.)

    4. Re:Randomize by Mascot · · Score: 1

      I'll make you a deal. Think that through for a bit longer, then respond as something else than AC, and I'll happily tell you which rather vital step you're missing to make your "less secure" statement true.

    5. Re:Randomize by Mascot · · Score: 2

      I settled on 1Password. Lastpass was the only serious contender, as far as I can remember. I can't quite recall all the reasons I went with 1Password instead, but I believe user interface and sync via dropbox as opposed to Lastpass servers played a part.

      I use it on my Android phone, iPad, Mac and Windows computers, all synced via dropbox. It's quite painless to use, and I couldn't be happier with it.

    6. Re:Randomize by Mascot · · Score: 1

      1Password. If money's an issue, check out Lastpass. Those two seem to be the major contenders.

    7. Re:Randomize by Anonymous Coward · · Score: 0

      I use this one:

      https://www.optrea.net/

      There's also an equivalent .deb if you want a commandline interface.

  23. So how about a fucking link? by Eunuchswear · · Score: 5, Informative

    Nothing in the BBC story or the Slashdot submission gives a link to actual useful details.

    There's nothing on the ASIC site, nothing on http://www.laquadrature.net/

    All I can find online is http://www.zdnet.fr/actualites/conservation-des-donnees-sur-internet-l-asic-se-fache-39759703.htm

    Turns out that the law was passed in 2004. This is about the "decret d'application", i.e. the note from the government that specifies exactly what the retention period is.

    --
    Watch this Heartland Institute video
    1. Re:So how about a fucking link? by Pope+Raymond+Lama · · Score: 1

      There is a "Décret" which actually makes the 2004 law effective published on March 1, 2011 - apparently it is for real, and it is the internert companies response to this decree that triggered the news.

      Decrét Text (French)

      --
      -><- no .sig is good sig.
    2. Re:So how about a fucking link? by Eunuchswear · · Score: 1

      Heh. The ARCEP (Autorité de régulation des communications électroniques et des postes) don't sound too impressed by the project:

      On a purely preliminary basis, The authority notes that the concepts of “creation of contents” or “the contents of the services which they are providing” are not defined at all, which leaves to the people in charge of the conservation of the data the responsibility to define themselves the extent of the data they must preserve.

      and

      The Authority, in comparison with the list of the data envisaged by the 1st article, can only question on the usefulness of them. Indeed, certain data have little report or even none with the identification of the person having created contents.

      http://www.legifrance.gouv.fr/affichTexte.do;jsessionid=49FC1B694A51971CA4575B3FA1FFE32B.tpdjo12v_2?cidTexte=JORFTEXT000023646852&dateTexte=&oldAction=rechJO&categorieLien=id

      --
      Watch this Heartland Institute video
  24. What on eath use do the think this will be by Chrisq · · Score: 1

    If an ecommerce site can lock someone's account, give full access to the authorities, or change a password (all of which can be done with hashed passwords) why would they want to know someone's actual password? This will need rewriting of most systems and OSs for no gain whatsoever.

    1. Re:What on eath use do the think this will be by Anonymous Coward · · Score: 0

      To gain access to other systems where the user (stupidly) has used the same or a similar password.

    2. Re:What on eath use do the think this will be by Anonymous Coward · · Score: 0

      It all depends on the purpose. If you want to 'make' someone do something illegal then password is quite usefull...

  25. Couldn't they just... by Anonymous Coward · · Score: 1

    Granted I didn't RTFA, couldn't companies comply with the law by setting a new password and giving that to police if they ask for it?

  26. Before everyone gets too excited... by Noryungi · · Score: 5, Informative

    You have to remember that this is France, a country where laws are voted by Parliament, but then quietly dropped once less clueless people realize they are unworkable.

    Think I am crazy? In France, to become the "law of the land", any legislative PoS like this one must be first described and "configured" -- so to speak -- through "Décrets d'application" that are written by the Government. Any law that does not have its "Décrets" is simply not applied by the courts. And you would be surprised to learn that -- if I remember correctly -- close to 50% (I think the number was 43% to 45%) of all laws voted by Parliament never receive a "Décrets".

    In other words, it goes something like this:

    A. Clueless Parliament vote clueless law, based on a clueless request ("Think of the Children!") by a clueless (Conservative) Government. For instance: "Evil Nazi Hackers Must Surrender Passwords to Police Or Else!".

    B. Every geek in France loudly protests and are soundly ignored by Clueless Parliament: Clueless law passes and makes it mandatory for all Evil Hackers to surrender passwords to police (Or Else). Yeah, right. You can pry my passwords from my cold, dead fingers, mate.

    C. Large, politically influential e-commerce companies (Errr... www.fnac.com, www.amazon.fr, etc) quietly contact Government and whipers: "Clueless law will destroy e-commerce in France. By the way, e-commerce is now worth XYZ Billion Euros a year in France and here is a (large) check for your... er... humanitarian projects".

    D. Clueless Government promptly forget all about Clueless Law, which is, in turn, immediately ignored by all the Courts of Justice in France.

    E. Profit. Meaning: everyone is happy: (Clueless Conservative) Governement and Parliament posture and pretend they are doing something about children-threatening Evil Hackers (tm), declare victory on all Evil Hackers and move on to the next "outrage du jour", e-commerce sites go back to business as usual and Courts breathe a sigh of relief they won't have to get into a whole heap of trouble trying to judge something so badly designed. Even the police is happy because they will now have another tool to be able to put pressure on small businesses in order to hound them. Big businesses, of course, have their own ways of dealing with that kind of pressure (see point C above).

    Move along folks, nothing to see here: just clueless (Conservative/Liberal) politicians doing their jobs.

    If I sound cynical, it's because I freaking hate these freaking people. I am just so sick & tired of these fsckers. As a Frenchman, I really think it's time to get the Guillotine out, give it a good scrub, and start chopping some (politician) heads off. Tree of liberty refreshed by the blood of tyrants and all that.

    Welcome to France, just make sure you hand over all your passwords to the nice man in blue at the frontier. (Just kidding!)

    --
    The right to offend is far more important than the right not to be offended. (Rowan Atkinson)
    1. Re:Before everyone gets too excited... by BlackPignouf · · Score: 1

      Please mod parent up, it is a sad but accurate description of how French legislative system looks like.

    2. Re:Before everyone gets too excited... by alexhs · · Score: 4, Informative

      The only problem here is that it is about the application decree (posted by an AC in this thread). The law was voted in 2004 (surprise surprise, Sarkozy was the minister of economy at that time).

      The relevant portion of the decree is :

      Les données mentionnées au II de l'article 6 de la loi du 21 juin 2004 susvisée, que les personnes sont tenues de conserver en vertu de cette disposition, sont les suivantes :
      [...]
      3 Pour les personnes mentionnées aux 1 et 2 du I du même article, les informations fournies lors de la souscription d'un contrat par un utilisateur ou lors de la création d'un compte :
      [...]
      g) Le mot de passe ainsi que les données permettant de le vérifier ou de le modifier, dans leur dernière version mise à jour ;

      Translation :
      The data mentioned in Section II of Article 6 of the Act of June 21, 2004 referred to above, that individuals are required to keep under this provision are as follows:
      [...]
      3 For the persons referred to in 1 and 2 of Article I of the same, the information given upon subscription of a contract by a user or when creating an account:
      [...]
      g) The password and the information needed to verify or change it, in their latest updated version;

      --
      I have discovered a truly marvelous proof of killer sig, which this margin is too narrow to contain.
    3. Re:Before everyone gets too excited... by Anonymous Coward · · Score: 0

      These unapplicable laws are, with years, effectively very costly to the French economy.

      Worse, this kind of idiotic rules implies that :

          - French reps have taken council on technical pertinence and feasibility from interlocutors which are financially involved in the legal counter-measures (like TMG...), therefore they are idiotic.

          AND/OR

          - French reps have followed guidelines from interlocutors which are financially involved in the legal counter-measures (like TMG...), therefore they are corrupted.

      It seems that French reps have forgotten a political elementary truth : In a democracy, the citizens , in the end, make the laws by accepting and applying it, not their reps. The law, in the global meaning, come from the citizens, not from public deciders.

    4. Re:Before everyone gets too excited... by Zilog · · Score: 1

      Proxy side effect, i did'nt want to post this one anonymously...

    5. Re:Before everyone gets too excited... by Pope+Raymond+Lama · · Score: 1

      Yes . .thank you8 for helping me filling up the puzzle --
      the law requiring data retnetion is actually from 2004 - -a "opinion" about the law is dated from 2008 - which led to the
      required "Décret" to be published on March 1, 2011, as can be seem here:
      Official Decrét text(french)
      Google Translation

      So, what made the news is that large internet services and companies such as Google et all. are in French Justice trying to invalidate the law alltogether(which I believe they will suceed in, since it is really clueless) - but the law is actually passed and getting ready to be effective in a 60 days or so.

      --
      -><- no .sig is good sig.
    6. Re:Before everyone gets too excited... by godrik · · Score: 1

      "If I sound cynical, it's because I freaking hate these freaking people. I am just so sick & tired of these fsckers. As a Frenchman, I really think it's time to get the Guillotine out, give it a good scrub, and start chopping some (politician) heads off. Tree of liberty refreshed by the blood of tyrants and all that."

      Call me when you set up the Guillotine!

      (Putain, un an!)

  27. All these comments by Kjella · · Score: 3, Interesting

    And nobody sees this is easy to implement and perfectly safe.
    1. Create a GPG key pair
    2. Put the public key on the login server, the private key in a safe.
    3. When setting the password, encrypt the plaintext password with the public key.

    If law enforcement comes calling, get the encrypted GPG message. Decrypt on a secure offline machine using the key from the safe. There you have it, recoverable passwords with essentially no safety risk that I can see.

    --
    Live today, because you never know what tomorrow brings
    1. Re:All these comments by CrashandDie · · Score: 1

      Mainly because public key encryption is way too slow. What you want is generate a random symmetric key, encrypt the data you need with that, and then encrypt the symmetric key using your public key, once, and delete all other traces of the symmetric key.

      The end result is still the same, just a whole lot faster.

    2. Re:All these comments by Kjella · · Score: 1

      Congrats, you've just described how encrypting something with GPG works. Except when you're just storing so short as a user/pass combo that's actually extra overhead. Or did you think you would encrypt all the passwords at once? And how would you then update one password or add one user? You don't *have* the other passwords as plaintext anymore and you can't recover them - if you could then anyone who rooted your login server could too. Besides, once every password reset is not much at all.

      --
      Live today, because you never know what tomorrow brings
    3. Re:All these comments by Anonymous Coward · · Score: 0

      How will that work with passwords? Wouln't you need to decrypt the symmetric key, so that you could use it, every time the user tried to login?

    4. Re:All these comments by Anonymous Coward · · Score: 0

      It is never easy to implement vast sweeping mandates that concern your entire active user set.

      California state government recently passed laws requiring anyone offering subscription services purchasable via web pages to have very specific set of logging, flow and offer terms. Even if all those things and better were implemented in a far more efficient way, they had to be there. The changes themselves weren't too hard to implement but the regression time for existing users was enormous. I spent weeks building automation to cover all our different one off offers and the back end DB guys had even more work changing the existing architecture.

      I read some of the propaganda for how it would help consumers from evil greedy capitalists. Disregarding that our customers would have rather us spend our time on other feature work(as shown by a correlated dip in all users during and after the time we developed this, not just the california users which we exposed this new horrendous experience to), it doesn't protect anyone. It is worse than the equivalent of adding a sign to warn you that a sign is coming up, since at least signs can be ignored. The legislation mandated extra user agreements and acknowledgment.

      I appreciate interest in the solution to this demand, but it never ends up being as easy as a couple of sentences.

    5. Re:All these comments by Anonymous Coward · · Score: 2, Insightful

      You're missing the point. Sure, it is possible to securely store the user's password to where it is essentially impossible for a hacker to obtain it, but why does the French government need it to begin with? If they have the proper legal documentation, they can obtain any of the customer's data from a given site without providing the password. The whole point is that now, they can access other services used by the customer where they used the same password without obtaining a warrant. That is bad.

    6. Re:All these comments by Anonymous Coward · · Score: 0

      As a reminder though: just because it's possible doesn't mean it should be done.

    7. Re:All these comments by asdf7890 · · Score: 1

      You would want more than one key pair though, otherwise handing it over gives access to all the credentials protected by that key in one go. A moot point if the legal demand is for all your stored credentials anyway, but if the law turns up with a more selective warrant you want to be able to give them the data requested and not everything else. So you'd need one key pair per user/account, and need some sufficiently secure way to update the collection of private keys. Decrypting the passwords using the private key yourself isn't enough to comply with the letter of the law: they would request you hand over everything needed to get the password, including that key.

      An easier method to implement would be to stick with good hashes for everyone else, and if you detect a French user (by IP address, email address, or such) store the password plain and warn the user that you have in order to comply with a brain-dead law that they need to complain about. Or just refuse to take accounts from French citizens as some others have suggested, but that is hardly something that you'll find easy to justify to your shareholders.

      Of course the law doesn't just cover French citizens. Any account credentials stored on services within France would be covered by my understanding, so if you are elsewhere in the EU (if you are not EU based and none of your servers/services are then this is all moot anyway) you can probably get away with selectively applying credential hashing, but not for services hosted in France and your customers in other EU territories won't be happy putting up with lower security because of a French law. This is the point Google and the other companies and such are making: "if you enact and intend to enforce this law, we will have to host our services in a country other than France (we'd rather not move as it would be hassle and there will be costs involved, but we will if we have to and your citizens may get slower and slightly more expensive service because the servers are elsewhere and people who live and pay tax in France are unlikely to end up working in our UK/German/where-ever DC so your economy will suffer a little)".

    8. Re:All these comments by muckracer · · Score: 1

      Like it, but would simply place public key on server, private key stays local. Server send challenge encrypted with public key, you decrypt with private. Client/browser sends it back, optionally encrypted with servers public key. Voila!
      No need for passwords at all, except on your local private key.

    9. Re:All these comments by Anonymous Coward · · Score: 0

      Forget the safe. Just have the French authorities provide their public key in advance, encrypt and post all the passwords to a public site for the French to browse at their convenience. Heck, you could have a seperate public site for the Americans and the British too.

    10. Re:All these comments by Anonymous Coward · · Score: 0

      Mainly because public key encryption is way too slow. What you want is generate a random symmetric key, encrypt the data you need with that, and then encrypt the symmetric key using your public key, once, and delete all other traces of the symmetric key.

      The end result is still the same, just a whole lot faster.

      If we were talking about encrypting a video, public key is too slow. But this is a few bytes. The difference between asymmetric and symetric when hashing a password might be a few ms. Not something the user is going to notice.

      The problem with your hybrid scheme is that you need the symmetric key to do the encryption. Are you going to decrypt it every time? That means you have to store the private key on the same server, so it's as good as unencrypted if your server is compromised.

    11. Re:All these comments by Anonymous Coward · · Score: 0

      Or maybe because a proper password authentication system never sends the password in plain text.
      Creating an account involves sending the hash, and authentication requires proving you have the correct hash - but doesn't send it, since that would allow replay attacks.

    12. Re:All these comments by Anonymous Coward · · Score: 0

      It's very slow, although that's actually a plus, and a salting mechanism is still needed to protect duplicates. Sounds good other than that.

  28. Liberté, égalité, fraternité by Damnshock · · Score: 1

    Where did those words go?

  29. ZOMG! by Anonymous Coward · · Score: 0

    Now the French are surrendering to hackers?!?

  30. RTFL, read the law by ei4anb · · Score: 1
    I suspect the OP did not verify the exact wording. The law requires retention of (among other things) "mot de passe ou données permettant de le vérifier ou de le modifie" (password *or* data to verify it *or* change it) so it seems that it would be enough to store the password hash and/or do a password reset when demanded by the law enforcement guys.

    Could people with better French than me please verify my understanding of what it says:

    http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000023646852&dateTexte=&oldAction=rechJO&categorieLien=id

    1. Re:RTFL, read the law by scsirob · · Score: 1

      How is this any better than requiring every citizen to give a copy of their keys to their home, *or* permission to change the locks to the authorities, so the authorities can roam around at will?

      This is bloody stupid. All eCommerce companies not hosted in France should immediately and abruptly stop service to the entire French IP range. Today. Let's see them wiggle their way out of *that*..

      --
      To Terminate, or not to Terminate, that's the question - SCSIROB
    2. Re:RTFL, read the law by Anonymous Coward · · Score: 0

      ) "mot de passe ou données permettant de le vérifier ou de le modifie" (password *or* data to verify it *or* change it)

      This reminds me of a question I asked in French class a few weeks back (of course I don't remember the details, though it is probably rather pertinent).
      I read a phrase in French which clearly meant sth like "A, B, and C". In French, this was written as "A, B ou C". I asked whether this was correct, and the teacher said this was correct French -- it doesn't have to be "et" instead of "ou".

      Leave it up to the French to have cases where "or" means "and"...
      Anyway, I don't recall the specifics, so I can only offer this as a background story that "ou" need not always mean "or" -- which changes the above sentence rather a lot....

    3. Re:RTFL, read the law by Anonymous Coward · · Score: 0

      You wouldn't even need to allow a password reset. It says "données permettant de le vérifier *ou* de le modifier", which means "data allowing to verify it *or* modify it".
      So basically, providing the hash should be sufficient to comply with this law.

    4. Re:RTFL, read the law by ei4anb · · Score: 1
      oops, upon further reading I realize the law is http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000023646013&categorieLien=id That does indeed state: "Le mot de passe ainsi que les données permettant de le vérifier ou de le modifier, dans leur dernière version mise à jour"

      The password AND data to verify it or change it.

    5. Re:RTFL, read the law by Lord_Jeremy · · Score: 1

      Yeah, that's what I don't understand. Why does law enforcement need to ask the content host for your password when they can just tell the content host to use their super-duper admin powers to let them in the back door? I mean, your email provider may not have your password in clear (or other readable or modifiable form), but they sure as hell have access to the hard drives your account is stored on. Not that this isn't a stupid and terrible idea to begin with...

  31. Oh well by McTickles · · Score: 0

    Good thing I dont trust french companies (on top of the list, my ISP) then (I live in the aformentioned country).

    Good thing I am not in France to host my data, even though admitedly french hosting prices are going to have to go down to compensate loss of trust after this.

    Sarkozy and his goons have no bloody idea what they are doing to the french digital economy, innovation and research; his ludicrous ideas to hand the internet over to the police and big media corps are having a huge NEGATIVE impact on the very people and companies that keep the network running!
    Sarkozy wants to make France attractive for major tech companies and research in digital innovations (so he claims) BUT what researcher or company is going to want to come to France when they'll feel constantly spyed upon and will have to follow silly rules on a crippled network ?

    They are messing with things they have no hope of ever understanding at this rate and it is hurting the economy and people generally.

  32. Don't jump to quick ... by Anonymous Coward · · Score: 0

    I totally second "Anonymous Coward"'s "Disputable Interpretation". I made the same mistake, got on my high horses, and kinda ridiculed myself when I actually gave a deeper look at, you knwon, ahem, the bill. (in french : http://enattendantlamor.blogspot.com/2011/03/mea-culpa-mea-culpa-bon-sang-mais.html )

    The bill is here (in French, you would have guessed) :

    http://www.journal-officiel.gouv.fr/verifier/explication.php?fic=joe_20110301_0050_0032.pdf.sig&basedir=../publication/2011/0301&joDate=01/03/2011&sommairePage=#

    As it was passed and "decreeted" it says that if a website collects some kind of data (specified by the bill) on a regular basis, then they should keep them around for a year. The list does include passwords, but nowhere does it *require* websites that would normally store hashed passwords to suddently store them unhashed.

    Still, the law is far for perfect (I'd rather have a bill that *prevents* plain-text password storage), the feasibility is arguable at least, and the bill has been condemned on other grounds.

    Don't worry, French papers too did the mistake.

  33. All the more reason to use Federated Identity by pmcevoy · · Score: 1

    All the more reason to use a Federated Identity Provider like OpenId, and authenticate against servers in another more favourable jurisdiction. Still doesn't stop sites won't handing over your data, but at least your password is safe!

  34. Re:Where are the politicians with tech knowledge?? by YoopDaDum · · Score: 2

    I fear there's significant self-selection at work here. Would you join a political party full of people with a very different culture that you do not respect so much (and who pay lip service to yours)? Like you're an engineer, and political parties are made of lawyers and accountants as you said? Or to put it in a more colorful way, would you jump into a basket of crabs if you're not one yourself?

    I agree with you, there is a very dire need to get more various technical and scientific expertize into politics and parliaments. But with so much energy to spend on getting elected (not fun if tech/science is what interests you) and the crowd you'd be joining, there is a very high barrier to entry in practice. And the worst is that with all the paranoia about many science based issues (nuclear, OGM, ...) I'm not sure that the public would be very supportive of engineers or scientist willing to move into politics.

    So I guess the technical input will still be through professional lobbies for a while, and sometimes (as here) after the fact. It's by far not an ideal situation as in such case expertize is strongly biased by financial interests, but without more interest and support for science in the general public in the first place I don't see how we could get much better in practice.

  35. could not the death machines be recycled? by Anonymous Coward · · Score: 0

    disassemble that crud (some fancy materials to say the least, some likely hard to even melt), & build newclear powered refrigerators, houses, play-date/photon gathering facilities etc... we're sure our guys would prefer to become life extenders full time, with all attending benefits to all. no? the majority prefers never ending death by dismemberment & disintegration projects? that's it then.

  36. French patriot act ? by Anonymous Coward · · Score: 0

    It's a bit like the pariot act except that they want to access data on demand (so need a password) wheras the USA already sotre and filter all the data before it arrives to the user (but shhhhhush, it's a secret)

    The difference is budget for data storage
    The similarity is a total lack of immagination: trying to get omnipotent will not stop crime: it's just going to get it sharper (ho yeah and you'll fine this guy who downloaded 2 albums of Johny Halliday)

    I'm French and have to live with the fact that my government too is as stupid as evil.

    Lets vote to chose the dumbest of both evil, ho wait... shit

  37. The new law is stupid! by Anonymous Coward · · Score: 0

    This is just ridiculous! What about user's trust? And security? Users generally set similar passwords for different accounts on different websites. If only one of them is compromised, the hacker has practically hacked into the other accounts.

    Stupid, laughable law! :))

  38. France want to unprotect the french? by Tei · · Score: 1

    Not storing passwords is a good system to protect people privacy and safety.

    And the very idea of banning *how* you protect people with software is stupid itself.

    - Is stupid, because unenforceable laws are stupid. Banning something you cant enforce is wasting everybody time.
    - Is stupid because is not achieving what you probably want. If you want to be able to get the bad guys data, the bad guys can just use cleartext passwords, but cypher the actual data, so even if you get the password, you get a bunch of cyphered data.

    So, what these laws exist for? is to peek into commercial mails from small size /medium size companies? why the France govern want to do that?

    --

    -Woof woof woof!

    1. Re:France want to unprotect the french? by Anonymous Coward · · Score: 0

      Correction: Why would someone want to do that? Oh, I dunno, to see what those companies are up to? Now, who would find this immensely useful *and* can push the govt around to it? See, now we're getting somewhere!

    2. Re:France want to unprotect the french? by Opportunist · · Score: 1

      Oh no, the law is anything but unenforceable. It's impossible to heed it. And that's the catch 22 here. We want to turn you off but can't because you broke no law? Well, we're sure you broke this one!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  39. Why the state needs the plain password? by devent · · Score: 2

    Why they even need the plain password? The service providers have the (salted) hash of the password, with it the user can access the account. What the state agencies need is the hash and an interface to input the hash to access the user account.

    Why they need even that? The service providers are storing the information on their servers anyway, why can't they give a copy of it to the state agencies?

    The only reason that requires to save the plain text password is that the state agencies want to have the password in the hope that the person uses that password for other accounts. A lot of people don't bother to make up new passwords, they just think of a password and use it everywhere.

    --
    http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
    1. Re:Why the state needs the plain password? by Anonymous Coward · · Score: 1

      They need it for spying on the account to find your true id, not the fake stuff you randomly filled at sing-up.
      They couls also need it to impersonate and therefore manipulating content creators...
      I cannot see another reason.

      PS: I'm french, this law is one out of hundreds nonsence produced by this government, even our lawyers cannot stand it anymore. As someone said previously we should be more careful regarding who we vote for. But franckly the alternative wasn't serious either...

    2. Re:Why the state needs the plain password? by MichaelSmith · · Score: 1

      People reuse their passwords, often for services outside France.

    3. Re:Why the state needs the plain password? by Opportunist · · Score: 1

      I know, I know, but let's be honest: In retrospect, it could hardly have been worse. Unless the left dug out Stalin and reanimated him somehow.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  40. I never understood by Shivetya · · Score: 2

    why anyone would use an OS calling itself secure (or website for that matter) where you could "reverse" out the password. It boggles my mind that many websites already store in clear text or with grade school encryption.

    As to the poster above you, it certainly would make some IBM systems I work with that are used in a web environment illegal, there is no possible way on one of the OSes used in my shop to reverse the password or crack it with access to the system. It would be far easier to just guess it based on what is on the user's desk.

    --
    * Winners compare their achievements to their goals, losers compare theirs to that of others.
    1. Re:I never understood by delinear · · Score: 1

      It would be nice if sites had some level of certification for things like password storage, perhaps as part of the SSL certification, so as a user I can see at a glance how secure/insecure a particular site really is (and if they tell me they're storing an enecrypted/hashed password but it's actually cleartext there should be serious legal/financial consequences).

    2. Re:I never understood by zill · · Score: 1

      It would be far easier to just guess it based on what is on the user's desk.

      Well there you have it. Government mandated post-it notes.

    3. Re:I never understood by ekhben · · Score: 1

      The only thing CAs check before issuing a certificate is whether the cheque has cleared.

    4. Re:I never understood by cbiltcliffe · · Score: 1

      The only thing CAs check before issuing a certificate is whether the cheque has cleared.

      Of course. Why else do you think the CAs say they have to do "verification cheques"?

      --
      "City hall" in German is "Rathaus" Kinda explains a few things......
  41. Hang on by Dunbal · · Score: 1

    If you are the government and can just go in and seize the server and the logs anyway, why do you need the passwords? This law makes no sense, unless they realize that many people use the same password for almost everything and want an easy way to get someone's passwords...

    --
    Seven puppies were harmed during the making of this post.
    1. Re:Hang on by dejanc · · Score: 1

      If you are the government and can just go in and seize the server and the logs anyway, why do you need the passwords? This law makes no sense, unless they realize that many people use the same password for almost everything and want an easy way to get someone's passwords...

      This way, they can get your password and check your information without every seizing the server and logs, and without you knowing anything about it.

    2. Re:Hang on by Opportunist · · Score: 1

      The idea of just snatching the password and then sniffing through people's belongings without due process didn't cross your mind? Hint: It has crossed theirs.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  42. WHAT is going on with that country??? by Anonymous Coward · · Score: 0

    I thought the US and Britain were the only "civilized western" countries trampling on the rights of their citizens. I always thought France was better. Judging from this and their desire to go to war in Libya, I'd say the Evil Empire (alias Big Brother has its hooks into Sarkozy and other elements of the French government as well.

    1. Re:WHAT is going on with that country??? by Opportunist · · Score: 1

      France? Better? With Sarkozy on top?

      You haven't spend much time following the actions of that government, have you?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  43. simple solution by Anonymous Coward · · Score: 0

    They should use a simple system. Everybody has to use his global interpol id as password. Using the password of another person will be a felony which puts you directly on the death row. - you cannot solve social problems with technology

  44. Oh non... by muckracer · · Score: 3, Funny

    Mon mot de passe est une table de hachage, vous mottes insensible!

  45. Additional rules by kikito · · Score: 1

    They must also keep a bottle of red wine, some cheese and a fresh baguette at all times in all datacenters, in case the authorities are visiting and get hungry.

  46. What's the problem by Anonymous Coward · · Score: 0

    I never store password on database, I only store hashs (md5+salt hashed multiple times : crypt => http://juliusbeckmann.de/blog/php-everything-you-need-to-know-about-secure-password-hashing.html)

    Government ask me to provide them passwords.

    ALTER TABLE `tag` ADD `password` VARCHAR( 4 ) NOT NULL DEFAULT '1234'

    So I give them the password : 1234

    On the other side, my users log in my website with their "authentication-key" that is compared to a hash (http://en.wikipedia.org/wiki/Crypt_%28Unix%29)

    Mobile phone providers Sells us Internet unlimited (port 80 & 443 only with 500Mib quotas), and there's right, they don't say WHAT is unlimited and WHAT is Internet (TCP/IP full implementation in version4&6?)

    SO I do the same, I give them password that are useless for them.

  47. Benjamin Franklin by Azuaron · · Score: 1

    "They who give up essential privacy to obtain a little..." er...

    "They who give up essential security to obtain a little..." hmmm...

    "They who give up essential security to lose a little privacy, get neither security nor privacy."

    --
    I'm a psychologist (amongst other things).
    1. Re:Benjamin Franklin by Opportunist · · Score: 1

      Those who don't give a fuck about security or privacy shouldn't be surprised if they wake up and don't have any security or privacy left.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  48. Security is not the real issue here by Anonymous Coward · · Score: 0

    The security issue is not the main concern here. Of course, forcing sites to keep plain password is dangerous, but competent admins could considerably mitigate such risk. It would be worse than today, but not that worse.

    The main problem here is this blatant disrespect towards people's privacy. This is a totalitarian police state kind of thing. Law enforcers must never have access to people's private data on demand like that, and people should always have the strongest data protection techniques available to them, if they wish so.

    The French government is losing any shame they once might have had... first Hadopi, now this absurd.

  49. Obvious answer? by erroneus · · Score: 1

    Don't store your data in France! I hope there is an exodus of servers and services from France to just over its borders in every direction. There is a reason that just about everyone in IT agrees that even encrypted passwords are too weak -- hell, even MD5 and related hashes aren't THAT great.

    But, let's wait to see if they start outlawing locks on doors and cars next.

  50. illogical .. by Anonymous Coward · · Score: 0

    French gov fines Google for retaining your data, French gov wants all your files .. ?

    1. Re:illogical .. by Opportunist · · Score: 1

      Very logical. We want power. We don't want someone else to have power. Makes sense?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  51. 3rd world technology by applematt84 · · Score: 1

    Looks like France is taking their technology back to a 3rd world state. Every modern OS will have to be rewritten to comply with this, if it's true.

  52. Vichy France by ControlsGeek · · Score: 1

    Those Fascists, Can the plaintext passwords be in English ?

    1. Re:Vichy France by Opportunist · · Score: 1

      NON! Ze passwords 'ave to bee en Francais! Et non of zet let-speek, pas de numbers, d'accord?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  53. Completely wrong by yro · · Score: 3, Interesting

    The "decret d'application" of the law (it's a law from 2004 but not applicable before this "decret") doesn't prohibit hashed password. It's a misinterpretation of the decret.
    Actually, it states that IF you store the password in clear text for authentication, you have to keep the password in clear text in your logs during a year. But IF you store a hashed version of the password, you have to log the last hashed used. And if you don't store your users' password (logged via facebook or other centralized authentication) you don't have to.

    The decret only specify what to keep in the logs IF the information is already known and stored. It doesn't specify WHAT to store. What to store is specified by a EU directive.

    Yro

    1. Re:Completely wrong by davecb · · Score: 1

      Alas, the translation was:
      ---
      3 For the persons referred to in 1 and 2 of Article I of the same, the information given upon subscription of a contract by a user or when creating an account:
      [...]
      g) The password and the information needed to verify or change it, in their latest updated version;
      --

      That means if you have established a password, they must provide it.

      Bummer! I was hoping the summary was wrong.

      --dave

      --
      davecb@spamcop.net
  54. The solution by ud+plasmo · · Score: 1

    I guess they'll need a new password storing method that doesn't violate the new laws.

    I suggest ROT23 encryption.

    --
    Norris Normal - Who am I?
  55. ...and even better option by plaukas+pyragely · · Score: 1

    Extension of no 2:
    At some moment "accidentally lose" the private key. When law enforcment turns up get some good lawyers and fire the "responsible" (do not forget to employ the guy back when everything calms down).

  56. Wrong by unity100 · · Score: 1

    First, at the time of american independence war, there was no revolution or no chance of any revolution in france.

    second, 'old european conflicts' were the reasons used to persuade french throne to helping the american rebels. the public, who actually volunteered, were doing it out of revolutionary reasons. in case you do not know, the age of enlightenment mainly spread from france, with french writers and philosophers, and it was in full traction in latter part of 18th century. note that even marquis lafayette, a person who had had very important critical role in american revolution and then french revolution AND writing of declaration of the rights of man - the document which our modern societal principles are mainly based on, worldwide, including human rights statement - was also another frenchman who was deeply into new humanist revolutionary ideals. and despite he was a quite well-off marquis.

    strategically and militarily, if french assistance, especially french navy wasnt there, there would be no american independence. and if lafayette was not there in yorktown, still the same.

    1. Re:Wrong by smelch · · Score: 1

      People have been making fun of the French for a long time, it had nothing to do with Iraq. Maybe you heard more about it after that, but I don't think they're related at all. The French have been mocked for decades, most likely after the second world war is when the surrendering jokes started. Secondly, all that bullshit you just said the french did? Yeah, that's for pussies.

      --
      If I can just reach out with my words and touch a butthole, just one, it will all be worth it.
    2. Re:Wrong by unity100 · · Score: 1

      people mocking french, were you americans. not rest of the world. for rest of the world, knows what 'age of enlightenment' was, and knows the meaning of 'french revolution'. they also know about napoleonic era. and even for you americans, even in your ignorance of history, you werent making that much fun of french before iraq incident.

      granted, your education system tries to fill you with bullshit about how your 'founding fathers' had invented the principles of equality, freedom and liberty, instead of mentioning how they were followers of age of enlightenment that centered around french philosophy and literature, and moreover, most of your founding fathers were friends of the philosophers and writers in france, and visited france numerous times.

    3. Re:Wrong by smelch · · Score: 1

      No, we know about all of that stuff. Ben Franklin was pretty much all about France. That was France back then, once you have a revolution you stop being France from 1776 and start being a bunch of surrender monkeys. Napoleon was an alright dude as far as historical figures go (as in not a stinky douche), and I tend to play as Louis the XIV in Civ. Ever since the storming of the bastille, you guys have pretty much been bagette waving losers.

      --
      If I can just reach out with my words and touch a butthole, just one, it will all be worth it.
    4. Re:Wrong by SteveFoerster · · Score: 1

      For example, cheese eating surrender monkeys is from 1995.

      I mean, I'm a 37 year old American, and I don't remember ever hearing of France not being called "those guys who always surrender".

      --
      Space game using normal deck of cards: http://BattleCards.org
    5. Re:Wrong by Cederic · · Score: 1

      people mocking french, were you americans. not rest of the world.

      Actually we've been mocking the cheese-eating surrender monkeys since before I was born here. In Europe.

      Frog taunting is a national pastime here.

      Yes, it's potentially racist, and definitely xenophobic. No, it's not always justified. Yes, it's fun. No, I don't give a shit whether you like it or not.

    6. Re:Wrong by unity100 · · Score: 1

      first im not french. second, what you call as 'alright dude', has occupied entirety of europe with that 'non france' french. learn history first. so that you wont get shamed like you had been now.

    7. Re:Wrong by smelch · · Score: 1

      He didn't spread the stink or the attitude or the general sense of failure that preceded and followed him. I don't feel shamed at all.

      --
      If I can just reach out with my words and touch a butthole, just one, it will all be worth it.
    8. Re:Wrong by unity100 · · Score: 1

      yeees. he didnt. and i suppose he single handedly went all the way into russia ?

    9. Re:Wrong by h4rm0ny · · Score: 1

      Ever since the storming of the bastille, you guys have pretty much been bagette waving losers.

      You'd think an American wouldn't be so fond of the rule of royalty. Seems odd that you consider overthrowing the King's rule as a sign of being a loser.

      --

      Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
  57. First Italy by black_lbi · · Score: 1

    ... now France. WTF Europe, is there something in the water?

  58. 1st of April? by Anonymous Coward · · Score: 0

    time zone shift?

  59. how stupid.... by hesaigo999ca · · Score: 1

    If I can remember my hash password, and use THAT as my password from now on, they are just as screwed....shows people placed in political positions never have computer knowledge needed to make up the laws.

  60. Strike two! by ylt · · Score: 0

    In apparent observation of the new baseball season, Europe has already got two strikes, (Italy was strike one), one more and we disconnect them.

    1. Re:Strike two! by Opportunist · · Score: 1

      And believe me, on behalf of the rest of Europe (and I'm pretty sure a good deal of the Italians and French), we'd love to tell Sarkozy and Berlusconi: OUT!

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  61. So much for eDir in France by perotbot · · Score: 1

    eDir stores passwords in non-reversible encrypted hashes, No way to get the passwords out of there.

    --
    ~corporate tool, but employed~
    1. Re:So much for eDir in France by KZigurs · · Score: 1

      No such thing as non-reversible encrypted hashes. There's still an easy to handle upper bound if you want it hard enough.

  62. MODS PAY ATTENTION by Anonymous Coward · · Score: 0

    Please remove the "informative" moniker - informative implies correct information.

    Thank you. /AC

  63. France and Italy by Anonymous Coward · · Score: 0

    At the rate France and Italy are going to demonize internet services and abuse personal privacy and rights, pretty soon they will discover they are islands of darkness in a world of open communication. I am just guessing, but I believe even China isn't this egregious - they rely more upon direct snooping... :-(

  64. Postal addresses? Really? by beschra · · Score: 1

    What's the point of requiring postal addresses? Anyone with malicious intent is just going to enter a bogus address. Shoot, even if there's not malicious intent, people may enter bogus data just out of privacy concerns. I do it all the time. Are the companies going to required to somehow verify postal addresses?

    --
    It is unwise to ascribe motive
    1. Re:Postal addresses? Really? by Opportunist · · Score: 1

      But honest people will. Honest people who might have an opinion that little Napoleon or his bitch don't agree with. And a law to prosecute them is quickly created.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  65. So you read TFA, but can't read the summary by Anonymous Coward · · Score: 0

    The summary is wrong. The article does not actually say they can't store hashed passwords. Yet another highly inaccurate summary to throw those who have not actually read TFA.

    No, the summary is correct. "Storing passwords as hashes instead of plain text is now illegal in France."

    Storing the plain text password alongside the hash just makes the hash worthless. It's like making saying that you can have a lock on your door, so long as you leave the key in the keyhole at all times.

  66. That might be indistinguishable by Lonewolf666 · · Score: 1

    If the "recovered" password hashes to the same hash, it should allow you to log in, and thus appear to be the original password.

    --
    C - the footgun of programming languages
  67. How do they tell? by Anonymous Coward · · Score: 0

    Is 0ec0e6cc8585aca558f44221b3e940fa my password, or is it an MD5 hash? How do they know until they try it? What if I set my password to 0ec0e6cc8585aca558f44221b3e940fa and then change it? When it doesn't work on some older data do the police assume it doesn't work because it's a hash instead of a true password? This is just clueless bullshit.

    1. Re:How do they tell? by Opportunist · · Score: 1

      It's li'l Napoleon and his cronies passing a law concerning "zeh indernet" and ordinateurs. What did you expect?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  68. Hashed passwords suck anyway by Anonymous Coward · · Score: 0

    I love how everyone talks about hashed passwords as if they are more secure than plaintext. None of the ones most humans are willing to remember actually are given the cost of hardware available today. The difference is plaintext passwords are mearly more convenient to recover vs having to wait days for >40% of a given password list to be brute forced.

    The proliferation of hashed passwords has negative implications for secure zero knowledge agreement protocols which ultimatly will reduce the security of network communications.

    Protecting passwords is important, protecting people from crappy government laws is critically important...in this case lets focus our anger on the entire law...focusing just on passwords is too narrow..if they come back tomorrow and say hashed passwords are ok but you have to do everything else it leaves the challengers in a weaker position.

  69. This is dumb by Anonymous Coward · · Score: 0

    The point of having a password stored as a hash file is that they type in the password initially, it goes through the one-way hash function, and is stored, and then when they log in again and enter their password, what they enter is once again run through the one-way hash function and compared with what it created initially, and if they match, they are in, and if they don't, they aren't. Breaking into the site and stealing passwords doesn't give anyone access since they don't have the plaintext password. Storing plain text passwords negates all of that and makes sites entirely less secure. What storing passwords as plain text means is that stupid draconian authorities can demand passwords from site operators, and snoop at their leisure into everyone and anyones stuff. No! As a site operator, I will not bend to their stupid demands. If you want what was stored by someone else on *my* server, they you will have to work for it, first legally, then you will have to brute force your way in. The laws may have bent over and said 'gimmie more baby', but gaining access to what should be someones private stuff *should* be a bitch. If my server isn't in France, then its not going to store passwords in plain text (either that or I don't store any information about anyone visiting the site, including IP addresses, everyone is anonymous). Block the whole site if you insist, but I'm not going to follow your stupid requirements.

  70. Illegal to use any contemporary system? by Opportunist · · Score: 1

    Name one that stores passwords in plaintext. France will be forced to downgrade past Windows 95 if this stands.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:Illegal to use any contemporary system? by Un+pobre+guey · · Score: 1

      In Soviet Russia, the government controls the commerce.

      Interesting sig. It's the other way around here in the US. It reminds me of an old one:

      Under capitalism, man exploits man. Under communism, it's the other way around

    2. Re:Illegal to use any contemporary system? by Opportunist · · Score: 1

      In Communism, the economy gets socialized, then it gets ruined. Capitalism is the opposite.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  71. Self-selection, my friend by ZmeiGorynych · · Score: 1

    And what would be in it for us? Have you looked at what it takes to get elected to even a modest political office? Every little thing you say, and every single thing that can be dug up from your and your acquiantances' past, is milked for every drop of 'scandal' it can give; and even if that were not the case, you still spend most of your time delivering the same bland speech at every little town hall, as actually taking a clear and honest stance on most issues would just make you meat for your opponents.

    Why would a smart person actually do that to themselves?

  72. France needs to by Anonymous Coward · · Score: 0

    stick to its "Coq Au Vin" and stay out of the Internet!
    As for me I will have a big plate of American Fries ans chili!

  73. Not WW2. Charles de Gualle. by painandgreed · · Score: 1

    I actually haven't run across any evidence of such treatment originating during WW2. I have come across writings from the period talking about how the French were "dirty" or "Ungrateful", and how GIs felt more kinship with the people and culture of Germany than France, but not any insults about being surrenderers. I think that can pretty much can be summed up in three words: Charles de Gaulle. The entire "cheese eating surrender monkeys" is just a cheap shot and did not originate during WW2 as far as I can tell. I happened later after the cold war was underway due to policy set by France and de Gaulle. First, de Gaulle thought that NATO didn't have what it took to win the cold war and the heartless Soviets would win the day, so they withdrew from NATO and went their own way. Two, France was in a big hissy to prove that they were a world power and could do anything the US could while Britain was just a US puppet and only had importance because they rode on the US coattails. They insulted Great Britain a lot, tried to throw their weight around, and did things like unilateral nuclear testing after everybody else had agreed on a ban. All of this after the Allies had freed France and given it back to the people because it was expected that we'd all be friends. It was pretty much felt as a big betrayal, so the surrender remarks are the cheap shot that is easy to make without having to actually get into real issues.

  74. Digital Hindenburg by Un+pobre+guey · · Score: 1

    Oh the Moronity!

  75. Bad for France by Anonymous Coward · · Score: 0

    I wouldn't sign up with any french sites as a result, it becomes too easy to hack my passwords.

    Steve

  76. Not going to happen. by twebb72 · · Score: 1

    They will quickly back pedal when they realize that credit card discount rates will be jacked up to 20% in France to counter the increase in liability that would come with such a move.

  77. Remind me not to sign up with anything in France. by binary+paladin · · Score: 1

    This is why fucking government stooges and politicians shouldn't even be allowed to THINK about law that involves technology. Fucking retards.

  78. Fuque the French... by Anonymous Coward · · Score: 0

    ...and their Gallic arrogance.

  79. Awesome ... by Tjp($)pjT · · Score: 1

    France has mandated that they be extremely easy to hack, and outlawed modern Unix systems... Not to mention all manner of ancillary software designed to secure private data (some of which is used to comply with EU directives!)

    --
    - Tjp

    I am in wallow with my inner money grubbing capitalistic pig. ... Oink!

  80. Re:Where are the politicians with tech knowledge?? by Anonymous Coward · · Score: 0

    I seem to be seeing more and more stories like this, where politicians make incredibly ill-conceived laws due to their ignorance of technical detail.

    I don't know if it is the same in france, but in my country, the parliaments seem to be loaded chock full of former lawyers and accountants, and not much else. This creates a massive blind spot in the outlook of the people governing us.

    Quite frankly, they are not up to the task of designing law for the current age. The issues facing the world currently seem to be overwhelmingly technical and scientific in nature, whether it be internet privacy, net neutrality, or global warming, and the current breed of politicians seem intent on foisting the stupidest solutions available upon us. Most often because they don't understand the possible alternatives.

    Where are the engineers and scientists willing to step up and serve their country politically? We need you.

    You are 100% correct. Where are the engineers? Politicians, lawyers, etc., are clueless about technology and the endless creative possibilities. They're making laws about a universe that's way out of their league.

  81. If I was Ebay by munky99999 · · Score: 1

    if i were ebay say. id comply to keep revenues and store passwords + password history of 1year in reversible encryption like md4; except passwords must be changed weekly and each time password gets changed. it informs the user why they have to do it. Including the names of the politicians involved,

  82. Business opportunity by Fuzzums · · Score: 1

    Use an off-shore tokenserver for authentication.

    --
    Privacy is terrorism.
  83. Re:Where are the politicians with tech knowledge?? by Anonymous Coward · · Score: 0

    In france, most politiciens are Public workers (or, public administrators/high managers/...) they study (most of the time) in the same schools (as journalists). When they need a consult, they go to lobbyists of big industries (where lobbyist don't talk a lot with engineers) or "societies" (associations of a specific profession... namely "artists" in general) but never to technical people. Another problem is they keep being politiciens for most of their life and get cut from "the real world" (even if it means being a video game tester ;) ) There are a few ones like Benjamin Bayart (the one that I know of, but I'm sure there are a lot of people doing the same thing) who keep calling their local senators/MPs (here it's "deputés") but they have to do a lot of work to compete with "corporate" lobbyists who are mostly marketing/finance people.

  84. Yes but what problem is addressed? by niftymitch · · Score: 1

    Yes but what problem is addressed by this law?
    Or is it a regulation by a bureaucrat empowered a law.

    IMO: On the surface it seems to be a knee jerk reaction to
    the twitter fueled/fanned revolution sweeping northern
    Africa and other Muslim countries. This solution however
    has consequences and repercussions that may or may
    not be unintended.

    The one result I see on the surface is that this retained data
    is exactly the data an imposter needs. This in turn weakens
    the ability to hold an individual responsible. For those that
    are conspiracy nuts this is also the data that a rogue agent could
    abuse to insert (or delete) data to promote his cause.

    But hay, we all know that roads, railroads and now regulations
    are two horses asses wide. And we also know that hay becomes.

    --
    Truth is stranger than fiction, but it is because Fiction is obliged to stick to possibilities; Truth isn't. Mark Twain.
  85. Slow encryption is a feature by Anonymous Coward · · Score: 0

    You actually want your password encryption to be slow. Stops things like rainbow tables being made because of the time cost. Doing it for a login, who cares if it takes and extra 1/25th of a second to authenticate, the human won't notice.

  86. Hashed Passwords by Anonymous Coward · · Score: 0

    This is just an excuse to keep a daa bse of who'se been where and done what. It's like wire tapping the phone. They think we're idiots, and, perhaps, we are.

  87. OpenID by jurgemaister · · Score: 1

    This is an excellent example of a situation where outsourcing authentication would be a good idea. Every now and then, a paranoid politician comes up with a clever idea on "how to catch criminals". It's a good thing we have the technology to ignore their absurd requests.

  88. LOL!!! by Anonymous Coward · · Score: 0

    LOLOLOLOLOL!!!! No hashed passwords??? What next, outlawing encryption!?

  89. Very interesting by Anonymous Coward · · Score: 0

    this article makes me very interesting about the user privacy handled in europe and got link from hacker news
    Regard,
    Vijay
    http://www.rupees4gigs.com