Skip to content
Tags give the ability to mark specific points in history as being important
  • v1.0.0
    go-digest 1.0.0
    
    Welcome to the v1.0.0 release of go-digest!
    
    This is the first official release of the go-digest package. This package
    provides a simple toolkit for working with the digests used in the open
    containers ecosystem.
    
    This includes support for `sha256`, `sha384`, and `sha512` algorithms, with
    `sha256` being the most common and preferred for greatest compatibility across
    the ecosystem. Encoding ambiguity has been removed by only supporting lower
    case hex-encoded characters in the format for this release.
    
    The `digestset` package is provided to securely and unambiguously use
    shortened forms of the digest in environments where there is a full set
    of known digests.
    
    Please try out the release binaries and report any issues at
    https://github.com/opencontainers/go-digest/issues.
    
    ### Contributors
    
    * Stephen J Day
    * Derek McGowan
    * Vincent Batts
    * W. Trevor King
    * Chris Aniszczyk
    * Aaron Lehmann
    * Jonathan Boulle
    * xiekeyang
    * Akihiro Suda
    * Josh Hawn
    * Sebastiaan van Stijn
    * Tonis Tiigi
    * Akihiro Suda
    * Andy Goldstein
    * Brandon Philips
    * David Lawrence
    * Haibing Zhou
    * Harald Nordgren
    * Ian Campbell
    * Olivier Gambier
    * Vanessa Sochat
    * bin liu
    
    ### Changes
    
    * [`ea51bea5`](https://github.com/opencontainers/go-digest/commit/ea51bea511f75cfa3ef6098cc253c5c3609b037a) Merge pull request  [#56](https://github.com/opencontainers/go-digest/pull/56) from dmcgowan/release-1.0
    * [`43cccb7f`](https://github.com/opencontainers/go-digest/commit/43cccb7fb83cfd821f17d87df05202f77e85a706) Add release notes for v1.0.0
    * [`28d3ccc3`](https://github.com/opencontainers/go-digest/commit/28d3ccc31a47933556673856d9807b4ca436108e) Merge pull request  [#55](https://github.com/opencontainers/go-digest/pull/55) from dmcgowan/add-digestset
    * [`641993bf`](https://github.com/opencontainers/go-digest/commit/641993bf8f9a58385dae95802d22fba8806947db) Merge pull request  [#54](https://github.com/opencontainers/go-digest/pull/54) from vbatts/maintainers
    * [`17eb78b6`](https://github.com/opencontainers/go-digest/commit/17eb78b6c7011994c9091cc2cb5b250dfb394b38) Add copyright to digestset files
    * [`132fb476`](https://github.com/opencontainers/go-digest/commit/132fb4765b646579f8a4b0adaef2bdda37684998) Enable static checks
    * [`ecd7b3c7`](https://github.com/opencontainers/go-digest/commit/ecd7b3c77ddcf62299adba83edfecddb502df782) digestset: refine some words on unit test
    * [`5dd3cbe3`](https://github.com/opencontainers/go-digest/commit/5dd3cbe30c37cedc1b2a993126979e2f75f2d7b9) digest: migrate to opencontainers/go-digest
    * [`e0bfa0f7`](https://github.com/opencontainers/go-digest/commit/e0bfa0f7aae55caaad04afe89ab84908513b509b) digest: remove stuttering ParseDigest function
    * [`1cbb645d`](https://github.com/opencontainers/go-digest/commit/1cbb645d468c4a565467f3f4bf62107295811bcd) Typo fixes in comments
    * [`6ac142d3`](https://github.com/opencontainers/go-digest/commit/6ac142d3167937cb46fb2e449fc4258ca9fded19) Validate digest length on parsing
    * [`45599b9e`](https://github.com/opencontainers/go-digest/commit/45599b9e08217367d71cf5830d2cc02a85cca0bc) Add remove and list functions to digest set
    * [`96bf78c3`](https://github.com/opencontainers/go-digest/commit/96bf78c30a95b949a667fd0d9297bb417fe8653e) Refactor specification of supported digests
    * [`77570c98`](https://github.com/opencontainers/go-digest/commit/77570c98867cf5f2971a8de4992e31182b621df1) Add digest set implementation
    * [`45398c0a`](https://github.com/opencontainers/go-digest/commit/45398c0a094622a9def2478693bb1a28b84c2575) MAINTAINERS: add 2, remove 5
    * [`4b560741`](https://github.com/opencontainers/go-digest/commit/4b560741809dd10de7b455081e356258c70270d0) Merge pull request  [#51](https://github.com/opencontainers/go-digest/pull/51) from dmcgowan/update-pull-approve
    * [`c9095d47`](https://github.com/opencontainers/go-digest/commit/c9095d478a910cc6541343ef5ea6c36e3fabfb40) Merge pull request  [#52](https://github.com/opencontainers/go-digest/pull/52) from vbatts/copyright
    * [`dd78d752`](https://github.com/opencontainers/go-digest/commit/dd78d7521eee4ff6016d9b6273dc328308ac5a1c) Merge pull request  [#53](https://github.com/opencontainers/go-digest/pull/53) from philips/remove-philips
    * [`f65ba7f7`](https://github.com/opencontainers/go-digest/commit/f65ba7f7b943ffbfe7f990475550e32b0bb292f6) MAINTAINERS: remove Brandon Philips @philips
    * [`264d27f5`](https://github.com/opencontainers/go-digest/commit/264d27f5bd06661438eb54af596fb015b3f3049e) *: add OCI copyright
    * [`9d15c982`](https://github.com/opencontainers/go-digest/commit/9d15c982e6628aa6e3076bba8430fc504029bf59) README: spit paragraphs to new lines
    * [`998894bd`](https://github.com/opencontainers/go-digest/commit/998894bda92c78ec6b32ae48b1ea3d9828513e96) Merge pull request  [#32](https://github.com/opencontainers/go-digest/pull/32) from jonboulle/master
    * [`76a4f527`](https://github.com/opencontainers/go-digest/commit/76a4f527f297dedbcf34bc901aacac258074e12f) Merge pull request  [#49](https://github.com/opencontainers/go-digest/pull/49) from thaJeztah/update_go_versions
    * [`51d31fa8`](https://github.com/opencontainers/go-digest/commit/51d31fa8c11e46af884ea0c76cd88f0122d64571) Update pull approve configuration
    * [`f67466ba`](https://github.com/opencontainers/go-digest/commit/f67466bad37558eda50c8ebf3581eb04aeff9490) Merge pull request  [#50](https://github.com/opencontainers/go-digest/pull/50) from thaJeztah/update_aaron_email
    * [`ac2cd61e`](https://github.com/opencontainers/go-digest/commit/ac2cd61e1685a3cd084abfadd111bfe569cf02bc) Update Aaron's e-mail address
    * [`232efbd8`](https://github.com/opencontainers/go-digest/commit/232efbd85dd967e2700cc4f938c43d48ad4c6c30) travis: update list of go versions
    * [`e9a29da4`](https://github.com/opencontainers/go-digest/commit/e9a29da4f419356054dd9f43b5a1b2f403cefcbc) Merge pull request  [#48](https://github.com/opencontainers/go-digest/pull/48) from AkihiroSuda/gomod
    * [`2ccb1a5f`](https://github.com/opencontainers/go-digest/commit/2ccb1a5fe92c7e8a7afebe7636cdcf76fb5b510f) Merge pull request  [#44](https://github.com/opencontainers/go-digest/pull/44) from opencontainers/jonboulle-patch-1
    * [`ed218d06`](https://github.com/opencontainers/go-digest/commit/ed218d067feec1240e83e6b5301f55ba3b11d993) add go.mod
    * [`f35593ad`](https://github.com/opencontainers/go-digest/commit/f35593ad5480d90175f0b36e5566916c6cf92c2b) MAINTAINERS: fix jonboulle's email
    * [`ac19fd6e`](https://github.com/opencontainers/go-digest/commit/ac19fd6e7483ff933754af248d80be865e543d22) Merge pull request  [#42](https://github.com/opencontainers/go-digest/pull/42) from vsoch/fix/CoC-link
    * [`be46cde9`](https://github.com/opencontainers/go-digest/commit/be46cde944ba8fce9ecc70b049a64b49018f19a5) updating CoC link and security link
    * [`4eb64ca7`](https://github.com/opencontainers/go-digest/commit/4eb64ca734023ea9a10c70ff11dc0e3f69d38482) Merge pull request  [#40](https://github.com/opencontainers/go-digest/pull/40) from HaraldNordgren/go_versions
    * [`21d40dcb`](https://github.com/opencontainers/go-digest/commit/21d40dcbd73ff83fe4c88bece022adfc48fd7572) Bump Go versions and use '.x' to always get latest patch versions
    * [`c9281466`](https://github.com/opencontainers/go-digest/commit/c9281466c8b2f606084ac71339773efd177436e7) Merge pull request  [#38](https://github.com/opencontainers/go-digest/pull/38) from ijc/rename-license-code
    * [`b22736af`](https://github.com/opencontainers/go-digest/commit/b22736afcd4ef34cfbdb8f0009a03566e620d1e4) Rename LICENSE.code → LICENSE
    * [`279bed98`](https://github.com/opencontainers/go-digest/commit/279bed98673dd5bef374d3b6e4b09e2af76183bf) Merge pull request  [#34](https://github.com/opencontainers/go-digest/pull/34) from AkihiroSuda/regexp
    * [`4ca13015`](https://github.com/opencontainers/go-digest/commit/4ca13015b68d8b53802e6c9049953cdfc9a102ce) disallow upper characters (/A-F/) in hex-encoded portion
    * [`eaa60544`](https://github.com/opencontainers/go-digest/commit/eaa60544f31ccf3b0653b1a118b76d33418ff41b) Merge pull request  [#33](https://github.com/opencontainers/go-digest/pull/33) from stevvooe/future-proof-algorithm-field
    * [`678a95ef`](https://github.com/opencontainers/go-digest/commit/678a95ef59c0a2e6c11c40971679e175c610a75a) digest: allow validation of urlsafe base64 encoding
    * [`55f67581`](https://github.com/opencontainers/go-digest/commit/55f675811a1b915549933c64571fd86b2676ba76) digest: update package methods to reflect changes
    * [`5ab10f57`](https://github.com/opencontainers/go-digest/commit/5ab10f5714d4beb6b1ee60d4536d76bbc132e849) digest: allow separators in algorithm field
    * [`d1caf203`](https://github.com/opencontainers/go-digest/commit/d1caf2031586d7b12ff6d6a4dfca9ebfdb2722aa) doc: tweak wording around algorithms
    * [`b74b8405`](https://github.com/opencontainers/go-digest/commit/b74b8405fa6465d2ddf6a648999c8f08c5fccb2b) *: clarify we only deal with hex-encoded digests
    * [`aa2ec055`](https://github.com/opencontainers/go-digest/commit/aa2ec055abd10d26d539eb630a92241b781ce4bc) Merge pull request  [#27](https://github.com/opencontainers/go-digest/pull/27) from stevvooe/update-security-email
    * [`ef842085`](https://github.com/opencontainers/go-digest/commit/ef842085fc2b4e6b01b9cccf662e682bd78b8fc7) Merge pull request  [#28](https://github.com/opencontainers/go-digest/pull/28) from stevvooe/license-headers
    * [`b6234c32`](https://github.com/opencontainers/go-digest/commit/b6234c321f263c503268e3b205f3d9755f9d14ed) *: add LICENSE headers to Go files
    * [`0c911558`](https://github.com/opencontainers/go-digest/commit/0c911558627a1e6e7ba95aac8c4e2dfef64e5d4b) README: update security email
    * [`21dfd564`](https://github.com/opencontainers/go-digest/commit/21dfd564fd89c944783d00d069f33e3e7123c448) Merge pull request  [#22](https://github.com/opencontainers/go-digest/pull/22) from stevvooe/update-badges
    * [`7ecb13df`](https://github.com/opencontainers/go-digest/commit/7ecb13dfdf4e5afc016e3410f27f183269f47d97) Merge pull request  [#25](https://github.com/opencontainers/go-digest/pull/25) from stevvooe/new-maintainers
    * [`21c536d1`](https://github.com/opencontainers/go-digest/commit/21c536d114f13255147d5f031c7b5ae09d120e92) Merge pull request  [#24](https://github.com/opencontainers/go-digest/pull/24) from wking/mailmap
    * [`2b814ef8`](https://github.com/opencontainers/go-digest/commit/2b814ef87c2b86fcda9693079af048e245f0bfbb) MAINTAINERS: add new maintainers to go-digest
    * [`3b5193ac`](https://github.com/opencontainers/go-digest/commit/3b5193ac585a3f2f7f7b55a9d5cf88a841e42e8f) .mailmap: Consolidate Stephen's identities
    * [`8164758d`](https://github.com/opencontainers/go-digest/commit/8164758d9b05b2dcdfc62804041c014263cddc5a) README: update project urls for badges et al.
    * [`a6d0ee40`](https://github.com/opencontainers/go-digest/commit/a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb) Merge pull request  [#21](https://github.com/opencontainers/go-digest/pull/21) from caniszczyk/add-pullapprove
    * [`6b50c373`](https://github.com/opencontainers/go-digest/commit/6b50c3738f6bc6ebce6f425329dda1ecda942495) Merge pull request  [#19](https://github.com/opencontainers/go-digest/pull/19) from stevvooe/update-maintainers-file
    * [`2ce358bb`](https://github.com/opencontainers/go-digest/commit/2ce358bb6208bcba0291bd25d28f76be5d9ccd6c) Merge pull request  [#18](https://github.com/opencontainers/go-digest/pull/18) from stevvooe/remove-circle
    * [`2ea6f484`](https://github.com/opencontainers/go-digest/commit/2ea6f484057376b838e515e1dda410ad686d287d) Add PullApprove configuration
    * [`7b36afd2`](https://github.com/opencontainers/go-digest/commit/7b36afd2b8bbebaed0f87d87ca1e89233d8401e4) MAINTAINERS: update maintainers file
    * [`3bcadc9e`](https://github.com/opencontainers/go-digest/commit/3bcadc9e51dab21c457cd697b3170621f6bf7411) README: remove circle badge
    * [`8ab12b7a`](https://github.com/opencontainers/go-digest/commit/8ab12b7ad8b256e498482ff333bf70a876c02399) README: add go report card
    * [`3566a398`](https://github.com/opencontainers/go-digest/commit/3566a398c989edf0b514de8cc4d72420492a7df4) Merge pull request  [#13](https://github.com/opencontainers/go-digest/pull/13) from docker/stevvooe-patch-1
    * [`753403c1`](https://github.com/opencontainers/go-digest/commit/753403c1706285b55bf27b7b20787d7841ddebf7) digest: remove out of date godoc comment
    * [`7cc41cb6`](https://github.com/opencontainers/go-digest/commit/7cc41cb6bdaef29a38c6f7b34d70e5744234ea22) Merge pull request  [#12](https://github.com/opencontainers/go-digest/pull/12) from wking/license-cleanup
    * [`95db8560`](https://github.com/opencontainers/go-digest/commit/95db8560bfb4876e7ebab379c415b6e4416fb4c1) README: Remove 'docs' reference
    * [`fcf056d2`](https://github.com/opencontainers/go-digest/commit/fcf056d278d25c20e9a6e1d72577773089b23f24) README: Cleanup licensing (add CC BY-SA 4.0 for docs, etc.)
    * [`abeb4abc`](https://github.com/opencontainers/go-digest/commit/abeb4abc72badd7419b86963ab89e352aa9a2172) Merge pull request  [#10](https://github.com/opencontainers/go-digest/pull/10) from wking/no-algorithm-new
    * [`a7c631a3`](https://github.com/opencontainers/go-digest/commit/a7c631a39f41afc444f6947f3289f74917270dc2) Merge pull request  [#11](https://github.com/opencontainers/go-digest/pull/11) from wking/maintainer-tabs
    * [`ff8e67c8`](https://github.com/opencontainers/go-digest/commit/ff8e67c8699ffa5e1c16938832f0bb3569c8e190) MAINTAINERS: Replace spaces with tabs
    * [`fe5ffa6d`](https://github.com/opencontainers/go-digest/commit/fe5ffa6d5f496a7bd0299429d8a444cdf819cd15) algorithm: More New removal
    * [`5506f1c7`](https://github.com/opencontainers/go-digest/commit/5506f1c7c1ab5dade85331299b2a6ab415b9d4d5) Merge pull request  [#9](https://github.com/opencontainers/go-digest/pull/9) from stevvooe/remove-depcrated-interfaces
    * [`26162832`](https://github.com/opencontainers/go-digest/commit/261628326153520c9d5a6ae7db61b3f3ddc09301) digest: remove last of deprecated methods
    * [`27f628c1`](https://github.com/opencontainers/go-digest/commit/27f628c1e8df9bfd4e97c7f3ee2d57c48cd19de0) Merge pull request  [#7](https://github.com/opencontainers/go-digest/pull/7) from wking/contributing
    * [`79405cf1`](https://github.com/opencontainers/go-digest/commit/79405cf174d4c6c9b96b33e570ae6e1a0e8497ee) CONTRIBUTING.md: Pull in from docker/opensource's project-template
    * [`5bb1f32f`](https://github.com/opencontainers/go-digest/commit/5bb1f32fe176dc1f9ce41258ea481658ab981e19) Merge pull request  [#2](https://github.com/opencontainers/go-digest/pull/2) from stevvooe/remove-depcrated-interfaces
    * [`9bce8be2`](https://github.com/opencontainers/go-digest/commit/9bce8be2a961839b176bf21765cd1ad06d43e549) digest: remove deprecated interfaces
    * [`36db1987`](https://github.com/opencontainers/go-digest/commit/36db1987e6cbe3a984cf32f68f524abb6964d716) README: add security blurb and copyright/license
    * [`dde34b7f`](https://github.com/opencontainers/go-digest/commit/dde34b7f23e4b86ab4ea605ffaad4525d80da162) MAINTAINERS: add it
    * [`6843c1b3`](https://github.com/opencontainers/go-digest/commit/6843c1b32b76a9b18a71742bbea73dc301d74976) README: two builds are better than one!
    * [`872b7915`](https://github.com/opencontainers/go-digest/commit/872b79150ee5d23ea111ed56da0a9b189126b422) build: add travis configuration
    * [`5784f4fe`](https://github.com/opencontainers/go-digest/commit/5784f4fe66e732fffb83d6d6b40b61ff2fd4674b) LICENSE: add apache license
    * [`6dd648a9`](https://github.com/opencontainers/go-digest/commit/6dd648a969a845c82924c79c631ec91be34f36e7) README: describe this project
    * [`5cc77529`](https://github.com/opencontainers/go-digest/commit/5cc775298e7fbfe5363962bae328191a0c585bde) Fix small lint and unit test issues
    * [`f8e42060`](https://github.com/opencontainers/go-digest/commit/f8e420604f89209d830717a52db83f3f18d5d728) digest: better test coverage
    * [`f2bbe83d`](https://github.com/opencontainers/go-digest/commit/f2bbe83d533ee5052ab1e8b6391d243ffd97032c) Merge pull request  [#2105](https://github.com/opencontainers/go-digest/pull/2105) from stevvooe/algorithm-own-file
    * [`2e6b5ec5`](https://github.com/opencontainers/go-digest/commit/2e6b5ec5840e6150d9c29ff74f5704aa66ecb89b) digest: remove error return from Digest.Verifier
    * [`1bb0bb77`](https://github.com/opencontainers/go-digest/commit/1bb0bb77641619ba42daedb0edfa0a24c08236f0) digest: cleanup digester and verifier creation
    * [`a105b5c0`](https://github.com/opencontainers/go-digest/commit/a105b5c0e4d11ecc4dfb2f7e7c5b46a0b7ac54fe) digest: remove stuttering ParseDigest function
    * [`d1b2120e`](https://github.com/opencontainers/go-digest/commit/d1b2120e63252de269c8aa9cb06ca93959ed4a1a) digest: add FromString helper to Digest
    * [`33dceb5f`](https://github.com/opencontainers/go-digest/commit/33dceb5fcadcbd74fdc0abeb6fbe1744cdb92898) digest: add NewDigestFromBytes for completeness
    * [`58e4ce03`](https://github.com/opencontainers/go-digest/commit/58e4ce03cacf9f0b04452ed53879daea50b8bdad) Merge pull request  [#1306](https://github.com/opencontainers/go-digest/pull/1306) from stevvooe/from-bytes-algorithm
    * [`99f8dd84`](https://github.com/opencontainers/go-digest/commit/99f8dd8415c586d4b74b441f5d4ec0a22d00e8e0) digest: panic on unavailable hash algorithm
    * [`41d95918`](https://github.com/opencontainers/go-digest/commit/41d9591864bc7b1731808eec7feb854612bf5a72) digest: make FromBytes available on digest.Algorithm
    * [`5c5ed3c3`](https://github.com/opencontainers/go-digest/commit/5c5ed3c39e0c45a8b913c6f0f570848a6170cdd6) Remove tarsum support for digest package
    * [`cbf4fd89`](https://github.com/opencontainers/go-digest/commit/cbf4fd894a9f1121620fd70c5b704e94ffa13a36) Simplify digest.FromBytes calling convention
    * [`97212540`](https://github.com/opencontainers/go-digest/commit/97212540f996a57b73711cef582404c2d859a9ba) Validate digest length on parsing
    * [`511bed83`](https://github.com/opencontainers/go-digest/commit/511bed83da0d4acb6e1f663825eded23862c6331) Correct two golint comment issues
    * [`446200d2`](https://github.com/opencontainers/go-digest/commit/446200d22949684e9cb11c6f78e7031a718ebbc8) Add generic content digest tool
    * [`2d4d92cd`](https://github.com/opencontainers/go-digest/commit/2d4d92cd5335cb4710526dc0eb7d5523a86d72c4) Refactor specification of supported digests
    * [`a418a41d`](https://github.com/opencontainers/go-digest/commit/a418a41dcd5baaf24e52bef117e199277892ba02) Remove digest package's dependency on external sha implementation
    * [`e179c28e`](https://github.com/opencontainers/go-digest/commit/e179c28e85dd30a00dc6a4cc40358d3298c6075b) Merge pull request  [#260](https://github.com/opencontainers/go-digest/pull/260) from dmcgowan/short-digests
    * [`4d7d895f`](https://github.com/opencontainers/go-digest/commit/4d7d895f8a9cdff81b8bea8ab59a5b66189d3fb6) fix some typos in source comments
    * [`c1ecabf5`](https://github.com/opencontainers/go-digest/commit/c1ecabf53226beb019e02b74c6e6c67df88e1b1e) Use a build flag to disable resumable digests.
    * [`03274b6c`](https://github.com/opencontainers/go-digest/commit/03274b6c527099f116f7993fb4b624e65c06ee7e) Use resumable hash in digest package
    * [`0fd5e243`](https://github.com/opencontainers/go-digest/commit/0fd5e24389b37da5bb5c75524faae45142fac2f7) Remove unnecessary error pointer formats in test
    * [`1d0603a5`](https://github.com/opencontainers/go-digest/commit/1d0603a52871c0206aad06d17cba395ae75374e9) Correctly close pipe after error in tarsum verification
    * [`9e00a382`](https://github.com/opencontainers/go-digest/commit/9e00a38289b40ed4fa9272bdbca82e3e0cc6acea) supplement of digest refactoring
    * [`12db4ec0`](https://github.com/opencontainers/go-digest/commit/12db4ec0cdea2c49c75d6552376522a7a27dd4cb) digest: Minor refactoring
    * [`fe2fd6dc`](https://github.com/opencontainers/go-digest/commit/fe2fd6dcc10cfe24e6222f28c2ad9b4b7018e856) fixing up tests to work with for non-tarsum future Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
    * [`0d1c1d63`](https://github.com/opencontainers/go-digest/commit/0d1c1d6391594c4b58475fd3e29d36a5742f2ada) Merge branch 'master' of https://github.com/xiekeyang/distribution
    * [`87eb23d3`](https://github.com/opencontainers/go-digest/commit/87eb23d31a5be3b7b9752c2e97202e5ed2b0aad4) :func Validate in digest doesn't filter no-hex data
    * [`072e3daa`](https://github.com/opencontainers/go-digest/commit/072e3daaeecadf290388371dad10d6776d0fca30) func Validate in digest doesn't filter no-hex data
    * [`69d1d7db`](https://github.com/opencontainers/go-digest/commit/69d1d7dbdedfa7ff5a6848f3def8df23ef4a732a) Replace unsupported hashes with supported
    * [`b769db79`](https://github.com/opencontainers/go-digest/commit/b769db796cab8182d835b6b5ac45ccbbd8c2e36f) Handle empty blob files more appropriately
    * [`cce0ab64`](https://github.com/opencontainers/go-digest/commit/cce0ab64e749b0c6f7f28feea3c7d55e44c3fc4a) Explicitly select digest method for content
    * [`9475c3a7`](https://github.com/opencontainers/go-digest/commit/9475c3a761cf0d2f3acab7e36cd4c8f6eb36513b) Move testutil package to top-level
    * [`8e4a016f`](https://github.com/opencontainers/go-digest/commit/8e4a016f4658b9836158b94ecfd7dd0b033a21ba) Move tarsum utilities out of common package
    * [`65358531`](https://github.com/opencontainers/go-digest/commit/65358531876c19036498088af2e79c891798fa34) Move from docker-registry to distribution
    * [`afc17d28`](https://github.com/opencontainers/go-digest/commit/afc17d28325c323f77b788fcada25fb6fd293c65) Automatically generate V2 API specification
    * [`9ecb42f0`](https://github.com/opencontainers/go-digest/commit/9ecb42f0e66a5cbf018ad09f924e5e121dbf33f5) Clean up layer storage layout
    * [`bfefe0d1`](https://github.com/opencontainers/go-digest/commit/bfefe0d1cc82c501de35c65851e89a8cb93f5b09) Various adjustments to digest package for govet/golint
    * [`b40957d0`](https://github.com/opencontainers/go-digest/commit/b40957d0f3a524f92f514903dad58df1cbead1d6) Move Digest type into discrete package
    
    ### Dependency Changes
    
    This release has no dependency changes
    
    
  • v1.0.0-rc1
    Open Containers Go Digest v1.0.0-rc1
    
    Welcome to another release of the go-digest package. This package
    provides a simple toolkit for working with the digests of container
    images.
    
    In this release, we've mostly narrowed the acceptable format for
    `sha256` digests, which are the most common in use. Specifically, upper
    case hex-encoded characters are no longer allowed in that format,
    removing the ambiguity in encoding.
    
    Other concessions have been made to allow separators in the algorithm,
    as well as allowing the character set of the urlsafe base64 encodings.
    Most of this is more about allowing support for future formats, and are
    not officially supported at this time.
    
    Changes
    
    279bed9 Merge pull request #34 from AkihiroSuda/regexp
    4ca1301 disallow upper characters (/A-F/) in hex-encoded portion
    eaa6054 Merge pull request #33 from stevvooe/future-proof-algorithm-field
    678a95e digest: allow validation of urlsafe base64 encoding
    55f6758 digest: update package methods to reflect changes
    5ab10f5 digest: allow separators in algorithm field
    
  • v1.0.0-rc0
    Open Containers Go Digest 1.0.0-rc0
    
    This the first official release candidate of the go-digest package, the common
    digest package used across the container ecosystem.
    
    What is a digest? A digest is just a hash.
    
    The most common use case for a digest is to create a content
    identifier for use in [Content Addressable Storage](https://en.wikipedia.org/wiki/Content-addressable_storage)
    systems:
    
    ```go
    id := digest.FromBytes([]byte("my content"))
    ```
    
    In the example above, the id can be used to uniquely identify
    the byte slice "my content". This allows two disparate applications
    to agree on a verifiable identifier without having to trust one
    another.
    
    An identifying digest can be verified, as follows:
    
    ```go
    if id != digest.FromBytes([]byte("my content")) {
      return errors.New("the content has changed!")
    }
    ```
    
    A `Verifier` type can be used to handle cases where an `io.Reader`
    makes more sense:
    
    ```go
    rd := getContent()
    verifier := id.Verifier()
    io.Copy(verifier, rd)
    
    if !verifier.Verified() {
      return errors.New("the content has changed!")
    }
    ```
    
    Using [Merkle DAGs](https://en.wikipedia.org/wiki/Merkle_tree), this
    can power a rich, safe, content distribution system.
    
    Please see the [README](https://github.com/opencontainers/go-digest/blob/aa2ec055abd10d26d539eb630a92241b781ce4bc/README.md) for more information.