]> cat aescling's git repositories - mastodon.git/commit
If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 28 Sep 2017 15:50:14 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2017 15:50:14 +0000 (17:50 +0200)
commit76f360c625d6f7e1200a35430cced872fc6098ff
treecaa27ee739a112ff0b317a377e64903b39709619
parenta3202f61af7d4833808d429c79dfc21e74f06c99
If HTTP signature is wrong and webfinger cache is stale, retry with resolve (#5129)

If the signature could not be verified and the webfinger of the account
was last retrieved longer than the cache period, try re-resolving the
account and then attempting to verify the signature again
app/controllers/concerns/signature_verification.rb
app/models/account.rb
app/services/resolve_remote_account_service.rb