can it be the file compression?
if I look at the file the customer sends there is no compression.
[root@alphprdfuse2i tobeprocessed]# gpg --list-packets
J101_Air_Compressor_2017-02-06-13-10-00.cf
gpg: WARNING: unsafe enclosing directory permissions on configuration file
`/root/.gnupg/gpg.conf'
:pubkey enc packet: version 3, algo 1, keyid A0665166CD7C0280
data: [2045 bits]
You need a passphrase to unlock the secret key for
user: "ZZZZZZZZ (XX XX XX XX XX Analytics data) <[email protected]>"
2048-bit RSA key, ID CD7C0280, created 2017-02-02
:encrypted data packet:
length: 3056
mdc_method: 2
gpg: encrypted with 2048-bit RSA key, ID CD7C0280, created 2017-02-02
"ZZZZZZZZ (XX XX XX XX XX Analytics data) <[email protected]>"
:literal data packet:
mode b (62), created 1486390229,
name="J101_Air_Compressor_2017-02-06-13-10-00.csv",
raw data: 2963 bytes
I then take the same raw file provided by the customer and encrypt it myself
with gpg and camel processses it
[root@alphprdfuse2i tempStuff]# gpg --list-packets mytest.gpg
gpg: WARNING: unsafe enclosing directory permissions on configuration file
`/root/.gnupg/gpg.conf'
:pubkey enc packet: version 3, algo 1, keyid 06704CA7F85D9BFB
data: [2047 bits]
You need a passphrase to unlock the secret key for
user: "ZZZZZZZZ (XX XX XX XX XX Analytics data) <[email protected]>"
2048-bit RSA key, ID F85D9BFB, created 2017-02-02 (main key ID CD7C0280)
can't connect to `/root/.gnupg/S.gpg-agent': No such file or directory
:encrypted data packet:
length: unknown
mdc_method: 2
gpg: encrypted with 2048-bit RSA key, ID F85D9BFB, created 2017-02-02
"ZZZZZZZZ (XX XX XX XX XX Analytics data) <[email protected]>"
:compressed packet: algo=2
:literal data packet:
mode b (62), created 1486417115,
name="J101_Air_Compressor_2017-02-06-13-10-00.csv",
raw data: 2963 bytes
-----
Gary Lee Mills
--
View this message in context:
http://camel.465427.n5.nabble.com/decrypting-with-PGPDataFormat-tp5793436p5793534.html
Sent from the Camel - Users mailing list archive at Nabble.com.