<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I think with PKI tokens we had worse to worry about!<br>
<br>
At any rate, would be great to know, and if there isn't a strong
reason against it we can make project name 255 for some more
flexibility.<br>
<br>
Plus although there is no true official standard, most projects in
OpenStack seem to use 255 as the default for a lot of string fields.
Weirdly enough, a lot of projects seem to use 255 even for
project.id, which seeing as it's 64 in keystone, and a uuid4 anyway,
seems like a bit of a waste.<br>
<br>
<br>
<div class="moz-cite-prefix">On 29/09/16 16:19, Steve Martinelli
wrote:<br>
</div>
<blockquote
cite="mid:CAHc_MXEtu=5SLOB5O1hwkQ7rcTym_G-bJtUNnk6k4_FKmRBSAQ@mail.gmail.com"
type="cite">
<div dir="ltr">We may have to ask Adam or Dolph, or pull out the
history textbook for this one. I imagine that trying to not
bloat the token was definitely a concern. IIRC User name was 64
also, but we had to increase to 255 because we're not in control
of name that comes from external sources (like LDAP).</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 28, 2016 at 11:06 PM,
Adrian Turjak <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:adriant@catalyst.net.nz" target="_blank">adriant@catalyst.net.nz</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
Keystone Devs,<br>
<br>
Just curious as to the choice to have the project name be
only 64<br>
characters:<br>
<a moz-do-not-send="true"
href="https://github.com/openstack/keystone/blob/master/keystone/resource/backends/sql.py#L241"
rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>keystone/blob/master/keystone/<wbr>resource/backends/sql.py#L241</a><br>
<br>
Seems short, and an odd choice when the <a
moz-do-not-send="true" href="http://user.name"
rel="noreferrer" target="_blank">user.name</a> field is
255 characters:<br>
<a moz-do-not-send="true"
href="https://github.com/openstack/keystone/blob/master/keystone/identity/backends/sql_model.py#L216"
rel="noreferrer" target="_blank">https://github.com/openstack/<wbr>keystone/blob/master/keystone/<wbr>identity/backends/sql_model.<wbr>py#L216</a><br>
<br>
Is there a good reason for it only being 64 characters, or
is this just<br>
something that was done a long time ago and no one thought
about it?<br>
<br>
Not hugely important, just seemed odd and may prove limiting
for<br>
something I'm playing with.<br>
<br>
Cheers,<br>
Adrian Turjak<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a moz-do-not-send="true"
href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe"
rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>