|author||Michał Narajowski <firstname.lastname@example.org>||Tue Oct 18 11:31:17 2016 +0200|
|committer||Szymon Janc <email@example.com>||Sat Oct 22 21:31:31 2016 +0200|
core/adapter: Add support for enabling privacy This adds support for loading local IRK key when adapter is configured. In case IRK is not present new key is generated and stored. In case of errors privacy is explicitly disabled. We ensure that we memset IRK to zero before disabling privacy. IRK is stored in %s/identity file. Privacy setting is configured globally in main.conf. In the future we may add per device configuration in %s/settings.