GPG cannot evaluate the length of text file.

Sieu Truc sieutruc at gmail.com
Wed Dec 3 16:31:26 CET 2014


Hello,

I have a problem when i wanted to sign and encrypt a text file ( attached
below)

gpg--y --batch --passphrase "B6rDhgMDEqv0DscSdxe" -o 4481110.txt.pgp
--textmode  -r test1 --sign --encrypt 4481110.txt

gpg2 --verbose --no-mdc-warning --verbose --y --batch --passphrase
"B6rDhgMDEqv0DscSdxe"  --list-packets 4481110.txt.pgp

:pubkey enc packet: version 3, algo 1, keyid EA0DF160773268B0
    data: [2041 bits]
gpg: la clé publique est 773268B0
gpg: utilisation de la sous-clé 773268B0 à la place de la clé
principale 7FD35007
gpg: données chiffrées par clé publique: bonne clé de chiffrement (DEK)
:encrypted data packet:
    length: 491
    mdc_method: 2
gpg: utilisation de la sous-clé 773268B0 à la place de la clé
principale 7FD35007
gpg: chiffré avec une clé de 2048 bits RSA, ID 773268B0, créée le 2014-07-02
      « T.A.FICP.30001 »
gpg: données chiffrées avec AES
:compressed packet: algo=1
:onepass_sig packet: keyid EA0DF160773268B0
    version 3, sigclass 0x01, digest 2, pubkey 1, last=1
:literal data packet:
    mode t (74), created 1417110768, name="4481110.txt",
    raw data: unknown length  ( THE PROBLEM HERE )

As i know, if the file length is more than 5Gb, that problem appears.

But this file has only 499b. Its weird.

Can someone show me the problem ?

Thanks in advance,

Truc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141203/74b9f888/attachment.html>
-------------- next part --------------
30002      
0608        123456DXX25T02    Benef25                 CLY                             00287000001175870000000000054000VIREMENT REGLT0686             30002      
0608        123456DXX25T03    Benef25                 CLY                             00287000001175870000000000012000VIREMENT REGLT0667             30002      
0808        123456                                                                                    0000000000078000                                          


More information about the Gnupg-users mailing list