Add support for building passphrase from the private key fsid
authorSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Dec 2009 22:19:35 +0000 (23:19 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 23 Dec 2009 22:43:34 +0000 (14:43 -0800)
commit61d27f457278f7224f35e139db8aaf32762e1970
tree535002b218c9c202be21376ce2d7881c1b999e10
parente0674e39b356c58f3141aca1f55d8ffcea8dbba1
Add support for building passphrase from the private key fsid

The private key can be build so that the passphrase is the key's filesystem
ID, i.e. stat --file-system --printf="%i" <private_key_path>.

By setting the PassphraseFromFsid config entry to true, such a filesystem
ID will be used as private key passphrase and passed to the supplicant.
src/config.c
src/service.c