Summary: | cfs cryto filesystem support | ||
---|---|---|---|
Product: | kdm | Reporter: | David Findlay <david> |
Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | ce |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
David Findlay
2003-06-15 14:46:12 UTC
Can't you accomplish that with the login and session scripts that are run since xdm days? ... or use an appropriate PAM module, FWIW. passing auth info down to the Startup/Reset scripts may be required for this purpose and is not implemented, but this is reported in another bug already. *** This bug has been marked as a duplicate of 35396 *** *** Bug 59830 has been marked as a duplicate of this bug. *** Subject: Re: cfs cryto filesystem support
On Sun, 15 Jun 2003 10:50 pm, Thiago Macieira proclaimed:
> Can't you accomplish that with the login and session scripts that are run
> since xdm days?
You need to show a passphrase window though. I'm not sure you can do that with
login and session scripts. Thanks,
David
I'm quite sure you can. Try using kdialog (--password) to read a password if you ned so. > Try using kdialog (--password)
OK, you can use this, but you cannot deliver tha password to the cli-progs like losetup. At
least I'm not able to do so.
I'm not about to teach you shell scripting here, but you can do that, yes. var=`kdialog --password "Enter your password"` echo $var You're right, of course. But if the destination program cannot be given a password via an option, I cannot use this variable: unzip -P "echo $var" works, but I've not found any possibility to do so with mount/losetup. Both do not offer the -P option like unzip does :( Bug the losetup developers then. If the program doesn't offer a way to type in the password, there's no thing we can do either. |