Error while opening libgcrypt key handle to check password strength: gcrypt/Out of memory

andycapo--- via Dar-support <[email protected]> Sat, 17 Jan 2026 12:06:16 +0100 (CET)
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
--===============8103073739407161289==
Content-Type: multipart/alternative; 
	boundary="----=_Part_687525_528867562.1768647976820"

------=_Part_687525_528867562.1768647976820
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Hello, I'm an old dar user (and always I have to thank Denis for this wonderful software).

I have a problem with the static version 2.8.2 ( https://dar.edrusb.org/dar.linux.free.fr/Releases/Dar_static/x86_64_GNU_Linux/dar_static_2.8.2_x86_64_GNU_Linux ), as I get the following error:

---

sudo /home/usr002/opt/bin/dar_static_2.8.2_x86_64_GNU_Linux -c "/mnt/usb/SG18/midar/data_usr002/20260117T102020_incr" -R "/mnt/usb/WD8" -g "data_usr002" -A "/mnt/usb/SG18/midar/data_usr002/20260101T164341_incr" -B "/home/usr002/opt/tools/midar/midar.dcf" -va
User target found on command line or included file(s):
compress-exclusion
Opening archive 20260101T164341_incr ...
Opening the archive using the multi-slice abstraction layer...
Reading the archive trailer...
Opening construction layer...
Considering cyphering layer...
Opening cyphering layer...
multi-threaded cyphering layer open, with 2 worker thread(s)
Opening escape sequence abstraction layer...
Opening the compression layer...
streamed compression layer open (single threaded)
All layers have been created successfully
Warning, the archive 20260101T164341_incr has been encrypted. A wrong key is not possible to detect, it would cause DAR to report the archive as corrupted
Loading catalogue into memory...
Locating archive contents...
Reading archive contents...
Creating low layer: Writing archive into a sar object (Segmentation and Reassembly) for slicing...
Adding a new layer on top: Strong encryption object...
Aborting due to exception: Error creating archive layers: Error while opening libgcrypt key handle to check password strength: gcrypt/Out of memory
Final memory cleanup
Error creating archive layers: Error while opening libgcrypt key handle to check password strength: gcrypt/Out of memory

---

With the standard version installed on my linux opensuse 16.0 (dar 2.7.15) I have no problems.

Any suggestion?
Thanks in advance
------=_Part_687525_528867562.1768647976820
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html>
 <head>=20
  <meta charset=3D"UTF-8">=20
 </head>
 <body>
  <p class=3D"default-style">Hello, I'm an old dar user (and always I have =
to thank Denis for this wonderful software).</p>=20
  <p class=3D"default-style">I have a problem with the static version 2.8.2=
 ( <a href=3D"https://dar.edrusb.org/dar.linux.free.fr/Releases/Dar_static/=
x86_64_GNU_Linux/dar_static_2.8.2_x86_64_GNU_Linux">https://dar.edrusb.org/=
dar.linux.free.fr/Releases/Dar_static/x86_64_GNU_Linux/dar_static_2.8.2_x86=
_64_GNU_Linux</a> ), as I get the following error:</p>=20
  <p class=3D"default-style">---</p>=20
  <p class=3D"default-style">sudo /home/usr002/opt/bin/dar_static_2.8.2_x86=
_64_GNU_Linux -c "/mnt/usb/SG18/midar/data_usr002/20260117T102020_incr" -R =
"/mnt/usb/WD8" -g "data_usr002" -A "/mnt/usb/SG18/midar/data_usr002/2026010=
1T164341_incr" -B "/home/usr002/opt/tools/midar/midar.dcf" -va<br>User targ=
et found on command line or included file(s):<br>compress-exclusion<br>Open=
ing archive 20260101T164341_incr ...<br>Opening the archive using the multi=
-slice abstraction layer...<br>Reading the archive trailer...<br>Opening co=
nstruction layer...<br>Considering cyphering layer...<br>Opening cyphering =
layer...<br>multi-threaded cyphering layer open, with 2 worker thread(s)<br=
>Opening escape sequence abstraction layer...<br>Opening the compression la=
yer...<br>streamed compression layer open (single threaded)<br>All layers h=
ave been created successfully<br>Warning, the archive 20260101T164341_incr =
has been encrypted. A wrong key is not possible to detect, it would cause D=
AR to report the archive as corrupted<br>Loading catalogue into memory...<b=
r>Locating archive contents...<br>Reading archive contents...<br>Creating l=
ow layer: Writing archive into a sar object (Segmentation and Reassembly) f=
or slicing...<br>Adding a new layer on top: Strong encryption object...<br>=
Aborting due to exception: Error creating archive layers: Error while openi=
ng libgcrypt key handle to check password strength: gcrypt/Out of memory<br=
>Final memory cleanup<br>Error creating archive layers: Error while opening=
 libgcrypt key handle to check password strength: gcrypt/Out of memory</p>=
=20
  <p class=3D"default-style">---</p>=20
  <p class=3D"default-style">With the standard version installed on my linu=
x opensuse 16.0 (dar 2.7.15) I have no problems.</p>=20
  <p class=3D"default-style">Any suggestion?<br>Thanks in advance</p>
 </body>
</html>
------=_Part_687525_528867562.1768647976820--


--===============8103073739407161289==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8103073739407161289==--