commit | 206bee144e2b7e3190677ffbf4f231dd2e728f5c | [log] [tgz] |
---|---|---|
author | MichaĆ Narajowski <michal.narajowski@codecoup.pl> | Tue Oct 18 11:31:17 2016 +0200 |
committer | Szymon Janc <szymon.janc@codecoup.pl> | Sat Oct 22 21:31:31 2016 +0200 |
tree | 2d6000f3c81cd66a40d99b5ad4c817b454577de3 | |
parent | acbea9a0f7bda8b3d15aba20f211c32628556f2e [diff] |
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.