To reproduce I have a native disk, which I filled up until only little space was left. Then I tried encrypting a file. Kleopatra shows the system error without error code from T6526
Gpgtar probably does the same, but I left it out of testing to have the most simple version to reproduce this:
Command line:
F:\>gpg --status-fd 1 --verbose --debug io -o battlepresets.gpg -er largefile "ldata-test\Empire Total War\data\battlepresets.pack" gpg: reading options from 'C:/Users/Andre Heinecke/AppData/Roaming/gnupg/gpg.conf' gpg: reading options from '[cmdline]' gpg: unknown debug flag 'io' ignored gpg: enabled debug flags: memstat gpg: enabled compatibility flags: [GNUPG:] KEY_CONSIDERED E2AFED40E9EB19AA85DD35E90DAC780060A465D3 0 gpg: using pgp trust model gpg: key 0D2BCA3D499F0E37: accepted as trusted key gpg: key 49C3A4D4848D585F: accepted as trusted key gpg: key F7E017CAED158080: accepted as trusted key gpg: key 06673A58E125DFCE: accepted as trusted key gpg: key 41FAC215ADE1CB46: accepted as trusted key gpg: key EE77B3D57243F72E: accepted as trusted key gpg: key 298B0D99CB96F5BC: accepted as trusted key gpg: key 4BAA787CA5E951D6: accepted as trusted key gpg: key D78D8BB4CA553DA3: accepted as trusted key gpg: key E27313528F72EFBA: accepted as trusted key gpg: key 0DAC780060A465D3: accepted as trusted key gpg: using subkey C2CF90025CE3C419 instead of primary key 0DAC780060A465D3 [GNUPG:] KEY_CONSIDERED E2AFED40E9EB19AA85DD35E90DAC780060A465D3 0 gpg: This key belongs to us gpg: reading from 'ldata-test\\Empire Total War\\data\\battlepresets.pack' File 'battlepresets.gpg' exists. Overwrite? (y/N) y gpg: writing to 'battlepresets.gpg' gpg: ECDH/AES256.OCB encrypted for: "C2CF90025CE3C419 largefile-test <gogol@da.da>" [GNUPG:] BEGIN_ENCRYPTION 0 9 2 gpg: battlepresets.gpg: write error: ec=112 gpg: do_plaintext(): wrote 1428226048 bytes but expected 1536763945 bytes gpg: battlepresets.gpg: write error: ec=112 gpg: IOBUFCTRL_FREE failed on close: Success [GNUPG:] END_ENCRYPTION gpg: keydb: handles=2 locks=0 parse=2 get=2 gpg: build=0 update=0 insert=0 delete=0 gpg: reset=0 found=2 not=0 cache=0 not=0 gpg: kid_not_found_cache: count=0 peak=0 flushes=0 gpg: sig_cache: total=4 cached=0 good=0 bad=0 gpg: objcache: keys=2/2/0 chains=381,1..1 buckets=383/20 attic=254 gpg: objcache: uids=1/1/0 chains=106,1..1 buckets=107/20 gpg: random usage: poolsize=600 mixed=286 polls=0/6 added=164/167602 outmix=4 getlvl1=3/79 getlvl2=0/0 gpg: rndjent stat: collector=0x02a70d30 calls=4 bytes=128 gpg: secmem usage: 1568/32768 bytes in 3 blocks