KeychainChunk: Add synchronous method startAwait()
authorMichael Schuster <michael@schuster.ms>
Thu, 25 Jun 2020 14:52:40 +0000 (16:52 +0200)
committerMichael Schuster <michael@schuster.ms>
Mon, 6 Jul 2020 19:51:39 +0000 (21:51 +0200)
commit18cbbc5052cd5a46caba7c0e8977929d35a3bbed
tree8ff57949b28047c0e3883d584a453f39104de654
parent2a3ef044be79b90f479ea24e49bbd3ebf48583e5
KeychainChunk: Add synchronous method startAwait()

Awaits completion with no need to connect some slot to the finished() signal first,
inspired by the ProxyAuthHandler class.

Also add:
- Job dtor to safely erase passwords
- textData() method
- New ctor overloads to work with arbitrary keys (without Account ptrs)

Signed-off-by: Michael Schuster <michael@schuster.ms>
src/libsync/creds/keychainchunk.cpp
src/libsync/creds/keychainchunk.h