mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
FdoSecrets: reject setting refs via the API (#7043)
* FdoSecrets: add TOTP as a readonly attribute * FdoSecrets: reject setting fields containing refs, fixes #6802 It is still possible to set refs using KPXC UI.
This commit is contained in:
@@ -89,6 +89,7 @@ private slots:
|
||||
void testItemSecret();
|
||||
void testItemDelete();
|
||||
void testItemLockState();
|
||||
void testItemRejectSetReferenceFields();
|
||||
|
||||
void testAlias();
|
||||
void testDefaultAliasAlwaysPresent();
|
||||
@@ -120,6 +121,8 @@ private:
|
||||
const FdoSecrets::wire::StringStringMap& attr,
|
||||
bool replace,
|
||||
bool expectPrompt = false);
|
||||
FdoSecrets::wire::Secret
|
||||
encryptPassword(QByteArray value, QString contentType, const QSharedPointer<SessionProxy>& sess);
|
||||
template <typename Proxy> QSharedPointer<Proxy> getProxy(const QDBusObjectPath& path) const
|
||||
{
|
||||
auto ret = QSharedPointer<Proxy>{
|
||||
|
||||
Reference in New Issue
Block a user