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() {
while read __line; do
__n=$__n$__line
done;
__n=$(echo $__n | sed "s|/|_|g")
__n=$(echo $__n | sed "s|+|-|g")
__n=$(echo $__n | sed "s|=||g")
echo $__n
__n=$(cat)
echo $__n | tr '/+' '_-' | tr -d '= '
}
_send_signed_request() {