aboutsummaryrefslogtreecommitdiff
path: root/pkg/signatures/ssh
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-03-02 23:16:43 +0100
committerRasmus Dahlberg <rasmus@mullvad.net>2022-03-02 23:17:48 +0100
commit8da382069f42f6d88d3abf914dd38d7e40a845bc (patch)
tree780e8297ee3905ab662c6c88cb8bf33f0717c90c /pkg/signatures/ssh
initial commit
Diffstat (limited to 'pkg/signatures/ssh')
-rw-r--r--pkg/signatures/ssh/ssh.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/signatures/ssh/ssh.go b/pkg/signatures/ssh/ssh.go
new file mode 100644
index 0000000..d5fb8f4
--- /dev/null
+++ b/pkg/signatures/ssh/ssh.go
@@ -0,0 +1,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")
+}