-
Notifications
You must be signed in to change notification settings - Fork 108
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
deprecated key derivation used by amcrypt-ossl #112
Comments
Still not fixed upstream. bump edit: we need to be careful here, in my tests I noticed problems at the restore. |
Any update on this? Encountering this in Amanda version 3.5.1. |
one year gone, still no reply from the responsible maintainers |
I have since stopped using Amanda and moved to Restic. But Amanda stays in a special place in my heart. :) |
Who are the "responsible maintainers"? |
I don’t know who specifically, but I would assume anyone with commit access to this repo counts. |
Had the same issue; and as of 1/1/2022 it is now important to be sogis.eu compliant (EU version of a lot of the NIST federal processing regulation) - filed #165 |
Still patching manually on backup servers :-( |
Still facing these issues. Applied that patch on a debian 11.3 machine, running amdump gives me a "FAIL" run with:
Anyone else seeing this, any better workaround? |
I have replaced my encryption needs with:
pbkdf2 to fix the deprecated key derivation, aes-256-ctr for better and faster encryption (ctr can be parallelized). Also padding is not needed with this encryption method. |
great. Let me add this one for completeness: the file defined in $RANDFILE has to be created and seeded like in:
Could that maybe even be done by the wrapper script itself? |
Ah yes mine was probably already created long ago when i set up encryption.
From what i have read the random file is not really needed on most systems as it is only there to help with low entropy systems (ie server that does nothing most of the time).
Each time openssl runs it uses that file (if specified) for random seeds and at command end it replaces the file with 256 new bytes of randomness for the next invocation.
It is not needed for decryption.
|
@exuvo thanks for the explanation. Correct, I see it replaced already. So it would make even more sense to add some block to the wrapper like "if not exists file $RANDFILE, dd some random bytes into it". This would help the initial configuration/setup (which I tend to put into some HOWTO somewhere). |
This should do it:
|
Yep, looks ok. Will test, thanks. |
A whitespace before the closing bracket was missing, tiny correction:
Edit: unfortunately I see "missing size line from sendbackup" in the amanda reports. The simpler tar-based DLEs seem to work fine. |
With last versions of openssl the warning message
is being produced by amcrypt-ossl.
It can be corrected by adding -pbkdf2 to the amcrypt-ossl calls to openssl:
The text was updated successfully, but these errors were encountered: