aboutsummaryrefslogtreecommitdiff
path: root/server/store
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-02-19 00:25:42 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-02-19 00:43:10 +0000
commite8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba (patch)
tree52dd38d68c07991bbbb6b8757b0769f4c5fab20e /server/store
parent19dcff5d7245295d4508a71bb0ed2a886ada7a13 (diff)
Add grpc signer
Diffstat (limited to 'server/store')
-rw-r--r--server/store/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/store/store.go b/server/store/store.go
index d157fd1..cf69225 100644
--- a/server/store/store.go
+++ b/server/store/store.go
@@ -53,6 +53,6 @@ func parseCertificate(cert *ssh.Certificate) *CertRecord {
Principals: types.StringSlice(cert.ValidPrincipals),
CreatedAt: parseTime(cert.ValidAfter),
Expires: parseTime(cert.ValidBefore),
- Raw: lib.GetPublicKey(cert),
+ Raw: string(lib.GetPublicKey(cert)),
}
}