diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2010-04-06 20:34:36 +0200 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2010-04-06 20:34:36 +0200 |
commit | 4670d2edfb615af94bd9d82d8fd12b7cf8d23b9d (patch) | |
tree | 71bbd6a5c86919d9413d927b3be8827754f6329d | |
parent | 9aaa47296f60d58cee14a5dec3fa2d9c84ca1494 (diff) |
testsuite: Check that our udev probers do not leak key information
This reproduces https://bugs.freedesktop.org/show_bug.cgi?id=27494
-rwxr-xr-x | tests/run | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -728,6 +728,12 @@ class Luks(UDisksTestCase): self.assertEqual(ci['mount paths'], '') self.assertEqual(ci['presentation name'], '') + # check that we do not leak key information + udev_dump = subprocess.Popen(['udevadm', 'info', '--export-db'], + stdout=subprocess.PIPE) + out = udev_dump.communicate()[0] + self.failIf('essiv:sha' in out, 'key information in udev properties') + finally: # tear down cleartext device self.partition_iface().LuksLock([]) |