ok here is the script i am using... to encrypt. it just simply splits my large file into 6Million records each and then ecrypts it using the clients public key. its a really small script.
#!/bin/ksh cd /load01/infutor/$1/output/ split -l 6000000 fds_$1_txt fds_$1_txt_ for file in $(ls fds_$1_txt_??); do gpg --always-trust -o $file.pgp -e -r FDSolutions $file done khurram.humayun wrote: > > Hey guys, > the problem i am having is that i have been using a script for the > longest time to encrypt via this vendors public key. however after they > did some maintenance the last 2 week, they are not able to decrypt most of > the files i am sending them. > > i have a large file 10232593860 or 9.5gigs. i then split this file into > chunks of 6000000 > -rw-rw-r-- 1 khumayun dev 2460000000 Mar 11 16:41 > fds_20080226_txt_aa > -rw-rw-r-- 1 khumayun dev 2460000000 Mar 11 16:41 > fds_20080226_txt_ab > -rw-rw-r-- 1 khumayun dev 2460000000 Mar 11 17:10 > fds_20080226_txt_ac > -rw-rw-r-- 1 khumayun dev 2460000000 Mar 11 17:40 > fds_20080226_txt_ad > -rw-rw-r-- 1 khumayun dev 392593860 Mar 11 17:42 > fds_20080226_txt_ae > > now if i use the my script which has always been working it generates the > pgp files jsut fine. but, the vendor reports a rc=32 error. meaning they > now cannot decrypt it. ofcouse when i ftp the files its in bin and > everything matches. but the only thing i noticed is that when i run each > file through a script vs when i run it manually the pgp files created file > sizes are different. i am not sure why that is? any help regarding that > would be appreciated. > > when i use the script one of the pgp files generated is > cksum fds_20080226_txt_aa.pgp > 2992943044 500154558 fds_20080226_txt_aa.pgp > > when i do the same thing on the command line > cksum fds_20080226_txt_aa.pgp > 780762217 500154561 fds_20080226_txt_aa.pgp > > > i also know i am using the correct public key because they are in each > case are able to decrypt the last file (the smallest size. of course they > used to be able to decrypt all the other large size files as well till > now) > > in addition when i run my script 2 times each time it gives different > results except for the last file generated in each case. > > run 1 using script > -rw-rw-r-- 1 khumayun dev 500154558 Mar 18 21:32 > fds_20080226_txt_aa.pgp > -rw-rw-r-- 1 khumayun dev 500156606 Mar 18 21:42 > fds_20080226_txt_ab.pgp > -rw-rw-r-- 1 khumayun dev 499769818 Mar 18 21:52 > fds_20080226_txt_ac.pgp > -rw-rw-r-- 1 khumayun dev 500190233 Mar 18 22:02 > fds_20080226_txt_ad.pgp > -rw-rw-r-- 1 khumayun dev 79674234 Mar 18 22:04 > fds_20080226_txt_ae.pgp > > run 2 using script > -rw-rw-r-- 1 khumayun dev 500154562 Mar 11 18:07 > fds_20080226_txt_aa.pgp > -rw-rw-r-- 1 khumayun dev 500156608 Mar 11 18:21 > fds_20080226_txt_ab.pgp > -rw-rw-r-- 1 khumayun dev 499769824 Mar 11 18:36 > fds_20080226_txt_ac.pgp > -rw-rw-r-- 1 khumayun dev 500190236 Mar 11 18:51 > fds_20080226_txt_ad.pgp > -rw-rw-r-- 1 khumayun dev 79674234 Mar 11 18:56 > fds_20080226_txt_ae.pgp > > notice how the last file is the same in each case and is successfully > decrypted. but the other 4 all fail according to the client. > > your help regarding this matter would be greatly appreciate. > > thanks guys > > -- View this message in context: http://www.nabble.com/urgent-gpg-help-needed-with-regards-to-file-size.-tp16145140p16180083.html Sent from the GnuPG - User mailing list archive at Nabble.com. _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users