Whenever I try to send a message that has a very small content I always get an error that says
padding is greater then the length
I traced the code and it's in cbc.go: line 97
anyone knows how to fix this?
Do you get the error when you want to send or download the file?
@Rhymen I get the error when I'm trying to receive the file. for example I have a .txt file that only have one letter as a content in it. whenever I receive a super small file it always points me to that error
Same issue happens for me too. After some testing I realized this only happens with files <= 95 bytes.
When the file size is smaller than 32 bytes it throws file length does not match but when it is bigger it throws padding is greater then the length: 222 / 48. Both errors are caused by AES encryption libraries.
I'm having the same issue