Slashdot Mirror


Privacy With a 4096 Bit RSA Key — Offline, On Paper

HavanaF writes "Online backup is practical, but can it offer any privacy? The Dutch security company Safeberg developed an Offline Private Key Protocol, with an asymmetric key scheme. The protocol demands that the private (decryption) key be stored away from the 'source' computer, which presumably is 'too vulnerable.' The catch is that the private key needs to be fairly large to be secure: a 4,096-bit RSA key should suffice for some years. But how to store an 800-character key offline? Safeberg introduces a machine readable paper key, with the 4k-bit key crammed in a giant 2D Datamatrix barcode. This video on key strength tells the story."

27 of 232 comments (clear)

  1. What Happens When ... by WrongSizeGlass · · Score: 4, Funny

    ... you fold the paper your 2D key is on? Tears, that's what. Tears.

    1. Re:What Happens When ... by mpapet · · Score: 5, Informative

      Bar codes printed on media of all kinds are generally quite robust and not error prone. The printing device does not need to be special in any way. The reader does not need to be special in any way. Print the key on acid-free paper using a laser printer and store it for a looong time. I'll leave it up to the slashdot tifosi to declare how long it would last in a bank vault.

      Some nice ways to encode keys and store it as a symbol on paper here: http://www.adams1.com/stack.html

      Symbology is very non-sexy knowledge, but valuable in logistics.

      --
      http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
    2. Re:What Happens When ... by dgatwood · · Score: 5, Informative

      Reading numbers is more error prone. With the bar code, there are presumably lots of check digits and other such loveliness encoded into it.

      As for folding it, what happens? Probably nothing. There are usually CRCs (or similar) and lots of other stuff in those 2D bar codes. This particular scheme, Data Matrix, is apparently highly redundant, allowing full recovery of the data even if (up to) 30% of the bar code is destroyed.

      http://www.tlashford.com/TLA/pages/Basic_sym/Symbol_overview.htm#DATAMATRIX
      http://en.wikipedia.org/wiki/Data_matrix_(computer)

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    3. Re:What Happens When ... by kill-1 · · Score: 3, Informative

      The paper key seems to contain 4x4 x 22x22 = 7744 bits. So can't tear it in half but almost.

    4. Re:What Happens When ... by maxwell+demon · · Score: 4, Insightful

      Reading numbers is more error prone. With the bar code, there are presumably lots of check digits and other such loveliness encoded into it.

      There's no reason you cannot insert check digits into the number as well.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    5. Re:What Happens When ... by GaryOlson · · Score: 3, Insightful

      ...paper is just silly. It is less "safe" (as opposed to secure) than a USB key...

      Paper has hundreds of years of technology development behind it; what is the oldest USB key you have? Technology easily and readily exists to store quality archive paper nearly indefinitely in temperature/light/humidity controlled environments.

      I might even guestimate bar code technology will disappear long before a properly created and stored paper archive.

      --
      Every mans' island needs an ocean; choose your ocean carefully.
    6. Re:What Happens When ... by Yvan256 · · Score: 4, Funny

      you can recover the data from the entropy in the universe.

      I tried do to that and all I got was "42".

  2. Another plausible scenario I have to watch out for by Merc248 · · Score: 3, Funny

    Guy holding knife and laxatives: "Poop the paper! Poop it now!"

    --
    "Hegelians, who love a synthesis, will probably conclude that he wears a wig." - Bertrand Russell
  3. key exchange by akirapill · · Score: 3, Funny

    I'll fax you a xerox of my public key. Is analog the new steam punk?

  4. How is this any more secure by Monkeedude1212 · · Score: 3, Insightful

    Than a 4096 Bit RSA Key that is stored on a standalone computer?

    1. Re:How is this any more secure by DragonWriter · · Score: 4, Informative

      Than a 4096 Bit RSA Key that is stored on a standalone computer?

      If you use the standalone computer for anything but storing the key, or fail to physically secure the standalone computer from access (separate to any physical security on any computer on which data resides that is secured with the key) it is obviously more secure to keep the key on paper, physically secured in something that isn't opened except to access the key.

      If you don't use the standalone computer for anything else, and have it separately physically secured, then for any reasonable use of the word "computer", it will probably be equally secure, and vastly less expensive to separately secure the key on paper, instead.

      Perhaps the more relevant comparison is separately securing paper vs. separately securing long-term electronic storage media. The sheet of paper will probably be cheaper in any case (though the price difference drops if you are using inexpensive electronic storage media rather than a dedicate computer), and will likely be more likely to be practically usable to access data a longer time into the future. Though in this case, a key factor is making sure the paper has the key in a human-readable form as well as a machine-readable form, since long-term availability of tools to read any particular machine-readable format is an issue. If you use text in an OCR-friendly font, the human readable format and the machine readable format can be the same.

  5. no thanks my Hard drive is too big by Spy+Handler · · Score: 3, Insightful

    Online backup is practical

    not for my 1.5 terabyte HDD which is about half full.

    Right now backing up from hard drive to hard drive takes forever (hours). How the fuck am I gonna back up to a remote server over the internet at 60 kbytes/sec?

    1. Re:no thanks my Hard drive is too big by toastar · · Score: 3, Funny

      How the fuck am I gonna back up to a remote server over the internet at 60 kbytes/sec?

      you can get about 17 MBytes/Sec with a 1.5TB through USPS

  6. Don't use datamatrix by GigsVT · · Score: 4, Informative

    Datamatrix is the Gif of the barcode world. It has a bunch of patents covering it.

    PDF417 does mostly the same thing, can be read with a laser (instead of an imager) and was designed to be open source and patent free from the beginning.

    --
    I've had enough abrasive sigs. Kittens are cute and fuzzy.
    1. Re:Don't use datamatrix by Kostya · · Score: 3, Interesting

      The wikipedia article on DataMatrix (http://en.wikipedia.org/wiki/Data_Matrix#Patent_issues) seems to imply it is unencumbered--perhaps I'm misunderstanding something?

      Prior to the expiration of U.S. Patent 5,612,524, intellectual property company Acacia Technologies claimed that Data Matrix was partially covered by its contents. As the patent owner, Acacia allegedly contacted Data Matrix users demanding license fees related to the patent.

      Cognex Corporation, a large manufacturer of 2D barcode devices, filed a declaratory judgment complaint on March 13, 2006 after receiving information that Acacia had contacted its customers demanding licensing fees. On May 19, 2008 Judge Joan N. Ericksen of the U.S. District Court in Minnesota ruled in favor of Cognex. The ruling held that the '524 patent, which claimed to cover a system for capturing and reading 2D symbology codes, is both invalid and unenforceable due to inequitable conduct by the defendants during the procurement of the patent.

      Notably, since the '524 patent expired in November 2007, a ruling against Cognex wouldn't have affected current use of Data Matrix anyway. However, it would have established that use of Data Matrix prior to November 2007 could potentially be covered by the '524 patent.

      --
      "Doubt your doubts and believe your beliefs." -- Switchfoot, Ode to Chin
    2. Re:Don't use datamatrix by dangermonkeyboy · · Score: 5, Informative

      No offense, but this information is wrong. Data Matrix is completely unencumbered by patents. For one thing, it was released into the public domain by its inventor, and for another it's so old that even if there had been patents they would have expired by now.

      There was one "IP" company that made some noise in 2006-2007 claiming to cover some of the underlying technology in their patent portfolio, but they were handed their hats in court. I followed the issue very closely, even stopping distribution of my Data Matrix open source project for a while, pending this outcome. But rest assured that Data Matrix is unencumbered by patents and safe to use in your projects.

  7. Re:First Po.. by gadget+junkie · · Score: 3, Insightful

    Hang on! let me get my giant barcode out of my pocket!

    that reminds me of Robin Williams doing his Adam and Eve sketch....."Stand back honey, I do not know how big this can get!!"

    --
    "If a boss demands loyalty, give him integrity. But if he demands integrity, give him loyalty." (John Boyd, 1927-1997)
  8. Re:Another plausible scenario I have to watch out by Merc248 · · Score: 5, Funny

    "Defecate thy papyrus!"

    --
    "Hegelians, who love a synthesis, will probably conclude that he wears a wig." - Bertrand Russell
  9. And this is practical, how? by he-sk · · Score: 3, Insightful

    Do people actually use the systems they produce and sell?

    --
    Free Manning, jail Obama.
    1. Re:And this is practical, how? by Arthur+Grumbine · · Score: 3, Funny

      Safeberg also announced that their official position is that "dog food tastes terrible".

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
  10. Re:How much added security? by owlstead · · Score: 3, Informative

    Yes, whenever you use a key it becomes more vulnerable. This only adds security to the storage, not the use. It's amazing how many times this kind of thing is forgotten, e.g. when using an ultra-secure USB device on a computer with zero protection. It becomes even more "interesting" when you have to use the key in an automated system - obviously this design is not meant for continuous use :).

  11. Ummmm.... by jemenake · · Score: 3, Interesting

    I'm not sure I grok this notion of not storing the key with the source machine. I mean... if I can get to the machine you backed up... I don't really need to get to the backup, do I? I've got fresher data right there in front of me.

    Now, if you're really trying to protect some kind of historical record of how your data has progressed over time, then that would be a reason why access to the source computer still didn't get the intruder access to what you're trying to protect... but that's a very special case.

    Dunno. Maybe I'm just missing the point.

  12. Idiotic by evilviper · · Score: 3, Funny

    This makes absolutely no sense. Smart cards have been around for many years now. There, you NEVER give ANYONE or anything access to your private key. Challenge-response, one-time-passwords, tokens, etc, etc. Putting it on paper is LESS SECURE than sticking it on a thunb drive. Then at least it can't be stolen by taking a picture...

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  13. paperkey and libdmtx by c_g_hills · · Score: 3, Informative

    See http://www.mail-archive.com/gnupg-users@gnupg.org/msg10827.html.

    The original paperkey software takes out the redundant key material for a smaller amount of data. You can restore the original key by combining the output with the public key.

    To encode:

    gpg --export-secret-key (thekey) | paperkey --output-type raw | dmtxwrite -e8 -f pdf > my_pdf_file.pdf

    You can pass pdf, eps, svg, etc, to the -f option. Use 'dmtxwrite -l' to get a list of all supported image formats.

    To decode:

    dmtxread -N1 my_pdf_file.pdf | paperkey --pubring ~/.gnupg/pubring.gpg > my_new_secret_key.gpg

  14. I'll save you some money by dangermonkeyboy · · Score: 4, Informative

    $ gpg --export | dmtxwrite --encoding=8 --format=PNG | lp

    To be honest, I thought trusted paper keys were already common knowledge among geeks:

    http://en.wikipedia.org/wiki/Trusted_paper_key

  15. Re:In 2006, a guy recited Pi to 100000 places... by Sir_Lewk · · Score: 3, Informative

    Problem is, this is an RSA key, it can't just be any random string of bits, it has to be two very large prime numbers. Users won't be chosing a 4096bit key, it will be generated for them.

    --
    "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  16. Re:Another plausible scenario I have to watch out by Red+Flayer · · Score: 3, Interesting

    I like a little alliteration in my catchphrases. How about:

    Void thine vellum!
    Oust thine onion skin!

    And that's about all I can come up with.

    Except maybe "Shit the sheet", but that doesn't sound as nice.

    --
    "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai