make credo happy
This commit is contained in:
parent
9ed2fa7cdf
commit
6b6a53a502
2 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
# https://tools.ietf.org/html/draft-cavage-http-signatures-08
|
# https://tools.ietf.org/html/draft-cavage-http-signatures-08
|
||||||
defmodule HTTPSignatures do
|
defmodule HTTPSignatures do
|
||||||
|
@moduledoc """
|
||||||
|
HTTP Signatures library.
|
||||||
|
"""
|
||||||
|
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
def split_signature(sig) do
|
def split_signature(sig) do
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
defmodule HTTPSignatures.TestAdapter do
|
defmodule HTTPSignatures.TestAdapter do
|
||||||
@behaviour HTTPSignatures.Adapter
|
@behaviour HTTPSignatures.Adapter
|
||||||
|
|
||||||
|
@moduledoc "Test adapter for HTTPSignatures library."
|
||||||
|
|
||||||
@mastodon_admin_pubkey hd(
|
@mastodon_admin_pubkey hd(
|
||||||
:public_key.pem_decode(
|
:public_key.pem_decode(
|
||||||
File.read!("test/admin@mastodon.example.org.key")
|
File.read!("test/admin@mastodon.example.org.key")
|
||||||
|
|
Loading…
Reference in a new issue