-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Figure out SignatureDoesNotMatch issue #1
Comments
An annoying update: I had made a few tweaks and this briefly worked, e.g.: ^^ shows an example of the Logseq client uploading a few encrypted blobs to the S3 bucket successfully, using the STS credentials to generate presigned URLs and then upload things. I haven't been able to replicate this, despite not (as far as I remember) changing anything. But it indicates that it isn't broken in some major way, just some finicky minor way. |
Okay, I've traced this to the Here's the upstream issue on logseq/rsapi, I'm closing this one out. |
Currently, the API can issue temporary credentials that have a policy allowed to access a random
/temp/...
scratchpad in the bucket, but when the Logseq client generates presigned upload URLs, they're invalid. Snippet:These types of things are always annoying to debug because a single bit in the wrong place messes up the signatures. I've compared the responses from the self-hosted server versus the real server, and they look fine, and I've gone through the
s3_presign
code used inrsapi
, but haven't seen anything obvious yet.The text was updated successfully, but these errors were encountered: