Bug#879182: Message: received an invalid or unencryptable secret

Neil McGovern neilm at debian.org
Tue Mar 13 13:35:17 UTC 2018


tags 879182 + patch
thanks

Patch, taken from upstream attached.

Neil

On Fri, Oct 20, 2017 at 12:07:59AM -0700, Paul Vojta wrote:
> Package: libsecret-1-0
> Version: 0.18.5-4
> Severity: normal
> 
> Dear Maintainer,
> 
> Approximately 1/256th of the time when using libsecret, it fails and prints the following error message:
> 
> 	** Message: received an invalid or unencryptable secret
> 
> To duplicate, first save the following script as ./sstest and make it executable:
> -----------------
> #! /bin/dash
> 
> rm -f /tmp/output
> for x in a b c d e; do
>   for y in a b c d e f g h i j; do
>     for z in a b c d e f g h i j; do
>       secret-tool lookup attr value >> /tmp/output 2>&1 || exit 1
>     done
>   done
> done
> echo 'No errors found.'
> -----------------
> 
> Then run the following commands:
> 
> 	echo abcde | secret-tool store --label=test attr value
> 	./sstest || tail -5 /tmp/output
> 
> (The bug is inconsistent, so you may need to run the second line several times
> to see the message.  But it happens more than half of the times you run
> the script.)
> 
> This bug has been diagnosed and fixed upstream:
> 
> 	https://bugzilla.gnome.org/show_bug.cgi?id=778357
> 	https://git.gnome.org/browse/libsecret/commit/?id=998065599c66055dcffa1ef1ddebb947ccd68248
> 
> See also the messages in Debian Bug #659036.
> 
> Paul Vojta
> 
> 
> -- System Information:
> Debian Release: 9.1
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages libsecret-1-0 depends on:
> ii  libc6             2.24-11+deb9u1
> ii  libgcrypt20       1.7.6-2+deb9u2
> ii  libglib2.0-0      2.50.3-2
> ii  libsecret-common  0.18.5-3.1
> 
> libsecret-1-0 recommends no packages.
> 
> libsecret-1-0 suggests no packages.
> 
> -- no debconf information

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsecret-unencryptable.patch
Type: text/x-diff
Size: 2698 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180313/fcc1b97b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20180313/fcc1b97b/attachment.sig>


More information about the pkg-gnome-maintainers mailing list