This commit is contained in:
Neil 2015-12-29 11:29:46 +08:00
parent 617ec4e3f7
commit 5a177aad36

9
le.sh
View File

@ -125,13 +125,8 @@ createCSR() {
} }
_b64() { _b64() {
while read __line; do __n=$(cat)
__n=$__n$__line echo $__n | tr '/+' '_-' | tr -d '= '
done;
__n=$(echo $__n | sed "s|/|_|g")
__n=$(echo $__n | sed "s|+|-|g")
__n=$(echo $__n | sed "s|=||g")
echo $__n
} }
_send_signed_request() { _send_signed_request() {