[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: [PATCH] dbus-spec: introduce new PERMIT_INTERACTIVE_AUTHENTICATION
From:       Ted Gould <ted () gould ! cx>
Date:       2014-09-04 13:22:49
Message-ID: 1409836969.5247.1.camel () gould ! cx
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, 2014-09-03 at 20:26 +0200, Lennart Poettering wrote:

> +                <entry><literal>PERMIT_INTERACTIVE_AUTHENTICATION</literal></entry>


I think that the flag needs to be inverted. If we look today, services
are expecting that clients will allow interactive authentication and the
flag is set to zero. So a service would either have to break existing
clients or somehow determine whether they knew about the flag to make a
good choice. If a '1' there was made to be requesting a short reply the
current assumption about zero today would be adequate no mater if the
caller was aware of the new flag or not.

Also, I think we should add at the same time a standard error for "you
wanted quick, but I need interactive." (though it seems errors are only
described in the spec in relation to specific messages, so I'm not sure
where to put it)

Ted


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
On Wed, 2014-09-03 at 20:26 +0200, Lennart Poettering wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
+                &lt;entry&gt;&lt;literal&gt;PERMIT_INTERACTIVE_AUTHENTICATION&lt;/literal&gt;&lt;/entry&gt;
 </PRE>
</BLOCKQUOTE>
<BR>
I think that the flag needs to be inverted. If we look today, services are expecting \
that clients will allow interactive authentication and the flag is set to zero. So a \
service would either have to break existing clients or somehow determine whether they \
knew about the flag to make a good choice. If a '1' there was made to be requesting a \
short reply the current assumption about zero today would be adequate no mater if the \
caller was aware of the new flag or not.<BR> <BR>
Also, I think we should add at the same time a standard error for &quot;you wanted \
quick, but I need interactive.&quot; (though it seems errors are only described in \
the spec in relation to specific messages, so I'm not sure where to put it)<BR> <BR>
Ted<BR>
<BR>
</BODY>
</HTML>



_______________________________________________
dbus mailing list
dbus@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dbus


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic