[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gc-pbkdf2-sha1 is deprecated
From: |
Bruce Korb |
Subject: |
Re: gc-pbkdf2-sha1 is deprecated |
Date: |
Tue, 22 Sep 2020 08:04:27 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Hi Bruno, et al.,
The failing difference isn't whether or not I use gc_pbkdf2_hmac vs.
gc_pbkdf2_sha1, the failing difference is whether or not I specify the
crypto/gc-pbkdf2-sha1 module vs. the crypto/gc-pbkdf2 module. The former
works, the latter does not, with the rest of my project entirely
unchanged. Feel free to test it, assuming you have the autogen suite for
bootstrapping:
[remote "origin"]
url = bkorb@git.savannah.gnu.org:/srv/git/gnu-pw-mgr.git
Without specifying the "-sha1" module, the make check fails with the
pbkdf2 function returning 5. Here's the patch that causes the project to
fail:
diff --git a/bootstrap.conf b/bootstrap.conf
index b0e397a..7703c6f 100755
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -90,7 +90,7 @@ initialize() {
gnulib_modules='
base64 \
close \
- crypto/gc-pbkdf2-sha1 \
+ crypto/gc-pbkdf2 \
crypto/gc-random \
crypto/sha256 \
ctype \
and it yields this error message:
+++T=gpw-53> /u/bkorb/tools/gnu-pw-mgr-bld/src/gnu-pw-mgr
--config-file=/tmp/gpw-3tsXGB/.local/gnupwmgr.cfg --rehash=1 -i test-tag who
gnu-pw-mgr fatal error:
gc_pbkdf2_sha1 returned error code 5
On 9/21/20 3:49 PM, Bruce Korb wrote:
It may go away, because the module crypto/gc-pbkdf2 contains more
generic API to do the same thing: gc_pbkdf2_hmac with first argument
GC_SHA1.
Bruno
- Re: Trying to bootstrap my project, distcheck doesn't configure, Bruce Korb, 2020/09/14
- Re: Trying to bootstrap my project, distcheck doesn't configure, Bruno Haible, 2020/09/14
- Re: Trying to bootstrap my project, distcheck doesn't configure, Bruce Korb, 2020/09/15
- gc-pbkdf2-sha1 is deprecated, Bruce Korb, 2020/09/18
- Re: gc-pbkdf2-sha1 is deprecated, Bruno Haible, 2020/09/18
- Re: gc-pbkdf2-sha1 is deprecated, Bruce Korb, 2020/09/21
- Re: gc-pbkdf2-sha1 is deprecated,
Bruce Korb <=
- Re: gc-pbkdf2-sha1 is deprecated, Bruno Haible, 2020/09/22
- Re: gc-pbkdf2-sha1 must not be deprecated, Bruce Korb, 2020/09/23