On 28.09.2013, Patrick Dupre wrote:
> I would like that it ask me the paraphrase every time that the key
> in replugged. How can I get this behavior?
You have to check if there's something which caches your passphrase,
and in this case you should prevent your passphrase from being
cached. If this isn't the case, you can take a look into /dev/mapper
and see if your crypto-device is properly unregistered. If it's not,
you'll have to do that manually:
cryptsetup close /dev/mapper/your_device
I did close (after umount and using root)
/dev/mapper/luks-61967fe7-9143-45ea-aaf5-2e2697dbfeed
but again, when I plug the key back, it mounts the vol without
askig the passphrase.
Anyway, you could choose to mount/umount your device manually all
the
way, to avoid some third partys software to interact. This would solve
your problems immediately.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================