c***@gmail.com
2008-03-12 14:30:23 UTC
Hi,
I have a system which takes text based report files and uses the
BouncyCastle java API to encrypt the reports before they are sent out
via FTP. In one case, the person receiving the file is finding extra
data at the end of the file once it is decrypted. The file seems to
encrypt and decrypt fine, there's just some random data showing up at
the end of the decrypted file.
The problem is rare, but causes a lot of problems when it does happen.
I've tried a few different things including ASCII armoring the file
and not signing the file and neither of those fixed the problem. So
I'm wondering if anyone has any ideas on why this might be happening.
Thanks for any help anyone can provide.
I have a system which takes text based report files and uses the
BouncyCastle java API to encrypt the reports before they are sent out
via FTP. In one case, the person receiving the file is finding extra
data at the end of the file once it is decrypted. The file seems to
encrypt and decrypt fine, there's just some random data showing up at
the end of the decrypted file.
The problem is rare, but causes a lot of problems when it does happen.
I've tried a few different things including ASCII armoring the file
and not signing the file and neither of those fixed the problem. So
I'm wondering if anyone has any ideas on why this might be happening.
Thanks for any help anyone can provide.