aboutsummaryrefslogtreecommitdiff
path: root/pkg/signatures/minisign/minisign.go
blob: 0daa04f930877f1d710101112763288851f75cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package minisign

import (
	"fmt"
	"io"

	"git.sigsum.org/sigsum-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")
}