Tuesday, 2017-10-17

*** openstackgerrit has joined #swift308:44
openstackgerritKota Tsuyuzaki proposed openstack/swift3 master: Don't merge: Check if email can be used to replace multifile  https://review.openstack.org/51254308:44
*** NM has joined #swift309:51
openstackgerritKota Tsuyuzaki proposed openstack/swift3 master: Don't merge: Check if email can be used to replace multifile  https://review.openstack.org/51254309:58
*** _CrustY has quit IRC10:24
*** NM has quit IRC10:25
*** _CrustY has joined #swift310:25
openstackgerritKota Tsuyuzaki proposed openstack/swift3 master: Don't merge: Check if email can be used to replace multifile  https://review.openstack.org/51254310:26
*** openstackgerrit has quit IRC10:33
*** NM has joined #swift310:47
*** NM has quit IRC10:52
*** openstackgerrit has joined #swift311:19
openstackgerritKota Tsuyuzaki proposed openstack/swift3 master: Don't merge: Check if email can be used to replace multifile  https://review.openstack.org/51254311:19
*** tgk has joined #swift313:46
*** NM has joined #swift314:54
*** chsc has joined #swift316:33
*** chsc has quit IRC16:33
*** chsc has joined #swift316:33
*** nikivi has quit IRC16:36
NMHi everyone! We have a custom authentication middleware before swift3 which validates our users and sets authorize_override = True. I check out that Keystone verifies this variable to bypass authentication but I didn’t find anything like that on swift3. Is it possible to sinalize to swift3 that the request was already authenticated?16:48
timburkeNM: swift3 should only care about the request if there's an Authorization header or query params that make it look like an S3 request -- normal swift requests pass right through16:55
*** nikivi has joined #swift316:57
NMtimburke: I see. The problem is that our custom middleware also uses the Authorization header. (It was 'inspired' on swauth)16:57
timburkewhat's the Authorization header look like?16:58
NMAuthorization: Bearer AREALLYBIGHASHWITHLETTERSANDNUMBER1234567890l+Dw==17:00
timburkeugh. we should have broken https://github.com/openstack/swift3/blob/1.12/swift3/request.py#L555-L556 out to two cases -- not auth_str.startswith('AWS ') should really raise NotS3Request...17:02
timburkesorry :-(17:02
timburkefor some reason i thought that we would pass through any Authorization headers that didn't start with either 'AWS ' or 'AWS4-HMAC-SHA256 '.... i'd really intended for that to be the case...17:03
NMtimburke: Thanks for the explanation! We were looking for the specific part which was returning the 403.17:14
*** caiobrentano has joined #swift317:16
*** NM has quit IRC19:03
*** NM has joined #swift319:07
*** NM has quit IRC19:42
*** NM has joined #swift319:46
*** NM has quit IRC20:04
*** NM has joined #swift320:05
*** NM has quit IRC21:09
*** caiobrentano has quit IRC21:16
*** tgk has quit IRC21:30
*** NM has joined #swift321:56
*** NM has quit IRC22:00
*** chsc has quit IRC23:38

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!