Slashdot Mirror


Tomb, a Successor To TrueCrypt For Linux Geeks

jaromil writes: Last day we released Tomb version 2.1 with improvements to stability, documentation and translations. Tomb is just a ZSh script wrapping around cryptsetup, gpg and other tools to facilitate the creation and management of LUKS encrypted volumes with features like key separation, steganography, off-line search, QRcode paper backups etc. In designing Tomb we struggle for minimalism and readability, convinced that the increasing complexity of personal technology is the root of many vulnerabilities the world is witnessing today — and this approach turns out to be very successful, judging from the wide adoption, appreciation and contributions our project has received especially after the demise of TrueCrypt.

As maintainer of the software I wonder what Slashdot readers think about what we are doing, how we are doing it and more in general about the need for simplicity in secure systems, a debate I perceive as transversal to many other GNU/Linux/BSD projects and their evolution. Given the increasing responsibility in maintaining such a software, considering the human-interface side of things is an easy to reach surface of attack, I can certainly use some advice and criticism.

114 comments

  1. NSA? by Anonymous Coward · · Score: 0

    Need I say more?

    1. Re: NSA? by Runaway1956 · · Score: 1, Offtopic

      Replace the word "republicans" with "ruling class" and you'll be closer to the truth. Why do you think the Demoplicans are any different than the Republicrats?

      --
      "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
    2. Re:NSA? by Demonoid-Penguin · · Score: 3, Interesting

      Need I say more?

      Can't rule that out about anything. In this case you're talking about the guy (Denis Roio) with dyne:bolic under his belt - and the "non-profit" behind it and his "campaign" to fork Debian. A self-described "researcher in philosophy of technology and software artisan". He's done at least one TED talk (I can't be bothered looking for the link).

      The Tomb project is interesting and I've been following it for a while - the main thing that differentiates it from other LUKS-made-simple tools is the addition of steganography capabilities.

      Despite his numerous, um, eccentricities and involvement in the rabid and vitriolic campaign against systemd, it's the code that counts. In this case it's just wrappers around dm-crypt, dm-setup and LUKS designed to make LUKS easier for people who find it difficult - and to add a few other features. Like anything else that is meant to be trusted to the same degree it should be independently audited.

      Note: there are plenty of reasonable objections to systemd. Those that hold them don't demand no-one else should be able to use systemd, raise money unaccountably so a handful(?) of anonymous self-described "Unix gurus" can "fork Debian" (yeah - and I'm going to build a moon mission in my basement). Or use threats/trolling/FUD.That would be more like an NSA style campaign to divide the Linux community and keep their existing init flaw backdoors in place on hard-to-get-to systems.

      Cue the usual sock-puppet forum flooding and disinformation [sigh]

    3. Re: NSA? by Anonymous Coward · · Score: 0

      Need i say Aore

      Fixed that for you.

    4. Re: NSA? by Anonymous Coward · · Score: 0

      whoosh

    5. Re: NSA? by Anonymous Coward · · Score: 0

      You sound like a Libertarian; which is just a Republican by a different label.

    6. Re: NSA? by Anonymous Coward · · Score: 0

      I share GP's belief and I am assuredly not a libertarian. Only weak minds need to stuff everyone into predefined boxes.

    7. Re: NSA? by Runaway1956 · · Score: 2

      "You sound like"

      Want the truth? I don't fit into any of the labeled boxes. I'm most comfortable with the libertarian label - but I don't agree with all their shit either.

      Why don't you take a good, hard look at the two party system? The two are in collusion to prevent any other party from gaining any power. Look at federal funding. The D's and the R's agreed to split all of the money that the fed has available for elections. They gave a little lip service to the concept of democracy, by saying IF any other party gained x% of the vote, THEN that party could gain funding from the fed. And, all the while, the two parties continue to split all the fed's money on campaigns designed to ensure that no third party ever gets x% of the vote.

      And, that is one of the Libertarian party's beefs, as well as one of their goals. They are closing in on x. Each and every election cycle, they gain a point.

      Watch carefully now - the D's and the R's are about due to move the goalposts. Instead of x% it's going to be changed to 5x% or more.

      And - no, a Libertarian is not a Republican. The two share SOME ideas, beliefs, and opinions - but Libertarians have far more in common with liberalism than they do with conservatism.

      --
      "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
    8. Re:NSA? by Anonymous Coward · · Score: 0

      Would you list the "init 'flaw' backdoors" that you claim to know about? Would you explain why you suddenly speak about a debian fork in a discussion about an encryption software? And why do you seem to defend the indefensible systemd?

      You must have had some sort of personal problems with the people that you mention. NEWSFLASH: nobody gives a fuck about that. Your post is pure off-topic trolling.

    9. Re:NSA? by Anonymous Coward · · Score: 0

      "Those that hold them don't demand no-one else should be able to use systemd"

      I don't want or need systemd and you are correct in that I don't think nobody else should be able to run it. However, as a long time Debian user with too many installs to count, I would like to ask why my reasonableness isn't reciprocated. In particular, why am I no longer able to use Debian and not use systemd?

      It seems fairly clear that while, as you said, reasonable people like to decide to use systemd or not and leave that decision to others. Can we please have the same courtesy extended?

      I look forward to Devuan so that I can once again install updates without having to watch the list for something else trying to pull in systemd.

    10. Re: NSA? by Rob+Y. · · Score: 1

      Because Republicans on the Supreme Court are consistently voting to make the situation worse. Prior to Citizens United, it was possible to at least attempt to address the corruption of the system via the elected legislature (or at least throw the bums out if they won't address it). Now, we apparently have to ammend the Constitution to remove a ridiculous manufactured equivalency between corporate bribery and free speech. It's silly to pretend that that's not the result of a significant difference between Republicans and Democrats. And the reason Republicans did it is that they think political money favors them - nothing more, nothing less. So, there's that difference too.

      --
      Posted from my Android phone. Oh, I can change this? There, that's better...
    11. Re: NSA? by Runaway1956 · · Score: 1

      And - your cherished democrats are somehow different? Presumably because they routinely vote on matters in ways which you approve?

      And, what about Joe Mainstream? BOTH sides of the court just fuck him over.

      --
      "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
    12. Re: NSA? by Anonymous Coward · · Score: 0

      Like it or not, when your party put Ron Paul, who is a Republican and at the time had the most conservative voting record since WWII, on the ballot, they became the right wing of the Republican party.

      Same shit, different label.

    13. Re: NSA? by Runaway1956 · · Score: 1

      And, you use the word "conservative" like it's a "bad thing". Apparently, you're one of those divisive liberals, who only sees evil in conservatism, and you want free reign to rebuild the world in some socialistic image.

      Sadly - communism doesn't have one single success story to point to. And, we should trust the liberals? They want to take a failed system, and impose it on the United States.

      Fuck that - we can fail on our own, and in our own fashion. To hell with modern day American liberalism.

      --
      "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
    14. Re: NSA? by Bugamn · · Score: 1

      Why do some people always act as if the only options are conservatism and communism? Neither seem to be working, so we can start thinking about alternatives.

    15. Re: NSA? by Runaway1956 · · Score: 1

      Agreed. How do you propose that we convince the majority of Americans to agree? I've often said that I'm willing to vote for people of all parties. I'm even willing to see a member of the Communist Party in congress, if it breaks the grip of the two parties who share a chokehold on the US. It was ONE OF the things that made Obama look good, when he crawled out of the woodwork - he APPEARED to be more independent than other candidates.

      We need some Libertarians in Washington, along with some Green/Conservative party members, a Worker's or Labor party - in short, we need to borrow from Parliamentary governments. I don't believe that there is another nation on earth that would continue to elect Republicans or Democrats when they continue to relentlessly rape the people.

      --
      "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
    16. Re: NSA? by Bugamn · · Score: 1

      I don't know how to convince the majority of the Americans of anything, but I think that maybe the discourse needs to be changed. I see anything that doesn't fit the Democratic/Republican mold being labeled as extremism, and I guess that doesn't help adoption.

  2. Never heard of it by waspleg · · Score: 3, Interesting

    to be honest, and I've been recently reading a lot about potential TrueCrypt replacements. Of course I was looking for FDE mostly, not just a few files.

    1. Re: Never heard of it by corychristison · · Score: 1

      Literally the first few words say they released it yesterday.

    2. Re: Never heard of it by NotInHere · · Score: 1

      Do you call the first version of your software "2.1"?

    3. Re: Never heard of it by Demonoid-Penguin · · Score: 1

      Literally the first few words say they released it yesterday.

      The project has been around for some years [looks through his records]. The oldest entry reference I have is to a post in a wishlist bug report dated 31 Jan 2011. Tomb was at 0.9.0 then. (I never did work out what Jaromil actually wanted - advertising?)

    4. Re: Never heard of it by Anonymous Coward · · Score: 0

      Thank you very much for that worthless comment Mr Dumbass!

    5. Re:Never heard of it by mlts · · Score: 2

      The stego capabilities of Tomb are interesting. The print to QR code for backups for keys is also much appreciated.

      For me, what is important in a TrueCrypt replacement is cross-platform compatibility. I could create a TC volume on a NAS with a Windows box, mount and toss some files into it with my Linux machine, then mount it on a Mac (obviously, not having multiple machines mounting it at the same time) for more items. VeraCrypt has kept this, and has added the ability to use TC volumes under W8.1, a long needed feature (well, if you want to actually see more than a permissions denied error, that is.)

      I do think it is interesting how Tomb allows one to hide a key within pictures.

      Of course, what would be nice for a unique encryption program would be something along the lines of PhonebookFS. Based on EncFS, it allows one to use multiple keys to mount a directory, each key showing a different group of files (called layers). In that directory are random, "chaff" files, just to keep people from guessing the contents of the directory by file sizes. The advantage of this system is that plausible deniability is always present.

      I do applaud anyone who takes the "cypherpunks write code" motto to heart and actually writes something to benefit the community.

    6. Re: Never heard of it by Opportunist · · Score: 3, Funny

      I sure would. Who in their sane mind would buy a 1.0 version?

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    7. Re: Never heard of it by bondsbw · · Score: 1

      It's funny... that is the exact version number of my project where I work, which is a new system under development for about 5 years now. It's been that number the entire time.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    8. Re: Never heard of it by i.r.id10t · · Score: 1

      Same reasoning Porsche Engineering started their projects with #9 - hence the 356 was really project number 347, and the 911 - originally badged as 901 until a trademark lawsuit - is really project 882.

      --
      Don't blame me, I voted for Kodos
    9. Re: Never heard of it by Anonymous Coward · · Score: 0

      A real truecrypt replacement would have to be for Windows. But why replace truecrypt?

    10. Re: Never heard of it by Anonymous Coward · · Score: 0

      Thank you very much for that worthless comment Mr Dumbass!

      You win today's irony award.

    11. Re: Never heard of it by behrooz0az · · Score: 1

      They just couldn't reset the auto increment column, You insensitive clod.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion. -- Spazmania (174582)
    12. Re: Never heard of it by thegarbz · · Score: 1

      I sure would. Who in their sane mind would buy a 1.0 version?

      I tried getting a version 1.0 product one day, but they were up to version 25 before the download finished.

  3. Can you try to get into debian? by NotInHere · · Score: 1

    From your website, I see that "make install" only installs two files, the executable and the manpage, but I prefer keeping my $PATH mostly filled with applications I can update with my package manager.

    1. Re:Can you try to get into debian? by Anonymous Coward · · Score: 0

      From your website, I see that "make install" only installs two files, the executable and the manpage, but I prefer keeping my $PATH mostly filled with applications I can update with my package manager.

      Assuming you use Debian or some derivative, you should consider using checkinstall, then. It tracks the install and then creates a .deb out of it that can be handled with the package manager for easy cleanup if you later uninstall.

    2. Re:Can you try to get into debian? by jaromil · · Score: 1

      Tried in RFP 611660, did not went well so far https://bugs.debian.org/cgi-bi...
      Here is a debian/ packaging setup ready for Tomb, contributed by maintainers of the Freepto distro https://github.com/AvANa-BBS/T...
      Arch has a package since long already.

  4. Great name, very OSS! by Anonymous Coward · · Score: 0

    Never head of it. Probably won't ever again!

  5. Just for Linux? by Anonymous Coward · · Score: 0

    I prefer Veracrypt, that is as easy as Truecrypt was.

  6. Why replace it? by ArchieBunker · · Score: 1

    We know the last build of TrueCrypt is secure. Why replace it?

    --
    Only the State obtains its revenue by coercion. - Murray Rothbard
    1. Re:Why replace it? by Anonymous Coward · · Score: 0

      I didn't even know TrueCrypt was no more.... will go google for what happened :-/

    2. Re:Why replace it? by fustakrakich · · Score: 0

      We know nothing of the sort! We do not know who to trust. For all practical purposes there can be none. Everything is up for grabs. All bets are off. Yous takes your chances..

      --
      “He’s not deformed, he’s just drunk!”
    3. Re:Why replace it? by Runaway1956 · · Score: 2

      We know that the developers were pretty sure that the last version of TrueCrypt was still secure. You cannot ever know for certain that a software is really secure. You may convince yourself that it is, or that it isn't, but you never know what the other side has done, or is doing.

      The ONLY thing you really know for certain about TrueCrypt, is that the developers felt that their product was being compromised, so they let the world know of their suspicions.

      --
      "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
    4. Re:Why replace it? by Anonymous Coward · · Score: 0

      You cannot ever know for certain that a software is really secure.

      Exactly! So let's immediately switch away from it, to something else we don't know is secure or not.

    5. Re:Why replace it? by mrchaotica · · Score: 2

      We know that the developers were pretty sure that the last [real] version [i.e., 7.1a] of TrueCrypt was still secure.

      We know the auditors also think 7.1a is secure.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    6. Re:Why replace it? by Opportunist · · Score: 1

      What we know is the auditors were allowed to say that it's secure.

      10 years ago I'd have ridiculed someone concerning his tinfoil hat for such a comment...

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    7. Re:Why replace it? by bondsbw · · Score: 1

      You can never truly know if something is secure. You can only know that it is insecure, once it is proven as such.

      --
      All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
    8. Re:Why replace it? by Lisandro · · Score: 1

      We know that the developers were pretty sure that the last version of TrueCrypt was still secure.

      The last version of TrueCrypt passed a public security audit with flying colors.

    9. Re:Why replace it? by Trax3001BBS · · Score: 1

      We know the last build of TrueCrypt is secure. Why replace it?

      This article is the first I'd heard of the demise of TrueCrypt. Then article goes on to talk of simplicity.

      Not using Linux (games) simplicity to me is to continue using TrueCrypt, even Linux users will need to convert.

      I wish them luck in this endeavor though.

    10. Re:Why replace it? by Anonymous Coward · · Score: 0

      This is one of the things I like with old computers. You don't have to wait for a new version of a software, hoping that bugs are fixed.
      Not only do you have the latest version, you have the last version. The bugs are known, they will not be fixed. Live with it or use another program.
      Everything is as stable as it can be.

    11. Re:Why replace it? by Anonymous Coward · · Score: 0

      Did you audit the Windows kernel too, to see if Microsoft patched in behaviour that, when it detects the TrueCrypt binary running, keylogs and stores the passphrase to a secret unused NTFS block? Or streams it back a few bits at a time via stegongraphic Windows Update requests? No?

      Then stop assuming the most recent version is secure.

    12. Re:Why replace it? by Runaway1956 · · Score: 1

      I stopped "auditing" the WIndows kernel long ago. I'm much more concerned about the Linux kernel.

      --
      "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
    13. Re:Why replace it? by ArchieBunker · · Score: 1

      That would be discovered in seconds. Neckbeards look for this constantly. They want to be the first person to proclaim "I told you so!"

      --
      Only the State obtains its revenue by coercion. - Murray Rothbard
    14. Re:Why replace it? by Damarkus13 · · Score: 1

      If this is truly a legitimate concern of yours, how can you use any computer (unless you etched the silicon yourself) without collapsing into a quivering mass of paranoia?

    15. Re:Why replace it? by Anonymous Coward · · Score: 0

      I don't use windows, why would I care about auditing it?

  7. Entropy warnings by Anonymous Coward · · Score: 0

    One thing that always worries me is a poor or predictable source of entropy...so much so that I don't even trust /dev/random. Does Tomb have any way to detect that a weak or predictable seed has been used? If not, are there plans to add a warning or such other preventative measures?

    Also, are you taking steps to prevent an insider threat such as the whole NIST debacle?

    1. Re:Entropy warnings by guruevi · · Score: 1

      How do you even test your source of entropy reliably? Sure you can do some statistical analysis, but if you don't even trust /dev/random, what do you trust? A chip would be less reliable IMHO than either using the kernel seeding /dev/random (at least you have control over the code) or a HAVEGE type algorithm (prediction at that level requires insane amounts of resources)

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    2. Re:Entropy warnings by Demonoid-Penguin · · Score: 1

      How do you even test your source of entropy reliably? Sure you can do some statistical analysis, but if you don't even trust /dev/random, what do you trust? A chip would be less reliable IMHO than either using the kernel seeding /dev/random (at least you have control over the code) or a HAVEGE type algorithm (prediction at that level requires insane amounts of resources)

      If you trust /dev/random you're off to the wrong start (and living in the past) - especially as far as credibility goes. Use /dev/urandom. Given that you only need 256 bits of entropy to get computationally secure numbers for a long, long time - the "how do you test entropy reliably" is a straw man.

      There are some case where it's better to use /dev/random. This is not one of them.

      Fun facts - dm-crypt uses /dev/urandom, VeraCrypt uses /dev/random and /dev/urandom (on Linux and Mac)

    3. Re:Entropy warnings by guruevi · · Score: 1

      /dev/urandom will not wait (block) for sufficient entropy and thus is (theoretically) more vulnerable to attacks than using /dev/random. You should ALWAYS use /dev/random if you are worried (paranoid) about the cryptographic strength of your result.

      I was talking about seeding your randomness and how to test entropy is definitely a necessity. If you sneak in some vulnerability, most likely you'll want to be able to predict the random numbers generated at certain points in time but still make it look like you have sufficient randomness for people that are not in the know. How do you test against that?

      Why does the OP not trust /dev/random? If you're using a hardware device (eg. Intel processors or another dedicated chip), there is a greater chance it was compromised by US/Chinese intelligence than whatever kernel algorithm which you can check the source code for.

      The OP stated that /dev/random cannot be trusted, if you don't trust open, tested code which you can compile yourself, what do you trust? If you're building it yourself, you're doing it wrong.

      --
      Custom electronics and digital signage for your business: www.evcircuits.com
    4. Re:Entropy warnings by Demonoid-Penguin · · Score: 1

      You'd like proof of entropy in a /. post? What next - pi demonstrated to 10000 places in a Twitter post? Instant education you can sprinkle on your breakfast and some else to feed it to you?

      /dev/urandom will not wait (block) for sufficient entropy and thus is (theoretically) more vulnerable to attacks than using /dev/random. You should ALWAYS use /dev/random if you are worried (paranoid) about the cryptographic strength of your result.

      Yes /dev/random blocks. It gives out exactly as much randomness as it has entropy in its pool. But that's not always a good thing - which is why cryptography is not intuitive - it's also why cryptographers e.g. Bruce Schneier, choose /dev/urandom as the preferred source of cryptographic randomness on UNIX-like systems.. Rather than selectively picking from what I wrote to support pre-invested emotional belief - try reading it in context. (there are situations when /dev/random is the best choice).

      "sufficient" entropy is the stumbling block. How does /dev/random determine what's sufficient entropy? Note: that I've already pointed out that 256 bits is a secure level of entropy, and don't make the mistake of trying to keep a complex subject so simple it becomes stupid.

      There is no entropy counting going on there, it's estimation. The amount of entropy some source is giving you isn't something obvious that you just get, along with the data. It has to be estimated. When the estimate is too optimistic, the property of /dev/random you have invested so much in, that it's only giving out as many random numbers as available entropy allows, is gone. It's hard to estimate the amount of entropy.
      If /dev/urandom doesn't have enough available entropy it injects entropy - “low quality random” numbers from a pseudorandom number generator (a cryptographically secure one) that is running alongside the rest of the random number machinery. This CSPRNG (both /dev/random and /dev/urandom use the same CSPRING) is just seeded once (except when it's not) with “true randomness” from the randomness pool. Perfection is the enemy of good. 256 bits is enough..

      tl;dr You are right, all cryptographers are wrong. As I've already pointed out /dev/urandom is the preferred choice of leading cryptographers.

      I was talking about seeding your randomness and how to test entropy is definitely a necessity.

      Care to put that in a context? A time frame for your test would be a good start - some of us, like the processes that use entropy, do have time constraints. Be sure and allow for realistic limitations and biases - like the system timing signals.

      If you sneak in some vulnerability,

      That's a big if. (try kippers - so much more substance than red herrings) There is always a big if - in everything. It's the same uncertainty that paralyses obsessive compulsives.

      most likely you'll want to be able to predict the random numbers generated at certain points in time but still make it look like you have sufficient randomness for people that are not in the know. How do you test against that?

      It's a major concern only if: you take the first part of the sophism, a theoretical uncertainty and conflate it with a fact; believe it is possible to prove entropy (which it isn't), in a flawed system with a single biasing clock; and then tack on the broken logic of how do you prove the complex to the ignorant (people who are not in the know). You've married a straw man to a red herring and both of them live in a castle in the clouds. It should be no surprise all their off-spring are red-headed step-children.

  8. VeraCrypt by Sigma+7 · · Score: 5, Informative

    The successor for TrueCrypt is VeraCrypt, as it is a direct fork.

    Also, a "linux geek" would have already have taken dm-crypt as an alternative, or performed the instructions in some Full Disk Encryption Howto.

    1. Re:VeraCrypt by Anonymous Coward · · Score: 0

      DiskCryptor is the actual solution for WIndows. On Linux just use cryptsetup/luks.

    2. Re:VeraCrypt by mrchaotica · · Score: 1

      Also, a "linux geek" would have already have taken dm-crypt as an alternative, or performed the instructions in some Full Disk Encryption Howto.

      Isn't it built into the installer nowadays? I installed Debian recently and it offered to encrypt my system, but maybe it skipped the partition that holds /bin and whatnot...

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    3. Re:VeraCrypt by Anonymous Coward · · Score: 3, Informative

      You can encrypt everything but bootloader + kernel + initramfs using a typical good distro installer (including Debian's latest).

      You can encrypt even that, if you use a bootloader capable of decription, but the bootloader will remain unencrypted.

      You can encrypt everything if you use a storage device capable of DRM+crypto, TCG style. But you cannot trust that kind of crap to even operate correctly, let alone implement the crypto (and everything else!) correctly and safely.

      So, usually, one tries to use secure platform mode to attest up to the bootloader and its config, and encrypt-and-authenticate (luks can do this) everything else.

    4. Re:VeraCrypt by mlts · · Score: 4, Informative

      There were two forks coming from TC. CipherShed was another, but it hasn't been updated since pre-alpha, so it is probably good to pronounce it dead, so VeraCrypt is arguably the successor for TrueCrypt as of now.

      If I were only worrying about Linux, I'd either use LUKS or perhaps a filesystem based encryption process like EncFS. EncFS doesn't provide as much protection (it does let an attacker know file sizes in a directory), but it is definitely a lot more flexible, and the encrypted files can be backed up and restored with ease.

  9. The real replacements by Anonymous Coward · · Score: 0

    Instead of True Crypt, OO programmers use One crypt, and C programmers use Zero Crypt.

  10. Yes, I did, but this looks handy by Kludge · · Score: 1

    As a "linux geek" my drives and files are encrypted using dm-crypt, gpg, etc. However, this script looks like it would be useful for making transferable encrypted archives. How handy.
    I do not know what "TrueCrypt" or "VeraCrypt" are. I have never seen them in any repository.

  11. Don't try to piggyback on TrueCrypts popularity by perpenso · · Score: 5, Insightful

    If its Linux only don't present it as a successor to TrueCrypt. A very important feature of TrueCrypt is(was) that it targets Linux, Mac OS X and MS Windows. Any archive being available to any of the three platforms.

    The successor to TrueCrypt will most likely be something derived from the audited TrueCrypt source code. You just won't compare favorably given the single supported platform. You are just going to create a reputation of being one of the lessor choices, which may be entirely unfair.

    Don't handicap yourself. Promote your software on its own merits, don't try to piggyback on TrueCrypts popularity, such a strategy will likely backfire.

    1. Re:Don't try to piggyback on TrueCrypts popularity by ncc74656 · · Score: 4, Informative

      If its Linux only don't present it as a successor to TrueCrypt. A very important feature of TrueCrypt is(was) that it targets Linux, Mac OS X and MS Windows. Any archive being available to any of the three platforms.

      I don't know about Mac support, but if Tomb is just a wrapper around LUKS, the volumes it creates should be accessible on Windows as long as you use a filesystem Windows knows about. Ext2IFS doesn't work on anything newer than Windows Vista, so you're most likely looking at FAT32, exFAT, or NTFS if you want your LUKS volume to be portable.

      Assuming a suitable LUKS volume, you can mount it on Windows with LibreCrypt, which is the successor to FreeOTFE (by way of DoxBox). My work machine still has FreeOTFE on it, but I just installed LibreCrypt on Windows 10 at home and the encrypted volume on my flashstick mounted right up.

      --
      20 January 2017: the End of an Error.
    2. Re:Don't try to piggyback on TrueCrypts popularity by Trax3001BBS · · Score: 1

      Don't handicap yourself. Promote your software on its own merits, don't try to piggyback on TrueCrypts popularity, such a strategy will likely backfire.

      Fer sure. They are just showing those that don't know that there is a widely used and proven encryption program already out, by bringing it up.

      Being a Linux only program and specific versions at that do limit it's usage and spread significantly, to the point of slow obscurity.

    3. Re:Don't try to piggyback on TrueCrypts popularity by jaromil · · Score: 1

      Good point on LibreCrypt, it is on my radar already, good candidate for people who won't use any command-line or script.
      We have an issue open to support Tomb volumes, fairly easy to implement https://github.com/t-d-k/Libre...

    4. Re:Don't try to piggyback on TrueCrypts popularity by Anonymous Coward · · Score: 0

      Exactly. I refuse to use software that is not multiplatform, and I encourage everyone else to do the same. Otherwise the artificial barriers will never be broken down.

  12. why? by Anonymous Coward · · Score: 1

    Why would I want to use this over just using dm-crypt on a LUKS container directly? One less layer of things to go wrong that way. One less layer of obfuscation.

  13. "Tomb"? by Futurepower(R) · · Score: 0

    The name "Tomb" is self-defeating. The name implies that the software is already dead.

    1. Re:"Tomb"? by Demonoid-Penguin · · Score: 1

      The name "Tomb" is self-defeating. The name implies that the software is already dead.

      Agreed. If marketing is important.

      Vault is already used by many projects. I'd suggest ForNix - but then I do have a black sense of humour (it's latin for vault, also brothel). AbSis? another latin word with double meanings and a likelihood that it'd become the butt of jokes . CryptoPorticus? Cautus is good, but there's a possibility that if it ever failed he'd never shake the "CaughtUs" meme that would result - besides, it's a business name.

    2. Re:"Tomb"? by Anonymous Coward · · Score: 0

      If you make a ForNix product, please start at version 8!

  14. Minimalism and Simplicity = Good! by Art3x · · Score: 2

    Without reading anything besides your summary, it sounds like you're on the right track. "Minimalism" and "simplicity," judiciously applied, usually leads to a good result. As Albert Einstein said, "Everything should be as simple as possible, but not simpler."

  15. True crypt by Anonymous Coward · · Score: 0

    Why be using a new system? True Crypt is being a perfectly good system for encryption. I only use the same.

  16. You asked for advice and criticism by 93+Escort+Wagon · · Score: 1

    So far there seems to be a lot of the latter, but not so much of the former.

    While I don't use your software, I do appreciate the fact that you're working on it - and I like the philosophical focus on simplicity.

    --
    #DeleteChrome
  17. jupiter broadcasting by Anonymous Coward · · Score: 0

    I hate those guys.

    They paint geeks/nerds/linux users with a retard, all-day-on-drugs, stereotype, and not all of us are like that.

    1. Re:jupiter broadcasting by Anonymous Coward · · Score: 0

      I hate those guys.

      They paint geeks/nerds/linux users with a retard, all-day-on-drugs, stereotype, and not all of us are like that.

      Then why are you posting here?

  18. Does encryption really matter to the NSA? by Cafe+Alpha · · Score: 2

    At this point they can watch every phone call we make, watch where we walk every minute of the day, watch what websites we go to, read our email.

    They can no doubt get in back doors on our computers any time.

    Why should they care if we encrypt our hard drives? We're on the internet when our computers are on!

    1. Re: Does encryption really matter to the NSA? by Anonymous Coward · · Score: 1

      Whether they pay you or not, you're helping the NSA by spreading this stupid belief that they're omnipotent.

  19. if it's ain't broke, dont fix it. by Gravis+Zero · · Score: 1

    TrueCrypt (now VeraCrypt) is still alive and kicking. better than that, it's been security audited. so why go from a multiplatform system known to be secure to a bunch of scripts that only work on linux?

    stop trying to fix what isn't broken.

    --
    Anons need not reply. Questions end with a question mark.
  20. Nope. by ledow · · Score: 4, Insightful

    Tomb isn't a successor to TrueCrypt, for me at least. Not even close.

    TrueCrypt's selling point is NOT an encrypted container. We can do that any number of ways, not least just encrypted loopback, but all of them leak the same amount of information.

    Truecrypt's selling point was full disk encryption and a bootloader that hook BIOS interrupts to allow live, in-memory, OS-agnostic transparent decryption. That's not something you can do with a shell-script.

    Anything not full-disk-encryption is worthless is the machine is stolen - it probably takes minutes to find the key in swap-files and unlock the containers if they've been used recently. The plain-text is probably still lurking around on disk as temporary files etc.

    The only reason I used TrueCrypt was that you could full-disk encrypt and nobody could get in without modifying the hardware of the machine and then getting me to enter my passphrase. Not something that a thief was going to be able to do. It means it was Data Protection compliant, that you could afford to lose the entire machine and not worry, and that it didn't matter what you did with the machine underneath, what OS, what partitioning, etc. even fake partitions with false copies of Windows, etc. in them.

    Sorry, but your slashvertisement is exactly what it says - a shell script around some basic command line utilities. It's nowhere close to a TrueCrypt replacement unless your use-case is extremely trivial and - actually - not that secure at all.

    As it is, I don't think there's currently a product I can use that I can trust complete boot-time control of, except for TrueCrypt and it's directly-compatible replacements. I will look at various projects as they evolve but, for me, the winner will be whoever gets a UEFI bootloader first.

    1. Re:Nope. by jaromil · · Score: 1

      Prominently stated in Tomb's documentation is the goal of separating the physical locations where keys and volumes are stored.
      This is explicitly to address cases of stolen laptop, phone, etc.
      The fact that is easy to use gpg encrypted keys from a remote ssh shell, a phone over NFC or bluetooth or a usb stick is addressing human-behavior as a vulnerability much more than actual encryption technology, which we assume to be fairly advanced and reliable today at least in case of dm-crypt.

    2. Re:Nope. by caseih · · Score: 1

      Not only that but TrueCrypt was designed to do secret volumes within volumes, so if someone coerces your password from you they only get the outer, more innocuous volume. The inner volume containing the real private data is still locked and you can't even prove it's there.

  21. On LUKS by bdubSOv1iKIJ403M · · Score: 1

    When I was looking at encryption options a few year ago, I ended up skipping LUKS and using dm-crypt directly instead. LUKS uses some large blocks of random data to postprocess the user-provided key and make brute forcing and dictionary attacks very slow, even with initially weak keys.

    Downside is, is that if the LUKS header gets corrupted or destroyed, the entire partition is lost. It's more serious than an MBR, which is easy to reconstruct.

    I wanted the purity and hardcoreness of my key = actual key, so I ended up just invoking dm-crypt by hand.

    1. Re:On LUKS by Demonoid-Penguin · · Score: 2

      Downside is, is that if the LUKS header gets corrupted or destroyed, the entire partition is lost.

      To be fair - that's the downside of encryption (without regular backups). A single bit of difference means no information recovery.

      Using LUKS is unlikely to measurably decrease your chances of being unable to recover information. ie. if the encrypted medium is modified you'll only ever be able to recover data. Data, that doesn't translate into useful information.

    2. Re:On LUKS by Anonymous Coward · · Score: 0

      cryptsetup has luksHeaderBackup and luksHeaderRestore commands.

      Not that it really matters, though. I've seen enough dead hard drives to know that trying to retrieve data from a dying disk isn't a viable disaster recovery plan.

    3. Re:On LUKS by jaromil · · Score: 1

      cryptsetup has luksHeaderBackup and luksHeaderRestore commands.

      We have an issue open on github, thinkering on how to avoid bit-rot here https://github.com/dyne/Tomb/i...
      The LUKS header recovery comes handy, a single corrupted bit in the header of a Tomb could be fatal, so there are plans to backup the header also inside the key, perhaps starting from the next major version of Tomb.
      To fight bit-rot a filesystem like ZFS is pretty effective, but then that must be the "outer" FS, used by the storage support hosting the tomb.

    4. Re:On LUKS by kevlar_rat · · Score: 1

      No, this isn't true. Depending on the encryption mode, a corrupted bit should mean one or two blocks being lost (typically 256 bits). LUKS OTOH has a feature called "anti-forensic stripes" that is deliberately designed to *maximise* the data loss if bits are corrupted on disc. One of the worst/best examples of a mis-feature ever.

    5. Re:On LUKS by Demonoid-Penguin · · Score: 1

      No, this isn't true. Depending on the encryption mode, a corrupted bit should mean one or two blocks being lost (typically 256 bits).

      Could you expand on that? Do you mean - "it isn't true that if encrypted data is modified it can still be unencrypted and the information recovered"? It does sound like a self-defeating encryption scheme (see further down as to why your user case may significantly differ). If the point of encryption is to "prevent modification or access to information at any point in time" rather than "to prevent the reading of the drive at one, known, point in time".

      Recovering data from a dm-encrypted disk which has damaged sectors is possible (trickier with SSDs) - even if it's LUKS (BP is to backup the headers and the key-stripe area in addition to the information). dm-crypt does block level encryption, I assuming you are referring to the discussion in context - dm-crypt.

      tl;dr you are correct, it is possible to recover data from a disk if sectors have been damaged. Whether that will result in information being reconstructed depends on the the encryption schemes employed.

      Which is why backups are kept (typically 3 if that information is important to retain), and damaged disks destroyed. If someone encrypts a partition and doesn't do that I can only presume that information is not something they value as much as they don't want others to know that they have it.

      I "assume" that your interest in encryption is focussed on hiding information - in which case information integrity may be less important. I have no firm opinions on that subject, and the conflicts between obscurity and security aspects of being able to detect injected malware make it too complex for me to even hazard guesses.

      LUKS OTOH has a feature called "anti-forensic stripes" that is deliberately designed to *maximise* the data loss if bits are corrupted on disc. One of the worst/best examples of a mis-feature ever.

      If you use encryption and want to be able to recover information if that information has changed in any way by an unauthorised process - you're doing it wrong.

  22. Linux Geeks vs Guinness Leeks by Anonymous Coward · · Score: 0

    I have never tried Guinness Leeks... are QRcodes like IPv4 addresses in that we will run out of usable ones for wasting them on our cat's buttcheeks?

    1. Re:Linux Geeks vs Guinness Leeks by petermgreen · · Score: 1

      are QRcodes like IPv4 addresses in that we will run out of usable ones for wasting them on our cat's buttcheeks?

      No.

      QR codes encode arbitary text (in one of several character sets). There is no central registry of what that text means so QR codes in general can't "run out". The ammount of text that can be encoded depends on the size (in "modules") of the QR code, the character set and the desired error correction level.

      QR codes used for taking people to websites generally encode URLs. Even a quite long URL can be encoded in a reasonable size QR code though shorter URLs are certainly preferable for more reliable scanning due to stronger error correction and/or larger "modules".

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    2. Re:Linux Geeks vs Guinness Leeks by Anonymous Coward · · Score: 0

      LOL you actually thought it was a serious question

  23. failure built in from the start by Anonymous Coward · · Score: 0

    Portable shell scripting does not happen in zsh. Nor in bash, for that matter. It happens in posix shell, sh, tested against at least two different posix shell implementations.

  24. successor? by Lord+Ender · · Score: 2

    TrueCrypt worked flawlessly on Windows, Mac, and Linux.

    Anything which supports only one of the three major platforms is no successor of TrueCrypt.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:successor? by Anonymous Coward · · Score: 0

      Everyone seems to like to use the past tense when talking about TrueCrypt. The fact is, TrueCrypt *still* works flawlessly on Windows, Mac and Linux. Maybe not the full-disk encryption if you have a UEFI bootloader, but other than that it just flat works.

  25. How do you deal with complexity? by jaromil · · Score: 1

    Does the fact that a software is a small shell script or a big POSIX C codebase makes you trust it more, or less?
    I appreciate the considerations about portability of a shell script being critical, yet ZSh interpreters are very portable themselves.

  26. Last day by wonkey_monkey · · Score: 1

    Last day we released Tomb version 2.1

    Hyper cool, friend!

    --
    systemd is Roko's Basilisk.
  27. Ban it by Anonymous Coward · · Score: 1

    All it's good for is empowering terrorists, pedophiles and malcontents. We don't need encryption, honest people does not, and neither we need anonymization tools, guns, or instructions on how to make explosives. You keep blathering about "freedom" but my freedom to be safe is more important to me, and I'm part of the vast majority of sane people who does not see the use for encryption, guns, tor or even general purpose computers that could be used to hack vital infrastructure and cause harm and even death. We invoke the full might of the law to remove those threats to our security. And it will happen, whether you like it or not.

    1. Re:Ban it by Anonymous Coward · · Score: 0

      You talk as if you were the voice of the people... You're not.

      [...] my freedom [...] is more important to me [...]

      Pretty selfish, aren't you?

      Those laws you talk about are enforced by the use of the guns you hate. I agree with you that we as honest people don't need encryption, but the problem is that there are dishonest people ruling the world, terrorizing us, manipulating the masses (your majority) and getting rid of the minorities (those who dare think differently). If everybody was honest we wouldn't even need locks on our door, or passwords for our online accounts. But we unfortunately still do need them.

    2. Re: Ban it by Anonymous Coward · · Score: 0

      Don't gratify the fecalmasturbator with a response to his cerebral defecations.

  28. OT on Devuan (was Re:NSA?) by jaromil · · Score: 1

    Curious about your manipulation of to the Devuan project passing via a personal attack against me.

    BTW are you Kevin McCurley of Digicrime, based in San Jose?

    Isn't this game boring? Yet I have to reply because your claims about Devuan are false:

    1- we don't demand no-one else should be able to use systemd. We clearly demand our own rights in choosing to not use systemd and have engaged in an honest quest developing a base system that is alternative to Debian and does not depends from the web of dependencies of systemd, including the init and the device manager.

    2- our fund-raise is accountable, the financial responsibility is taken up by a non-profit organization registered since more than 10 years, our financial report is public and reasonably detailed http://devuan.org/donate

    regards

    1. Re:OT on Devuan (was Re:NSA?) by Demonoid-Penguin · · Score: 1, Offtopic

      Curious about your manipulation of to the Devuan project passing via a personal attack against me.

      Read again. I said you were involved with extremists. Not that you were one of them. They damage the credibility of anyone with genuine problems with systemd.

      BTW are you Kevin McCurley of Digicrime, based in San Jose?

      Isn't this game boring?

      [Yawn] Yes to the second question.

      Yet I have to reply because your claims about Devuan are false:

      1- we don't demand no-one else should be able to use systemd.

      Never said you did. Nor that you speak for everyone that was involved in that project. Read again - the words have not changed. I said you were "eccentric" and that you are behind dynobolic - and further, that you should be judged by your code. Twisting my words and implying that you "know who I am" does nothing to improve your image.

      our fund-raise is accountable the financial responsibility is taken up by a non-profit organization registered since more than 10 years, our financial report is public and reasonably detailed

      That posting of the "financial reports" is the first time you' ve published any information about business registration. Where is the posted information about dyne.org? Where are all those certified accounts available? Why doesn't Archive.org have them?

      And no, that's not transparent accounting. I have no reason to believe you are engaging in fraud - or even paying yourself to design logos.
      Transparent "accounting" is when expenditures are detailed (show where the money went - not on what) and are certified by a registered accountant as being true and complete, and made public. You've only done the last part.

      SFI is a registered non-profit. Debian is a registered non-profit funded by SFI, and other organisations. All display that information as required by law and produce annual returns certified by registered accountants. Just as gnu.org does.
      I'd already checked your non-profit status, but your "financial reports" only appeared recently and it's only in them that your business registration is mentioned.

      The devuan domain is not registered in the name of the business operator (you).

      As a fork of Debian Devuan was doomed to failure from the start. Good intentions on your part not-withstanding.

      Repackaging would have been a more viable ambition, and less divisive. I still think there is a need for such a project. It is more likely to succeed if it operates in a responsible manner. Any project that forks from Debian because it doesn't trust systemd (which is not a necessity if you use Debian), while composed of anonymous "veteran Unix administrators" will be treated with the suspicion it deserves. Feel free to play all the "I know who you are and where you live" games you like. As long as your games are just in your head they're games without consequences.

      Dyne is a laudable project in it's own right - and if you re-read what I said you'll find I didn't damn Tomb.

      As for some to the people that associated with the Devuan project - and some of your conduct on various forums... my opinions haven't changed. Before you get on your moral platform with your knickers in a twist because you believe I've impugned your reputation - get a time machine and go back and undo all the allegations, slurs, and FUD that you've left behind you in the past. Most of it's still there preserved for posterity.

    2. Re:OT on Devuan (was Re:NSA?) by jaromil · · Score: 2

      Read again. I said you were involved with extremists. Not that you were one of them. They damage the credibility of anyone with genuine problems with systemd.

      ACK and agree. I'm sure you understand that to transform a years old flame into a decent discussion is quite a hell of a process.
      Apologies for overreacting, I recognize you do have legitimate observations, but really I've been through the systemd-grinder enough to quickly put up defenses.

      That posting of the "financial reports" is the first time you' ve published any information about business registration. Where is the posted information about dyne.org? Where are all those certified accounts available? Why doesn't Archive.org have them?

      Man, we are paying taxes to the Netherlands, not to Archive.org. I think you have a different idea of transparency... we are producing all the documentation needed for the institutions and organizations that require them, including the EU commission for some projects. However in case of donors you are right, more work must be done towards transparency...

      And no, that's not transparent accounting. I have no reason to believe you are engaging in fraud - or even paying yourself to design logos. Transparent "accounting" is when expenditures are detailed (show where the money went - not on what) and are certified by a registered accountant as being true and complete, and made public. You've only done the last part.

      SFI is a registered non-profit. Debian is a registered non-profit funded by SFI, and other organisations. All display that information as required by law and produce annual returns certified by registered accountants. Just as gnu.org does.

      ...and we'll check these aspects out. Its a good advice to see how other long-standing good examples are operating and we'll certainly need to extend our team to include someone that is proficient with this side of things. This is a growth process and its not easy, yet at Dyne.org we are determined to not blow it up with a VC, but to have a rhythm of growth that is slow and organic. We are just opening an office in Amsterdam, after some years of difficulties, and this will help a lot.

    3. Re:OT on Devuan (was Re:NSA?) by Demonoid-Penguin · · Score: 1

      Read again. I said you were involved with extremists. Not that you were one of them. They damage the credibility of anyone with genuine problems with systemd.

      ACK and agree. I'm sure you understand that to transform a years old flame into a decent discussion is quite a hell of a process.

      For what it's worth - though some clients use systemd with good reasons, I don't (though I find many features interesting and have been testing some for the last year and a bit). I can relate to your feeling: I've watched the "debate" damage the Debian community (and I'm aware that much of the blame lies parties whose only interests is destruction); I was in a similar position when udev replaced sysfs. I can also see how hard it makes things for the developers of systemd, and why some of us have developed support for systemd as a matter of compromise - so that software can have the widest adoption possible. If blame for premature change must be attributed much of it lies with "gamers" (posing as "desktop users") demanding that support for the latest take precedence over support for stability. There is a need for some of the features of systemd in the larger areas of deployment - non desktop where even shaving a few seconds off a boot that occurs once a year makes a critical difference to adoption (when multiplied a few tens of thousands of times). But the major problem facing systemd and the traditional init IMO is two-fold: Eternal September (uninformed protesters camping in the carpark, hindering work and informed discussion); lack of development with the traditional init. The only solution I can think of is more seasoned developers.

      The uniformed talk of Desktop Wars, and falsely compare the difficulties of developing a distro that includes 25K+ packages that run on a multitude of architectures with things much more limited in scope and have a completely different focus (one is a commercial development, the other is a development that does cater for commerce - but not exclusively). Most simply - it's choices vs. lack of choices, free will vs. you will get what you pay for that is on offer.

      Apologies for overreacting, I recognize you do have legitimate observations, but really I've been through the systemd-grinder enough to quickly put up defenses.

      No offence taken. Really. See above for why I can partially understand where you're coming from. I especially appreciate that you've always backed your position with action. As have I, but I'll stick to my anonymity on this forum for various reasons (not to great effect, but those that have recognised me, not that I'm anyone of import, have kept that knowledge off /.).

      That posting of the "financial reports" is the first time you' ve published any information about business registration. Where is the posted information about dyne.org? Where are all those certified accounts available? Why doesn't Archive.org have them?

      Man, we are paying taxes to the Netherlands, not to Archive.org. I think you have a different idea of transparency... we are producing all the documentation needed for the institutions and organizations that require them, including the EU commission for some projects. However in case of donors you are right, more work must be done towards transparency...

      Your first point was understood. The second was the reason why I made the initial points - not that you are being deceptive, just that you could do much better (governments, as you are aware, are not the highest goal when setting standards). I'm sure I'm not the only one who didn't donate because I'd like to know where the money goes. And more importantly - like to put my money where the investment is more likely to bring returns i.e. will result in something the keeps growing. If your income grows so will the amount of distrust. If you didn't deal with that now you would never reach the next hurdle for growth - achieving

  29. ChangeLog (was Re: Never heard of it) by jaromil · · Score: 1

    Its not the first version, is the latest. Here is the ChangeLog https://files.dyne.org/tomb/Ch...

  30. Why do technology companies choose foolish names? by Futurepower(R) · · Score: 1

    You two are funny. (It's 5 am. If your brain has not yet started working, he means Fornix 8 would sound like "Fornicate".)

    An acquaintance of mine works at The Last Pickle. Yes, really. Apache Cassandra support.

  31. "I can certainly use some [...] criticism" by Anonymous Coward · · Score: 0

    You came to the right place.

  32. Re:Why replace it? And Can it really replace it? by rduke15 · · Score: 1

    I use Truecrypt for a small (10MB) file which I can mount on Linux, Mac and Windows. The mounted file is a FAT32 partition, because that is the only filesystem that is read/write on any random machine.

    Could Tomb replace this setup? What would the advantage be?

    (Of course, I could go read the article, but who does that on /.?)

  33. Nothing says secure by Anonymous Coward · · Score: 0

    like a bunch of super long zsh scripts stringing together a bucketload of binaries that are not verified to be of any systemic state (version differences) all while adding unique features like "forgot my private key" QRcode image ( which is likely to be left sitting on a disk in plaintext in a removed temp file). Have at it folks!

  34. recovering plaintext from corrupted ciphertext by kevlar_rat · · Score: 1

    The context of the original post was discussing recovering plaintext when a bit of the ciphertext was corrupted - assuming you have the key and no backups.
    In this case 'plain' dm-crypt results in typically 128-256 bits of plaintext not being recovered. This guy has done some experiments and says in practice it's similar between corrupted encrypted and unencrypted data.
    With LUKS, if the corruption is in the data, then the result should be the same as for dm-crypt.
    But with LUKS, if the corruption is in the header, then there is a possibility *all* the data will be lost (again, we are talking of with the key, but no backups). LUKS is actually designed to maximise this possibility.
    The logic is that an attacker is more likely to have a corrupted file. With a password based encryption sheme, the best proxy you have to an 'authorised' person is one who knows the password - in fact that's the only proxy you have.
    So making it more difficult for people with the password to read the data, without making it more difficult for people without it to read the data, is a misfeature IMO.
    An attacker maliciously changing the ciphertext to change the plaintext in a predictable way is another issue, but LUKS and dm-crypt are equally bad in this respect as neither support authenticated encryption modes.

    1. Re:recovering plaintext from corrupted ciphertext by Demonoid-Penguin · · Score: 1

      The context of the original post was discussing recovering plaintext when a bit of the ciphertext was corrupted - assuming you have the key and no backups.

      Um, no - you responded to my post. I responded to a post by bdubSOv1iKIJ403M. No mention of plaintext there.

      In this case 'plain' dm-crypt results in typically 128-256 bits of plaintext not being recovered. This guy has done some experiments and says in practice it's similar between corrupted encrypted and unencrypted data.

      Interesting reference. Thanks. I don't have immediate comments on it other than: nothing looks dodgy about his tests; SS writes and erases are quite different from HDD (I don't understand them). I've bookmarked as something to ask some one of the ASD SME's about.

      I use LUKS (and dm-crypt) for personal and work computers, with critical information also encrypted - because I don't know of a better option, and because it's the highest standard set by main clients (audits aren't a huge concern, penetration is). I have tried to recover data from a damaged drive for which I did have a backup LUKS head and key stripe - and failed. As have others - that not proof it's impossible. I'm now curious if the ASD rules for privileged environments which ban SSD devices even with LUKS in the highest category sector may be related (though it could we be for other reasons e.g. Shamir's third law?).

      With LUKS, if the corruption is in the data, then the result should be the same as for dm-crypt.

      Maybe. It'd be worth actually testing - which shouldn't be difficult. Until I saw some empirical data I'd be reluctant to form an opinion either way. If it is possible it's game over. (like AES-256 encrypted images, pointless)

      But with LUKS, if the corruption is in the header, then there is a possibility *all* the data will be lost (again, we are talking of with the key, but no backups). LUKS is actually designed to maximise this possibility.

      Agreed (with qualifications). As I previously stated, that's something I regard as a strength of LUKS, and, as also previously stated, I suspect you are using encryption to different ends.

      I don't trust encryption completely - if Shamir's 2nd Law holds true it's likely that there's simply not enough expense involved to make it impossible for all the "information" to be recovered through reconstruction. You keep conflating data and information. Which gives weight to the possibility that you don't even bother to read what you reply to - or worse, don't know what the fuck you're talking about.

      The logic is that an attacker is more likely to have a corrupted file. With a password based encryption sheme, the best proxy you have to an 'authorised' person is one who knows the password - in fact that's the only proxy you have. So making it more difficult for people with the password to read the data, without making it more difficult for people without it to read the data, is a misfeature IMO. An attacker maliciously changing the ciphertext to change the plaintext in a predictable way is another issue, but LUKS and dm-crypt are equally bad in this respect as neither support authenticated encryption modes.

      I suspect you mean the conclusion of your unstated logic is that the attacker is more likely to have a corrupted file. Maybe (if they try the less likely approach of encrypting your data to access the information). Again, I suspect you are using encryption to different ends (to hide something you've secured). Why you would hide something you don't wish to access again seems stupid - and I don't think you are. What I do think is that you've overlooked the most likely attack to succeed (Shamir's 3rd Law) which is to bypass encryption. If you are keeping something that contains a secret it's likely you'll look at it agai

    2. Re:recovering plaintext from corrupted ciphertext by kevlar_rat · · Score: 1

      The context of the original post was discussing recovering plaintext when a bit of the ciphertext was corrupted - assuming you have the key and no backups.

      Um, no - you responded to my post. I responded to a post by bdubSOv1iKIJ403M. No mention of plaintext there.

      It's hard to see how else to interpret your post:

      To be fair - that's the downside of encryption (without regular backups). A single bit of difference means no information recovery.

      Or did you mean a single bit of ciphertext changed would somehow corrupt the rest of the ciphertext?
      I've no wish to get involved in a discussion on other aspects of encryption, just wanted to simply correct a false statement, and get something off my chest about the design of LUKS.