You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app/models/concerns
Eugen Rochko 1618b68bfa HTTP signatures (#4146)
* Add Request class with HTTP signature generator

Spec: https://tools.ietf.org/html/draft-cavage-http-signatures-06

* Add HTTP signature verification concern

* Add test for SignatureVerification concern

* Add basic test for Request class

* Make PuSH subscribe/unsubscribe requests use new Request class

Accidentally fix lease_seconds not being set and sent properly, and
change the new minimum subscription duration to 1 day

* Make all PuSH workers use new Request class

* Make Salmon sender use new Request class

* Make FetchLinkService use new Request class

* Make FetchAtomService use the new Request class

* Make Remotable use the new Request class

* Make ResolveRemoteAccountService use the new Request class

* Add more tests

* Allow +-30 seconds window for signed request to remain valid

* Disable time window validation for signed requests, restore 7 days
as PuSH subscription duration (which was previous default due to a bug)
7 years ago
..
account_avatar.rb Define instance method outside #included (#3128) 8 years ago
account_finder_concern.rb Handle nil and blank cases in Account finders (#3500) 7 years ago
account_header.rb Define instance method outside #included (#3128) 8 years ago
account_interactions.rb Some minor change and spec for Account (#3813) 7 years ago
attachmentable.rb Fixes unknown mime type (#2822) 8 years ago
cacheable.rb Fix #248 - Reload all accounts when fetching from cache 8 years ago
paginable.rb Improve RuboCop rules (compatibility to Code Climate) (#3636) 7 years ago
remotable.rb HTTP signatures (#4146) 7 years ago
status_threading_concern.rb Introduce StatusThreadingConcern (#3490) 7 years ago
streamable.rb Define instance method outside #included (#3128) 8 years ago