Skip to content
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

Ensure TIMESTAMP presents date-time in English locale format for SRP authentication #45

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

vparashchak
Copy link
Contributor

It is not possible to authenticate when your iPhone's locale is not English. The error is thrown:

InvalidParameterException: TIMESTAMP format should be EEE MMM d HH:mm:ss z yyyy in english.

With my fix, the TIMESTAMP will present date-time in English locale format which will avoid the reported issue.

…authentication compatibility, regardless of phone's locale
@adam-fowler
Copy link
Member

en_US_POSIX has been used everywhere else. Do you want to use that

@vparashchak
Copy link
Contributor Author

@adam-fowler updated the pull request, thanks

@vparashchak
Copy link
Contributor Author

Hello @adam-fowler ! I noticed that some checks failed. To verify, I ran the tests locally without my proposed changes and encountered the same error. This confirms that the issue isn't due to the locale change. Given this, what's the next step for this PR? Currently, I'm using my fork because authentication with SRP isn't possible when the phone's locale isn't set to English.

@adam-fowler
Copy link
Member

I've seen this on other repo's. It looks like an issue with codecov.

@adam-fowler
Copy link
Member

I'll merge this and have a closer look

@adam-fowler adam-fowler merged commit 3065df3 into soto-project:main Oct 23, 2023
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants