Files
systemd/src
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-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01:00
2015-05-23 13:03:30 +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-06-08 23:11:26 +02:00
2015-04-11 00:34:02 +02:00
2015-02-23 23:53:42 +01:00
2015-05-25 17:06:15 +02:00
2015-04-10 23:54:48 +02:00
2015-02-23 23:53:42 +01:00
2015-04-10 23:54:48 +02:00
2015-06-03 00:22:53 +02:00
2015-04-10 23:54:49 +02:00
2015-02-23 23:53:42 +01:00
2015-02-23 23:53:42 +01: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-05-22 14:32:51 +02:00
2015-06-03 19:50:02 +02:00
2015-04-10 23:54:48 +02:00
2015-04-11 00:34:02 +02:00
…