Primitives for identity and authorization
Go
Latest commit aabc10e Jul 9, 2016 @dmcgowan dmcgowan committed on GitHub Merge pull request #56 from thaJeztah/add-deprecation-warning
Add deprecation warning
Permalink
Failed to load latest commit information.
testutil Move certificate generation for tests into testutil package Sep 12, 2014
tlsdemo Refactor with more test coverage Aug 21, 2014
trustgraph Fix vet errors Nov 5, 2014
CONTRIBUTING.md Add license, contributing guide, and basic documentation Sep 8, 2014
LICENSE Add license, contributing guide, and basic documentation Sep 8, 2014
MAINTAINERS Add Derek and Josh to maintainers Jul 31, 2014
README.md Add deprecation warning Jul 5, 2016
certificates.go Add helper functions to load certificates and pools Sep 12, 2014
certificates_test.go Add helper functions to load certificates and pools Sep 12, 2014
doc.go Add license, contributing guide, and basic documentation Sep 8, 2014
ec_key.go Update ec_key.go Nov 18, 2014
ec_key_test.go Refactor with more test coverage Aug 21, 2014
filter.go switch hosts between []string and []interface{} Oct 23, 2014
filter_test.go switch hosts between []string and []interface{} Oct 23, 2014
hash.go Refactor of libtrust Aug 12, 2014
jsonsign.go Remove unnecessary use of pointer types Jan 14, 2015
jsonsign_test.go Add capability to merge signatures signed by different parties Jan 9, 2015
key.go Refactor with more test coverage Aug 21, 2014
key_files.go Refactor with more test coverage Aug 21, 2014
key_files_test.go Fix vet errors Nov 5, 2014
key_manager.go docs for configurable server name and domain Jan 7, 2015
key_test.go Don't record generation time on fingerprint bench Nov 24, 2014
rsa_key.go Update rsa_key.go Nov 18, 2014
rsa_key_test.go Refactor of libtrust Aug 12, 2014
util.go Fix typo in comment Feb 23, 2016
util_test.go util: fix and tests for base64url May 26, 2015

README.md

libtrust

WARNING this library is no longer actively developed, and will be integrated in the [docker/distribution][https://www.github.com/docker/distribution] repository in future.

Libtrust is library for managing authentication and authorization using public key cryptography.

Authentication is handled using the identity attached to the public key. Libtrust provides multiple methods to prove possession of the private key associated with an identity.

  • TLS x509 certificates
  • Signature verification
  • Key Challenge

Authorization and access control is managed through a distributed trust graph. Trust servers are used as the authorities of the trust graph and allow caching portions of the graph for faster access.

Copyright and license

Code and documentation copyright 2014 Docker, inc. Code released under the Apache 2.0 license. Docs released under Creative commons.