Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*** WARNING : deprecated key derivation used #7

Open
yeupou opened this issue Mar 18, 2020 · 2 comments
Open

*** WARNING : deprecated key derivation used #7

yeupou opened this issue Mar 18, 2020 · 2 comments

Comments

@yeupou
Copy link

yeupou commented Mar 18, 2020

Current script returns:

*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.

Why not using openssl defaults? Ending up with:

decrypted_keyfile=$(echo "$encrypted_keyfile" | openssl enc -base64 -d -salt -k "$openssl_passphrase")

@stupidpupil
Copy link
Owner

One problem is that the defaults can change (and indeed have done #1 ), so you either to store the parameters somewhere or hardcode them, AFAICT.

I wonder if the deprecation warning actually relates to using "-k" instead of "-pass pass:"; I'll check this.

@brknkfr
Copy link

brknkfr commented Nov 10, 2020

One problem is that the defaults can change (and indeed have done #1 ), so you either to store the parameters somewhere or hardcode them, AFAICT.

It would be nice if there would be a simple configuration file for https-keyscript.

btw, this issue could be fixed by #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants