Hi @Jericho Lucero ,
It's python b64decode function error. I found some solution here: Error incorrect padding in decoding of base 64
Base64 in Python is read in 4, so the field to be decoded should be a multiple of 4, not enough to add ‘=’ -> your key_file is incorrect input of this function
# The field a to be decoded is judged, and if it is a multiple of 4, it is unchanged, and if not, how much is missing, how much is made up: a = a + '=' * (4 - len(a) % 4) if len(a) % 4 != 0 else a
Hope this helps!