Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binascii.Error: Incorrect padding #42

Open
YuriyGavrilov opened this issue Oct 26, 2023 · 0 comments
Open

binascii.Error: Incorrect padding #42

YuriyGavrilov opened this issue Oct 26, 2023 · 0 comments

Comments

@YuriyGavrilov
Copy link

Strange error, but in browser works well.

may be it helps https://gist.github.com/perrygeo/ee7c65bb1541ff6ac770

Paste received! Decoding…
Traceback (most recent call last):
  File "/home/[email protected]/.local/bin/pbincli", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/[email protected]/.local/lib/python3.11/site-packages/pbincli/cli.py", line 161, in main
    args.func(args, api_client, settings=CONFIG)
  File "/home/[email protected]/.local/lib/python3.11/site-packages/pbincli/actions.py", line 159, in get
    paste.setHash(passphrase)
  File "/home/[email protected]/.local/lib/python3.11/site-packages/pbincli/format.py", line 119, in setHash
    self._key = b64decode(passphrase)
                ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/base64.py", line 88, in b64decode
    return binascii.a2b_base64(s, strict_mode=validate)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
binascii.Error: Incorrect padding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant