Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema/validator: Punt sha256/sha512 hex-validation to go-digest
It's covered this since opencontainers/go-digest@4ca13015 (disallow upper characters (/A-F/) in hex-encoded portion, 2017-05-12, opencontainers#34), so we don't need to do it locally. Also, use a more specific check for ignoring unrecognized algorithms, because we don't want to return nil when go-digest notices an invalid encoding, etc. Signed-off-by: W. Trevor King <[email protected]>
- Loading branch information