Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's interesting is that the PCI standard seems to be unclear in this respect. He quotes from the standard:

  8.4 Render all passwords unreadable during transmission
  and storage on all system components using strong 
  cryptography.
This seems to leave room for passwords to be encrypted instead of hashed. I'd even say it suggests they should be encrypted instead of hashed, by not distinguishing between 'during transmission' and 'during storage'.

At the very least, quoting this isn't going to convince someone that passwords should not be decryptable.



It's not unclear, and you're right. It has to be encrypted on the wire and in storage. This paragraph does not say you must hash, or must not be able to get the plaintext passwords back.


That may be, but even if PCI doesn't require you to have the passwords unrecoverable, I'm pretty sure that transferring all of them in bulk to someone else via email should violate some part of PCI. Even if that person is an auditor. The potential for abuse is too high.


Transferring them in bulk wouldn't technically be against any of the rules. There are provisions that access to bulk data be limited to those that 'need' it. This is obviously ambiguous and up to interpretation of your auditor. In this case, since the auditor is asking for the data, one would assume they see no issue with it.

Typically communication of secure information to the auditor would need to be encrypted so there is little to worry in terms of a mail administrator having access to the list.

Remember, PCI very frequently ignores practical reality and common sense.


Actually, hashed password ARE recoverable, technically. Though it would take a VERY long time to brute force the original passwords.


In theory, there are infinitely many passwords that map to the same hash, so not all passwords are recoverable. In practice most passwords will be recoverable (given enough computing power), because there will only be a single 'reasonable' match (you will probably find only one for passwords of reasonable length).


But would you consider that 'recovery' or 'discovery'. To me, recovering passwords means applying an operation to reverse encryption. Brute-forcing passwords is simply guessing, which makes it a discovery.


The ambiguity lies in the word 'unreadable'. The key phrase is 'unreadable... using strong cryptography'. Can strong cryptography be reversed by decryption, or is strong cryptography a non-reversible hash?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: