revert last fix

This commit is contained in:
neilpang committed 2016-12-17 20:51:00 +08:00
1 parent b171aff418
commit a3a04b5f76
1 file changed
+1 -1
+1 -1
View File
@@ -933,7 +933,7 @@ _calcjwk() {
modulus=$($OPENSSL_BIN rsa -in "$keyfile" -modulus -noout | cut -d '=' -f 2)
_debug3 modulus "$modulus"
n="$(printf "%s" "$modulus" | _h2b | _base64 | tr -d '\r\n' | _urlencode)"
n="$(printf "%s" "$modulus" | _h2b | _base64 | _urlencode)"
_debug3 n "$n"
jwk='{"e": "'$e'", "kty": "RSA", "n": "'$n'"}'
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.