Package: encfs
Version: 1.7.4-2.4+b2
Severity: wishlist

Hello,

The encfsctl decode/encode command supports the --extpass option.
It will be good to support the same option for the encfsctl showcruft command.
See patch as attachement.

Regards,

-- System Information:
Debian Release: 7.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages encfs depends on:
ii  fuse                          2.9.0-2+deb7u1
ii  libboost-filesystem1.49.0     1.49.0-3.2
ii  libboost-serialization1.49.0  1.49.0-3.2
ii  libboost-system1.49.0         1.49.0-3.2
ii  libc6                         2.13-38
ii  libfuse2                      2.9.0-2+deb7u1
ii  libgcc1                       1:4.7.2-5
ii  librlog5                      1.4-2
ii  libssl1.0.0                   1.0.1e-2
ii  libstdc++6                    4.7.2-5

encfs recommends no packages.

encfs suggests no packages.

-- no debconf information
--- cur/encfs-1.7.4/encfs/encfsctl.cpp	2010-08-30 08:27:49.000000000 +0200
+++ new/encfs-1.7.4/encfs/encfsctl.cpp	2013-09-26 16:59:26.064837976 +0200
@@ -94,7 +94,7 @@
 	gettext_noop("  -- change password for volume, taking password"
 		" from standard input.\n\tNo prompts are issued.")},
     {"ls", 1, 2, cmd_ls, 0,0},
-    {"showcruft", 1, 1, cmd_showcruft, "(root dir)",
+    {"showcruft", 1, 2, cmd_showcruft, "[--extpass=prog] (root dir)",
 	// xgroup(usage)
         gettext_noop("  -- show undecodable filenames in the volume")},
     {"cat", 2, 2, cmd_cat, "(root dir) path",
@@ -677,9 +677,7 @@
 */
 static int cmd_showcruft( int argc, char **argv )
 {
-    (void)argc;
-
-    RootPtr rootInfo = initRootInfo(argv[1]);
+    RootPtr rootInfo = initRootInfo(argc, argv);
 
     if(!rootInfo)
 	return EXIT_FAILURE;

Reply via email to