token-server/vendor/github.com/docker/libtrust
Vincent Batts 5699bdfa8f
adding vendored sources for local builds
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2025-02-05 14:59:50 -05:00
..
certificates.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
CONTRIBUTING.md adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
doc.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
ec_key.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
filter.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
hash.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
jsonsign.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
key.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
key_files.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
key_manager.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
LICENSE adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
MAINTAINERS adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
README.md adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
rsa_key.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00
util.go adding vendored sources for local builds 2025-02-05 14:59:50 -05:00

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.

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