diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-02 23:16:43 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-02 23:17:48 +0100 |
commit | 8da382069f42f6d88d3abf914dd38d7e40a845bc (patch) | |
tree | 780e8297ee3905ab662c6c88cb8bf33f0717c90c /pkg/signatures/minisign |
initial commit
Diffstat (limited to 'pkg/signatures/minisign')
-rw-r--r-- | pkg/signatures/minisign/minisign.go | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/signatures/minisign/minisign.go b/pkg/signatures/minisign/minisign.go new file mode 100644 index 0000000..8d8a9c4 --- /dev/null +++ b/pkg/signatures/minisign/minisign.go @@ -0,0 +1,22 @@ +package minisign + +import ( + "fmt" + "io" + + "git.sigsum.org/sigsum-lib-go/pkg/types" +) + +type Parser struct{} + +func (p *Parser) SignatureSuffix() string { + return ".minisig" +} + +func (p *Parser) PublicKey(r io.Reader) (*types.PublicKey, error) { + return nil, fmt.Errorf("TODO") +} + +func (p *Parser) Signature(r io.Reader) (*types.Signature, error) { + return nil, fmt.Errorf("TODO") +} |