therealromster / cryptsetup

Automatically exported from code.google.com/p/cryptsetup
GNU General Public License v2.0
0 stars 0 forks source link

what are steps to install cryptsetup-1.6.4.tar.gz in Linux machine #220

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can you please provide steps to install cryptsetup-1.6.4.tar.gz in linux machine
Currently  the machine has 1.1.2 version

I need to update becuase the following command does not work
[oracle@b-46 ~]$ cryptsetup open --type plain --cipher aes-plain /dev/sdc1 
ondemand
Usage: cryptsetup [-?vyrq] [-?|--help] [--usage] [-v|--verbose] [--debug] 
[-c|--cipher STRING] [-h|--hash STRING]
        [-y|--verify-passphrase] [-d|--key-file STRING] [--master-key-file=STRING] [-s|--key-size BITS] [-S|--key-slot INT]
        [-b|--size SECTORS] [-o|--offset SECTORS] [-p|--skip SECTORS] [-r|--readonly] [-i|--iter-time msecs] [-q|--batch-mode]
        [--version] [-t|--timeout secs] [-T|--tries INT] [--align-payload=SECTORS] [--non-exclusive] [--header-backup-file=STRING]
        [OPTION...] <action> <action-specific>]
--type: unknown option

Original issue reported on code.google.com by vhse...@gmail.com on 26 Jun 2014 at 11:17

GoogleCodeExporter commented 9 years ago
The open with --type command was introduced later (so it is not yet in 1.1.2), 
you should use create or luksOpen command.

Also specify cipher only if you are sure that you understand consequences (use 
default). Your example (aes-plain) would end in insecure encryption vulnerable 
to watermarking attacks.

You should use your distro update and not to build package yourself 
(specifically here you could have problems with library API changes, 1.1.2 is 
quite old).
The vest is to ask on your distro related forums.

Anyway, this is not support forum but issue tracker. 
Please read FAQ, ducumentation included in tarball and use mailing list for 
these questions, thanks.

Original comment by gmazyl...@gmail.com on 29 Jun 2014 at 8:23