encryption - Missing files while decrypting PGP encrypted tar archive -



encryption - Missing files while decrypting PGP encrypted tar archive -

i having problem encrypting/decrypting tar archive using bouncy castle openpgp library.

i'm using tararchiveoutputstream add together files tar archive , bouncy castle openpgp encrypt archive. afterwards using kleopatra manually decrypt file using alternative "input file archive; unpack with: tar(pgp compatible)".

after unpacking archive files except 1 lost , 1 remaining has contents removed. (also happens other decrypting programs)

i have confirmed tar archive contains files before encrypted. have tried decrypting alternative unchecked , archive contains files. question why doesn't work alternative checked since input file indeed archive makes sense check option.

what have tried:

using library create tar file (jtar) comparing manually made tar file 1 generated. main difference saw 1 made manually smaller (22kb vs 30kb) while containing same files.

i open suggestions. thanks!

encryption bouncycastle tar pgp

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -