[PATCH] dbus-spec: introduce new PERMIT_INTERACTIVE_AUTHENTICATION
Thiago Macieira
thiago at kde.org
Wed Sep 3 12:23:23 PDT 2014
On Wednesday 03 September 2014 20:26:22 Lennart Poettering wrote:
> + <entry><literal>PERMIT_INTERACTIVE_AUTHENTICATION</literal>
> </entry> + <entry>0x4</entry>
> + <entry>This is a hint that may be set on a method call
> + message that informs the receiving side that the
> + caller is OK if possibly time-intensive interactive
> + user authentication may take place before the method
> + call will complete. A client may set this flag if it
> + is prepared to wait for a longer time before the
> + method call returns, and if its UI may be interrupted
> + by interactively querying the user for passwords or
> + confirmation. This flag is only useful when
> + unprivileged code calls a more priviliged method call,
> + and an authentication framework is deployed that
> + allows possibly interactive authentication. If no such
> + framework is deployed it has no effect. This flag
> + should not be set by default by client
> + implementations. If it is set the caller also should
> + set a suitably long timeout on the method call to make
> + sure the user interaction may complete. This flag is
> + only valid for method call messages, and shall be
> + ignored otherwise.
How about removing the part about authentication and privileges, simply make
the flag indicate that the caller is ok with a lengthy operation from the
callee?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
More information about the dbus
mailing list