diff options
author | Tad Fisher <tadfisher@gmail.com> | 2018-06-28 15:27:34 -0700 |
---|---|---|
committer | Tad Fisher <tadfisher@gmail.com> | 2018-06-28 15:40:54 -0700 |
commit | cb461eb752766c34cec422110239fbae4e1765fd (patch) | |
tree | 3ed0f5867964a09438ea1c0a9712f77c41c8bfcf /otp.bash | |
parent | 5d0cf801f21414a0f08cf593da914a5e6fc191ed (diff) |
Tolerate base64 padding in secret
Diffstat (limited to 'otp.bash')
-rwxr-xr-x | otp.bash | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ otp_parse_uri() { local params local IFS=\&; read -r -a params < <(echo "$p") ; unset IFS - pattern='^(.+)=(.+)$' + pattern='^([^=]+)=(.+)$' for param in "${params[@]}"; do if [[ "$param" =~ $pattern ]]; then case ${BASH_REMATCH[1]} in |