Merge pull request #111908 from primeos/fscryptctl
fscryptctl-experimental: 2017-10-23 -> 0.1.0
This commit is contained in:
commit
31bc8c38e6
@ -3,24 +3,35 @@
|
|||||||
# Don't use this for anything important yet!
|
# Don't use this for anything important yet!
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fscryptctl-unstable";
|
pname = "fscryptctl";
|
||||||
version = "2017-10-23";
|
version = "0.1.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/google/fscrypt";
|
goPackagePath = "github.com/google/fscrypt";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "fscryptctl";
|
repo = "fscryptctl";
|
||||||
rev = "142326810eb19d6794793db6d24d0775a15aa8e5";
|
rev = "v${version}";
|
||||||
sha256 = "1853hlpklisbqnkb7a921dsf0vp2nr2im26zpmrs592cnpsvk3hb";
|
sha256 = "1853hlpklisbqnkb7a921dsf0vp2nr2im26zpmrs592cnpsvk3hb";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "DESTDIR=$(out)/bin" ];
|
makeFlags = [ "DESTDIR=$(out)/bin" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = ''
|
description = "Small C tool for Linux filesystem encryption";
|
||||||
A low-level tool that handles raw keys and manages policies for Linux
|
longDescription = ''
|
||||||
filesystem encryption
|
fscryptctl is a low-level tool written in C that handles raw keys and
|
||||||
|
manages policies for Linux filesystem encryption, specifically the
|
||||||
|
"fscrypt" kernel interface which is supported by the ext4, f2fs, and
|
||||||
|
UBIFS filesystems.
|
||||||
|
fscryptctl is mainly intended for embedded systems which can't use the
|
||||||
|
full-featured fscrypt tool, or for testing or experimenting with the
|
||||||
|
kernel interface to Linux filesystem encryption. fscryptctl does not
|
||||||
|
handle key generation, key stretching, key wrapping, or PAM integration.
|
||||||
|
Most users should use the fscrypt tool instead, which supports these
|
||||||
|
features and generally is much easier to use.
|
||||||
|
As fscryptctl is intended for advanced users, you should read the kernel
|
||||||
|
documentation for filesystem encryption before using fscryptctl.
|
||||||
'';
|
'';
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
Loading…
Reference in New Issue
Block a user