Folks,

Is there a bug in ceph RGW date parsing?
https://github.com/ceph/ceph/blob/master/src/rgw/rgw_auth_s3.cc#L223 - this
line parses the date in x-amz-date as RFC 2616. BUT the format specified by
Amazon S3 is ISO 8601 basic - YYYYMMDDTHHMMSSZ (
https://docs.aws.amazon.com/ses/latest/APIReference-V2/CommonParameters.html).
I think this causes an error in my tests stating NOTICE: failed to parse
date for auth header. Am I reading the code wrong?

s3Cmd specified for testing in rook docs uses SigV4 (as recommended) so am
assuming this code path isn't getting exercised. I am trying to run the
benchmark from https://github.com/wasabi-tech/s3-benchmark and this uses
sig v2. FWIW it works once I remove the header and add a HTTP date instead.

Sorry I don't have access to the bug tracker (pending account creation), so
mailing here.

Thanks. Subu
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to