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

import (
	"fmt"
	"io"

	"git.sigsum.org/sigsum-lib-go/pkg/types"
)

type Parser struct{}

func (p *Parser) SignatureSuffix() string {
	return ".sig"
}

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")
}