Skip to content

Commit

Permalink
Update fix_bad_der for new webpki version
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Mar 27, 2018
1 parent b1d02f0 commit 10de575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ colon in them, and since the WebPKI crate is more strict than Go, Click will not
from the API Server even though kubectl will.

For the moment, you can build click, then run the `fix_bad_der.sh` script that's in the util
directory, and then rebuild click. This patches WebPKI to accept the cert.
directory, and then run `cargo clean`, and then rebuild click. This patches WebPKI to accept the
cert.
2 changes: 1 addition & 1 deletion util/fix_bad_der.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# cases. This is a hack, but right now we don't really have a better idea

CARGO_DIR="${CARGO_HOME:-$HOME}/.cargo"
WEBPKI_VERSION=${WEBPKI_VERSION:-"0.10.2"}
WEBPKI_VERSION=${WEBPKI_VERSION:-"0.12.1"}
WEBPKI_DIR=$(find $CARGO_DIR/registry/src/ -name webpki-$WEBPKI_VERSION)

pushd $WEBPKI_DIR
Expand Down

0 comments on commit 10de575

Please sign in to comment.