Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    TrueCrypt 7 with GUI and kernel crypto

    Reply
    Page 5 of 6 | Prev |   3     4   5   6   | Next
    Mr Wolf | # 41 | 2012-01-15, 14:35 | Report

    So, how do I know which version of kernel power is installed?
    Sorry, I took the TrueCrypt link from the page I saved.
    I think it was the one you posted in the first post of this topic.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nman | # 42 | 2012-01-15, 15:04 | Report

    Originally Posted by Mr Wolf View Post

    device-mapper: reload ioctl failed: Invalid argument
    Command failed

    Anyone knows what it means?
    I had this error trying to mount volume with ext4 filesystem.
    I had to manually specify filesystem
    Try adding --filesystem=XXX to the truecrypt command (where XXX is the FS in the truecrypt volume).

    You can also decrypt the volume without mounting using --filesystem=none , and mount manually using mount command

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to nman For This Useful Post:
    Estel, Mr Wolf

     
    NIN101 | # 43 | 2012-01-15, 18:13 | Report

    Originally Posted by Mr Wolf View Post
    So, how do I know which version of kernel power is installed?
    uname -r. And please, next time do your research on such simple questions. So, what cipher are you using for that volume?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to NIN101 For This Useful Post:
    Mr Wolf

     
    nman | # 44 | 2012-01-16, 02:56 | Report

    I am using version 7.1. Estel's wrapper keeps telling me xts is not supported and keeps setting -nokernelcrypto

    But I'm using KP49 - is there anything else I need to add or enable for kernel crypto to work?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 45 | 2012-01-16, 20:00 | Report

    nman, are you executing everything as a root? Otherwise, I haven't seen any situation, when it would fail to detect XTS support using latest (repositories) kernel.
    ---

    If it isn't source of Your problems, a dirty workaround would be to set up Your custom small script, that does:
    Code:
    unset GTK2_RC_FILES
    ... and run truecrypt.real (actual binary) after that. This way, You do exactly what wrapper does for You, *except* the part checking for kernel support and setting '-m nokernelcrypto' otherwise.

    Just be sure, that You *really* have proper kernel with proper support. You can cat /proc/crypto to see supported modes. If any of things listed there got XTS in name, you're good to go.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Estel; 2012-01-16 at 20:06.
    The Following User Says Thank You to Estel For This Useful Post:
    nman

     
    woody14619 | # 46 | 2012-01-16, 20:12 | Report

    Originally Posted by nman View Post
    I am using version 7.1. Estel's wrapper keeps telling me xts is not supported and keeps setting -nokernelcrypto

    But I'm using KP49 - is there anything else I need to add or enable for kernel crypto to work?
    Did you install the kernel-modules package as well? KP49 is pretty good about having most things built in, but this particular thing is a module. If you installed just the kernel and not the modules, and don't use some of the other advanced things (like h.e.n.) you may not have noticed that till now.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to woody14619 For This Useful Post:
    Estel, nman

     
    NIN101 | # 47 | 2012-01-16, 20:15 | Report

    Originally Posted by
    You can cat /proc/crypto to see supported modes. If any of things listed there got XTS in name, you're good to go.
    IIRC, It'll only appear there if it the module is loaded. Thus, the best way to check is to take a look at /lib/modules/`uname -r` or to load it with modprobe.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to NIN101 For This Useful Post:
    Estel, nman

     
    nman | # 48 | 2012-01-16, 21:07 | Report

    Thanks, I have modules installed...
    No I wasn't running TC as root - when I do I don't get the error message from the wrapper.
    Looks like that was it, but... when I run TC benchmark, results are the same.

    I don't see xts when I do cat /proc/crypto...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Estel | # 49 | 2012-01-16, 22:50 | Report

    nman, as stated on the first page, you *must* run truecrypt as a root. Benchmark won't show the difference, but trust me, You'll feel it on real volumes, in form or "goddamnit" errors, as truecrypt normally expect XTs support.

    /Estel

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Estel For This Useful Post:
    nman

     
    nman | # 50 | 2012-01-17, 15:17 | Report

    Thanks, working great.
    And holy carp what a difference - copying 2GB file to encrypted partition, as user - 28minutes.
    as root, presumably with kernelcrypto - 2 minutes!!! (which works out to about 20Mb/sec, about the same as for unencrypted copying!

    Just side note in my defense Nothing on the first page about running as root...(maybe there is in other thread started by Estel).. might want to add that in. (or merge the threads...)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to nman For This Useful Post:
    Estel

     
    Page 5 of 6 | Prev |   3     4   5   6   | Next
vBulletin® Version 3.8.8
Normal Logout