Harald Hoyer
e51b9486d1
cryptsetup: craft a unique ID with the source device
...
If cryptsetup is called with a source device as argv[3], then craft the
ID for the password agent with a unique device path.
If possible "/dev/block/<maj>:<min>" is used, otherwise the original
argv[3] is used.
This enables password agents like petera [1] to provide a password
according to the source device. The original ID did not carry enough
information and was more targeted for a human readable string, which
is specified in the "Message" field anyway.
With this patch the ID of the ask.XXX ini file looks like this:
ID=cryptsetup:/dev/block/<maj>:<min>
[1] https://github.com/npmccallum/petera
2015-06-09 10:17:55 +02:00
..
2015-02-23 23:53:42 +01:00
2015-05-11 22:51:49 +02:00
2015-02-23 23:53:42 +01:00
2015-02-02 17:18:40 +01:00
2015-02-23 23:53:42 +01:00
2015-05-23 13:03:30 +02:00
2015-06-05 18:42:36 +02:00
2015-05-21 21:24:55 +02:00
2015-02-23 23:53:42 +01:00
2015-04-11 00:34:02 +02:00
2015-01-23 09:30:44 -05:00
2015-05-29 21:12:26 +02:00
2015-06-08 23:11:26 +02:00
2015-06-09 10:17:55 +02:00
2015-05-06 18:21:51 +02:00
2015-05-05 15:06:42 -07:00
2015-04-11 00:34:02 +02:00
2015-02-23 23:53:42 +01:00
2015-05-29 17:42:44 +02:00
2015-05-05 15:06:42 -07:00
2015-05-18 17:10:07 +02:00
2015-05-29 20:14:11 +02:00
2015-05-25 17:06:15 +02:00
2015-05-05 15:06:42 -07:00
2015-05-29 17:42:44 +02:00
2015-05-05 15:06:42 -07:00
2015-05-19 12:18:08 +02:00
2015-06-09 11:52:10 +10:00
2015-05-29 20:14:11 +02:00
2015-04-10 23:54:48 +02:00
2015-05-29 20:14:11 +02:00
2015-05-29 20:14:11 +02:00
2015-06-02 16:10:06 +02:00
2015-06-05 15:23:03 +02:00
2015-06-08 23:11:26 +02:00
2015-06-02 23:29:20 +02:00
2015-06-03 22:08:46 +02:00
2015-05-11 15:51:30 +02:00
2015-06-05 12:48:16 +02:00
2015-05-29 20:14:11 +02:00
2015-03-10 18:56:56 +01:00
2015-02-23 23:53:42 +01:00
2015-05-13 14:07:26 +02:00
2015-06-08 23:38:27 +02:00
2015-04-10 23:54:48 +02:00
2015-05-29 20:14:11 +02:00
2015-05-18 17:10:07 +02:00
2015-06-08 23:11:26 +02:00
2015-03-13 14:10:39 +01:00
2015-06-03 00:22:53 +02:00
2015-04-10 23:54:49 +02:00
2015-04-21 18:08:09 +02:00
2014-11-28 19:49:27 +01:00
2015-05-29 20:14:11 +02:00
2015-02-23 23:53:42 +01:00
2015-05-29 20:14:11 +02:00
2015-02-23 23:53:42 +01:00
2014-12-03 02:04:55 +01:00
2015-05-29 20:14:11 +02:00
2015-06-08 23:11:26 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-04-24 19:56:47 +02:00
2015-02-23 23:53:42 +01:00
2015-06-03 14:14:42 +02:00
2015-05-22 14:32:51 +02:00
2015-05-13 17:42:10 +02:00
2015-05-11 22:51:49 +02:00
2015-06-03 19:50:02 +02:00
2015-05-15 20:00:22 +02:00
2015-05-29 20:14:11 +02:00
2015-05-15 21:48:20 +02:00
2015-05-29 20:14:11 +02:00
2015-06-09 11:52:10 +10:00
2015-04-27 17:25:57 +02:00
2015-04-10 23:54:48 +02:00
2015-02-27 17:28:03 -05:00
2015-04-11 00:34:02 +02:00