Closed bitcoin-eagle closed 2 years ago
what version of zuluCrypt are you using?
Version : 5.7.1
Copyright: 2011-2020 Francis Banyikwa,mhogomchungu@gmail.com
License : GPLv2+
I think it does not work because you are using sudo.
give "zuluCrypt-cli" 4755 permissions to make it work without requiring sudo and try again.
The command to run to give it those permissions are
chmod 4755 /usr/bin/zuluCrypt-cli
I tried that. It didn't help. My main problem is that I don't know the value for -G argument. I made up the -G "keyring"
value.
I get the same error even for nonsensical -G "xxx"
zuluCrypt-cli -o -d /dev/nvme0n1p4 -m nvme0n1p4 -G "xxx"
ERROR: Could not get a passphrase from the module
"-G" options takes a name of a program zuluCrypt-cli should call to get a password and zuluCrypt ships with a bunch of these programs and one of them is called "keyring" and this program reads a password from gnome keyring and sends it to zuluCrypt-cli.
These programs are called "zuluCrypt plugins" and you can make one of your own if you want.
I run below command the first time and i got below error and was puzzled.
[ink@localhost ~]$ zuluCrypt-cli -o -d Tmp/volume.img -G keyring
ERROR: Could not get a passphrase from the module
I then force gnome keyring to unlock by going to zuluCrypt-gui and attempted to add a key to gnome keyring.
I tried the command again and it succeeded.
[ink@localhost ~]$ zuluCrypt-cli -o -d Tmp/volume.img -G keyring
SUCCESS: luks volume opened successfully
volume mounted at: /home/ink/volume.img
[ink@localhost ~]$
There is a bug here and keyring plugin should force gnome keyring to unlock when it tries to read a password from it or at least should say it failed to get the password because the keyring is locked.
Are you sure the keyring is unlocked when running your command?
Hello, I'd need advice how to mount veracrypt volume with password from Gnome keyring using cli. It works in gui. I just don't know what argument pass to to the -G option.
Thank you