mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
parent
14f95de8da
commit
9d7f6b3db4
@ -1186,7 +1186,7 @@ static int vl_method_encrypt(Varlink *link, JsonVariant *parameters, VarlinkMeth
|
||||
bool own_scope = p.scope == CREDENTIAL_USER && p.uid == peer_uid;
|
||||
|
||||
if (!own_scope || !timestamp_fresh) {
|
||||
/* Insist on PK if client wants to encrypt for another user or the system, or if the timestamp was explicitly overriden. */
|
||||
/* Insist on PK if client wants to encrypt for another user or the system, or if the timestamp was explicitly overridden. */
|
||||
r = varlink_verify_polkit_async(
|
||||
link,
|
||||
/* bus= */ NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user