-
Notifications
You must be signed in to change notification settings - Fork 6
Authentication Is Too Complicated #19
Comments
I agree, but this can't be changed easily, we would need to update all clients that are currently encrypting their payload to stop doing it before releasing a new version that only relies on API tokens. |
We can also just ignore and not require the payload so that it is backwards-compatible. |
What would you ignore? We currently have clients sending encrypted value for One approach could be to have a new endpoint, in order to have some kind of versioned API, but that sounds unnecessarily complicated. |
Hmm true. I wasn't thinking about that. How about we accept either just the |
I guess we technically could try to do that. My current suggestion is to:
I think it's the best compromise (at least for me) since it doesn't require a lot of extra work. |
I don't see a reason to deprecate the encryption, mostly because I don't want to touch any code that's using it. Providing a separate ping endpoint that's simpler would give users (and other adopters of cronut) the option to dial in their paranoia level. |
I don't know why the ping requests need to be so locked down. I think just sending the job token over https is probably secure enough - we could add an optional shared API key too.
The text was updated successfully, but these errors were encountered: