Re: gc-pbkdf2-sha1 is deprecated

2020-09-22 Thread Bruno Haible
Hi Bruce, > 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. I'm not really familiar with these. Does the libgcrypt documentation help, ma

Re: gc-pbkdf2-sha1 is deprecated

2020-09-22 Thread Bruce Korb
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 entirel

Re: gc-pbkdf2-sha1 is deprecated

2020-09-21 Thread Bruce Korb
gnu-pw-mgr fatal error: gc_pbkdf2_hmac returned error code 5 (5 --> GC_INVALID_HASH) I think they work differently.     rc = gc_pbkdf2_hmac(GC_SHA1,     hash_source, hash_src_len,     salt,    salt_len,     OPT_VALUE_PBKDF2,// <--

Re: gc-pbkdf2-sha1 is deprecated

2020-09-18 Thread Bruno Haible
Hi Bruce, > Next question: what do I do about crypto/gc-pbkdf2-sha1? It is labeled > as "deprecated", but I need a function that produces precisely the same > result. It really doesn't matter to me that folks have figured out how > to jigger a file to produce an arbitrary sha1 sum. I only need

gc-pbkdf2-sha1 is deprecated

2020-09-18 Thread Bruce Korb
Hi Bruno, et al., Next question: what do I do about crypto/gc-pbkdf2-sha1? It is labeled as "deprecated", but I need a function that produces precisely the same result. It really doesn't matter to me that folks have figured out how to jigger a file to produce an arbitrary sha1 sum. I only need