)]}'
{"specs/juno/draft-session-tokens.rst":[{"author":{"_account_id":9624,"name":"Ramy Asselin","email":"ramyasselin@yahoo.com","username":"asselin"},"change_message_id":"b2969c9b044d69bcce9871527ec10199993ed831","unresolved":false,"context_lines":[{"line_number":41,"context_line":"*  Are only honored by Keystone"},{"line_number":42,"context_line":"*  Can be exchanged for a scoped token with a longer expiration time"},{"line_number":43,"context_line":"*  The request will return the list of projects."},{"line_number":44,"context_line":"*  Will have a timestamp for when they are initially issued.  THis will be passed on to all tokens (both scoped and unscoped) created from the unscoped token.  If the unscoped token is revoked, all tokens with the same (userid, issued-at) value will also be revoked. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_c38c8782","line":44,"updated":"2014-07-09 17:50:35.000000000","message":"s/THis/this/","commit_id":"6f7338e95bcd9e686848cc3352bdcd325667a80f"},{"author":{"_account_id":9624,"name":"Ramy Asselin","email":"ramyasselin@yahoo.com","username":"asselin"},"change_message_id":"b2969c9b044d69bcce9871527ec10199993ed831","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Alternatives"},{"line_number":61,"context_line":"------------"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The list of the projects does not have to be in the response.  But, if it iw not, there is additional work necessary on the fetch of the list of the proejcts.  Since unscoped tokens do not have a service catalog, there is no way to determin where the fetch should happen from;  the obvious place is OS_AUTH_URL.  However, the Keystone client does not have support for sending arbitray requests to UTH_URL; it expects them to come through the service catalog."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"In addition, RBAC policy for the project list has to operate in the absense of role data, as an unscoped token will not have any roles.  This means that it is possible to change the policy file such that auser could never list their projects, effectively breaking Horizon and most of OpenStack."},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_43cf97b0","line":63,"updated":"2014-07-09 17:50:35.000000000","message":"s/iw/is/","commit_id":"6f7338e95bcd9e686848cc3352bdcd325667a80f"},{"author":{"_account_id":9624,"name":"Ramy Asselin","email":"ramyasselin@yahoo.com","username":"asselin"},"change_message_id":"b2969c9b044d69bcce9871527ec10199993ed831","unresolved":false,"context_lines":[{"line_number":120,"context_line":"* Does this change involve using or parsing user-provided data? This could"},{"line_number":121,"context_line":"  be directly at the API level or indirectly such as changes to a cache layer."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"There is an additional paramter to the token request, but that wil be handled by the existing parsing mechanisms.."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"* Can this change enable a resource exhaustion attack, such as allowing a"},{"line_number":126,"context_line":"  single API interaction to consume significant server resources? Some examples"}],"source_content_type":"text/x-rst","patch_set":1,"id":"baada198_631f3b0a","line":123,"updated":"2014-07-09 17:50:35.000000000","message":"/wil/will/\n/.././","commit_id":"6f7338e95bcd9e686848cc3352bdcd325667a80f"}],"specs/juno/session-tokens.rst":[{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"  https://blueprints.launchpad.net/keystone/+spec/session-extendable-tokens"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"  Short lived, unscoped tokens.  Used by Horizon and similar applications"},{"line_number":15,"context_line":"  these tokens can only be used with Keystone.  They will serve as a cache"},{"line_number":16,"context_line":"  of authentication, so that the other services do not need to record the"},{"line_number":17,"context_line":"  users credentials.  A session token will be used to get a scoped token."}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_e7f429f3","line":14,"updated":"2014-07-23 09:06:27.000000000","message":"Full stop after applications.","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":14,"context_line":"  Short lived, unscoped tokens.  Used by Horizon and similar applications"},{"line_number":15,"context_line":"  these tokens can only be used with Keystone.  They will serve as a cache"},{"line_number":16,"context_line":"  of authentication, so that the other services do not need to record the"},{"line_number":17,"context_line":"  users credentials.  A session token will be used to get a scoped token."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Problem Description"},{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_47e5d536","line":17,"updated":"2014-07-23 09:06:27.000000000","message":"user\u0027s","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":19,"context_line":"Problem Description"},{"line_number":20,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Horizon now requires a scoped token to be converted to a differently scoped token.  Horizon then revokes the old token.  It does this so that it only  needs to hold on to a single token.  "},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"The mechanism where a token can be exchanged for another token of greater scope is at odds with accepted security practice.  Access should only decrease the further removed from the initial authenitcation.   Tokens exchanged for other  tokens should only decrease in scope.  As Keystone is currently designed, one exposed token can provide all access to all roles a user has."},{"line_number":25,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_c7c805ab","line":22,"updated":"2014-07-23 09:06:27.000000000","message":"Extra white space","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Horizon now requires a scoped token to be converted to a differently scoped token.  Horizon then revokes the old token.  It does this so that it only  needs to hold on to a single token.  "},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"The mechanism where a token can be exchanged for another token of greater scope is at odds with accepted security practice.  Access should only decrease the further removed from the initial authenitcation.   Tokens exchanged for other  tokens should only decrease in scope.  As Keystone is currently designed, one exposed token can provide all access to all roles a user has."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"   When one token is exchanged for another, the expiration time of the new token matches the expiration time of the original token.  This was implemented to limit the exposure if a token were stolen.  However, when the lifespan of a token is short, Horizon will require that the user re-enter their password much more frequently.  Aside from being a suboptimal user experience, it increases the expose of passwords and the corresponding possibility of interdiction."},{"line_number":27,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_07c2fd85","line":24,"updated":"2014-07-23 09:06:27.000000000","message":"s/where/whereby","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"The mechanism where a token can be exchanged for another token of greater scope is at odds with accepted security practice.  Access should only decrease the further removed from the initial authenitcation.   Tokens exchanged for other  tokens should only decrease in scope.  As Keystone is currently designed, one exposed token can provide all access to all roles a user has."},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"   When one token is exchanged for another, the expiration time of the new token matches the expiration time of the original token.  This was implemented to limit the exposure if a token were stolen.  However, when the lifespan of a token is short, Horizon will require that the user re-enter their password much more frequently.  Aside from being a suboptimal user experience, it increases the expose of passwords and the corresponding possibility of interdiction."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"   In a standard web application, a user enters their credentials at the beginning, and then the session should only live a short time (10 minutes is the norm)before the user would be timed out for inactivity.   Any interaction during that 10 minute window will extend the lifespan of session for another 10 minutes."},{"line_number":29,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_e7b189e1","line":26,"updated":"2014-07-23 09:06:27.000000000","message":"This paragraph is indented","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"   When one token is exchanged for another, the expiration time of the new token matches the expiration time of the original token.  This was implemented to limit the exposure if a token were stolen.  However, when the lifespan of a token is short, Horizon will require that the user re-enter their password much more frequently.  Aside from being a suboptimal user experience, it increases the expose of passwords and the corresponding possibility of interdiction."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"   In a standard web application, a user enters their credentials at the beginning, and then the session should only live a short time (10 minutes is the norm)before the user would be timed out for inactivity.   Any interaction during that 10 minute window will extend the lifespan of session for another 10 minutes."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Proposed Change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_07c83d55","line":28,"updated":"2014-07-23 09:06:27.000000000","message":"This paragraph is indented","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Proposed Change"},{"line_number":32,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Create a new class of unscoped tokens:session tokens."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Aspects of session tokens:"},{"line_number":37,"context_line":"*  have default expiration of 10 minutes."}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_8710cdac","line":34,"updated":"2014-07-23 09:06:27.000000000","message":"IMHO this line would be easier on the eyes if we replaced the colon with \"called\".","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":34,"context_line":"Create a new class of unscoped tokens:session tokens."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Aspects of session tokens:"},{"line_number":37,"context_line":"*  have default expiration of 10 minutes."},{"line_number":38,"context_line":"*  can have their expiration time extended."},{"line_number":39,"context_line":"*  Only unscoped."},{"line_number":40,"context_line":"*  Have no catalog, except for the identity service/endpoint"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_4775d5f8","line":37,"updated":"2014-07-23 09:06:27.000000000","message":"Some bullet points end in period, some don\u0027t. I would just vote for consistency one way or the other.\n\nAlso the bullet points did not get rendered correctly:\n\nhttp://docs-draft.openstack.org/12/105812/2/check/gate-keystone-specs-docs/956139d/doc/build/html/specs/juno/session-tokens.html","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":41,"context_line":"*  Are only honored by Keystone"},{"line_number":42,"context_line":"*  Can be exchanged for a scoped token with a longer expiration time"},{"line_number":43,"context_line":"*  The request will return the list of projects."},{"line_number":44,"context_line":"*  Will have a timestamp for when they are initially issued.  THis will be passed on to all tokens (both scoped and unscoped) created from the unscoped token.  If the unscoped token is revoked, all tokens with the same (userid, issued-at) value will also be revoked. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_c758058d","line":44,"updated":"2014-07-23 09:06:27.000000000","message":"s/THis/This\n\nWhite space at the end of the last bullet point","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":44,"context_line":"*  Will have a timestamp for when they are initially issued.  THis will be passed on to all tokens (both scoped and unscoped) created from the unscoped token.  If the unscoped token is revoked, all tokens with the same (userid, issued-at) value will also be revoked. "},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Django-openstack-auth (DOA) requires a corresponding set of changes."},{"line_number":50,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_0752fd67","line":47,"updated":"2014-07-23 09:06:27.000000000","message":"Remove Extra lines","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":46,"context_line":""},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"Django-openstack-auth (DOA) requires a corresponding set of changes."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"*  DOA will submit the initial request for an unscoped token to OS_AUTH_URL.  DOA will store the full token in the session cookie.  As such, the size of the unscoped token much be kept as small as possible.  In the response, it will read the list of projects, and store those in the session as well."},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_2782a1a5","line":49,"updated":"2014-07-23 09:06:27.000000000","message":"Django-openstack-auth suddenly appears here. Can you add some information about why it needs a corresponding set of changes.","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"*  When the user selects a project, DOA will submit the unscoped token to OS_AUTH_URL for a token scoped to the project and store the scoped token in the session.  Storage of the scoped token is optional, but highly recommended.  It implies the use of Memcached for the body of the token, with just a key stored in a session cookie."},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Revocation Events will need to be able to handle the revoke by (userid, issued-at) criteria. "},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"Unscoped tokens will be limited to a \"same origin\" policy.  As such, when Horizon or another service requests a token, it will be via HTTPS, and the Keystone server will verify the client certificate.   A configuration value will specify which attribute in the client certificate indicates the origin of the request."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_c7b48584","line":55,"updated":"2014-07-23 09:06:27.000000000","message":"Remove white space","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":60,"context_line":"Alternatives"},{"line_number":61,"context_line":"------------"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"The list of the projects does not have to be in the response.  But, if it iw not, there is additional work necessary on the fetch of the list of the proejcts.  Since unscoped tokens do not have a service catalog, there is no way to determin where the fetch should happen from;  the obvious place is OS_AUTH_URL.  However, the Keystone client does not have support for sending arbitray requests to UTH_URL; it expects them to come through the service catalog."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"In addition, RBAC policy for the project list has to operate in the absense of role data, as an unscoped token will not have any roles.  This means that it is possible to change the policy file such that auser could never list their projects, effectively breaking Horizon and most of OpenStack."},{"line_number":66,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_6751f92f","line":63,"updated":"2014-07-23 09:06:27.000000000","message":"typo \"if it iw not\"\n\nAlso \"UTH_URL\"?","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":70,"context_line":"Data Model Impact"},{"line_number":71,"context_line":"-----------------"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Non Data Model Impact."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"The additional data in the tokens will be encapsulated in the serialized JSON Blob. Since tokens are moving toward being ephemeral, none of this information will be stored in the database long term. "},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_ca072c17","line":73,"updated":"2014-07-23 09:06:27.000000000","message":"Non \u003d No","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Non Data Model Impact."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"The additional data in the tokens will be encapsulated in the serialized JSON Blob. Since tokens are moving toward being ephemeral, none of this information will be stored in the database long term. "},{"line_number":76,"context_line":""},{"line_number":77,"context_line":"No Database Migrations are required."},{"line_number":78,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_ea0a301f","line":75,"updated":"2014-07-23 09:06:27.000000000","message":"Remove white space","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"REST API Impact"},{"line_number":81,"context_line":"---------------"},{"line_number":82,"context_line":"  The token request will contain the additional attributes:"},{"line_number":83,"context_line":"   The \"session\" keyword."},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"  The token will contain the additional attributes:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_8a2454b3","line":82,"updated":"2014-07-23 09:06:27.000000000","message":"Fix indentation","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* Does this change touch sensitive data such as tokens, keys, or user data?"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"Yes, tokens. "},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"* Does this change alter the API in a way that may impact security, such as"},{"line_number":108,"context_line":"  a new way to access sensitive information or a new way to login?"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_4a1b1c73","line":105,"updated":"2014-07-23 09:06:27.000000000","message":"Remove white space","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"},{"author":{"_account_id":11045,"name":"Bob Thyne","email":"bob.thyne@hp.com","username":"bobt"},"change_message_id":"da2f9af985c29978d53550a9fe95ff571b0ae6a1","unresolved":false,"context_lines":[{"line_number":120,"context_line":"* Does this change involve using or parsing user-provided data? This could"},{"line_number":121,"context_line":"  be directly at the API level or indirectly such as changes to a cache layer."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":"There is an additional paramter to the token request, but that wil be handled by the existing parsing mechanisms.."},{"line_number":124,"context_line":""},{"line_number":125,"context_line":"* Can this change enable a resource exhaustion attack, such as allowing a"},{"line_number":126,"context_line":"  single API interaction to consume significant server resources? Some examples"}],"source_content_type":"text/x-rst","patch_set":2,"id":"baada198_2a3348f8","line":123,"updated":"2014-07-23 09:06:27.000000000","message":"s/paramter/parameter\n\ns/wil/will\n\nAn extra period at end of line 123","commit_id":"2465f86c77e2412c961b8f9d184d35a2e67ce479"}]}
