https://github.com/smira/go-kmip
KMIP protocol implementation in Go
https://github.com/smira/go-kmip
go golang kmip kms
Last synced: 8 months ago
JSON representation
KMIP protocol implementation in Go
- Host: GitHub
- URL: https://github.com/smira/go-kmip
- Owner: smira
- License: mpl-2.0
- Created: 2019-03-01T21:39:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T14:42:56.000Z (about 2 years ago)
- Last Synced: 2025-09-06T02:42:59.671Z (9 months ago)
- Topics: go, golang, kmip, kms
- Language: Go
- Size: 67.4 KB
- Stars: 28
- Watchers: 5
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-kmip
=======
[](https://travis-ci.org/smira/go-kmip)
[](https://codecov.io/gh/smira/go-kmip)
[](http://godoc.org/github.com/smira/go-kmip)
[](https://goreportcard.com/report/github.com/smira/go-kmip)
go-kmip implements subset of [KMIP 1.4](http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html) protocol.
Basic TTLV encoding/decoding is fully implemented, as well as the basic client/server operations.
Other operations and fields could be implemented by adding required Go structures with KMIP tags.
KMIP protocol is used to access KMS solutions: generating keys, certificates,
accessing stored objects, etc.
KMIP is using TTLV-like encoding, which is implemented in this packaged
as encoding/decoding of Go struct types. Go struct fields are annotated with
`kmip` tags which specify KMIP tag names. Field is encoded/decoded according
to its tag, type.
Two high-level objects are implemented: Server and Client. Server listens for
TLS connections, does initial handshake and processes batch requests from the
clients. Processing of specific operations is delegated to operation handlers.
Client objects establishes connection with the KMIP server and allows sending
any number of requests over the connection.
This package doesn't implement any actual key processing or management - it's outside
the scope of this package.
License
-------
This code is licensed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/).