-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maxim Radugin
committed
Sep 5, 2013
1 parent
1ddca5c
commit ccda71a
Showing
4 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
dmcryptfile | ||
=========== | ||
Encrypts/decrypts file in dm-crypt compatible way, using kernel crypto API. | ||
Copyright (c) 2013 Maxim Radugin. | ||
|
||
Usage: dmcryptfile <arguments> | ||
|
||
This utility is designed to encrypt disk/partition image files in userspace | ||
without root priviledges and without using device mapper and cryptsetup. | ||
Currently supports only plain mode, no LUKS support! | ||
Backend code is taken from cryptsetup. | ||
Input key size should be of desired cipher key size. | ||
Key is passed directly to the cipher algorithm, no hashing or any other | ||
processing is performed. It is up to the user to provide strong key. | ||
For available ciphers, chain modes and key sizes check /proc/crypto. | ||
Only plain IV mode is supported. | ||
Input file size must be multiple of sector size i.e. 512 bytes. | ||
If input file is not multiple of sector size, output will be truncated. | ||
|
||
Encrypts/decrypts file in plain dm-crypt compatible way, using kernel crypto API. |
Empty file.
Empty file.
Empty file.