cryptonite icon indicating copy to clipboard operation
cryptonite copied to clipboard

"encfs --extpass" doesn't launch external program

Open neurodroid opened this issue 10 years ago • 5 comments

From [email protected] on June 08, 2012 21:31:32

What steps will reproduce the problem? 1. open root terminal 2. enter '/data/data/csh.cryptonite/encfs -o allow_other --extpass='echo ' /.../.encrypted /sdcard/csh.cryptonite/mnt What is the expected output? What do you see instead? Exptected output: encrypted folder gets mounted in /sdcard/csh.cryptonite/mnt.

Instead I get the error "Internal error: failed to exec program: No such file or directory". It doesn't matter if I use single ' or double " or what kind of command with or witout busybox. The password doesn't get passed or parsed by the external program. What version of the product are you using? On what operating system? EncFS 1.7.4 Cryptonite 0.6.12 Android 4.0.4 Please provide any additional information below. Does work on Linux. Have to use --stdinpass and pipe the password to encfs.

Cheers, sebastian

Original issue: http://code.google.com/p/cryptonite/issues/detail?id=30

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] on June 09, 2012 02:21:27

Can't reproduce this, extpass works on my device. Supposedly you've already tried to provide the full path to echo (/system/xbin/echo on my system)? Does the same command work with --stdinpass or password prompt?

Owner: [email protected]

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] on June 09, 2012 05:51:47

Checked it on a second phone with ICS 4.0.4 (but without busybox installed). Same issue - can't use --extpass with for instance the echo command. "--stdinpass" with echo does work instead.

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] on June 09, 2012 06:22:16

Have you tried providing the full path to echo?

/data/data/csh.cryptonite/encfs -o allow_other --extpass='/system/xbin/echo ' src dest

or wherever echo is located on your system (check with 'which echo')

neurodroid avatar Aug 28 '14 15:08 neurodroid

From [email protected] on June 09, 2012 06:37:52

yes - on first device with busubox installed tried: "/system/bin/busysbox echo ..." and "/system/bin/echo ...".

On 2nd device without busybox installed tried echo with and without full path.

neurodroid avatar Aug 28 '14 15:08 neurodroid

Encfs v1.7.4 expects the shell in '/bin/sh' whereas v1.7.5 looks in '/system/bin/sh'. That's why it works properly in v.1.7.5 and not in v1.7.4.

BlueMax avatar Feb 06 '15 20:02 BlueMax