elixir-stellar-client icon indicating copy to clipboard operation
elixir-stellar-client copied to clipboard

SEP-10: apply grace period to minTime constraint

Open JakeUrban opened this issue 4 years ago • 1 comments

SEP-10: Apply grace period to minTime constraint

It is possible that the client machine's clock is behind the SEP-10 server machine's clock.

If this is the case, client applications calling readChallengeTx() may not be able to validate the challenge due to the challenge transaction's minimum timebound being greater than the client machine's current time.

Changes

readChallengeTx() or the equivalent function

  • Apply a 5-minute grace period to the minibum timebound check
    • i.e. the minimum timebound should be permitted to be at most 5 minutes in the future from the client machine's current time

Implementations

Both the JS and Go SDKs have been updated with these changes.

JakeUrban avatar Sep 17 '21 17:09 JakeUrban

https://github.com/stellar/stellar-protocol/issues/1057

JakeUrban avatar Sep 17 '21 17:09 JakeUrban