-
-
Notifications
You must be signed in to change notification settings - Fork 573
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
Evil-WinRM - OpenSSL::Digest::DigestError happened, message is Digest initialization failed: initialization error #3593
Comments
Don't do that, it's partial upgrade https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported I'll take a look at EvilWinrm openssl issue and update it at the same time. |
Also note evil-winrm is listed as broken in this issue #3519 (comment) |
@noraj issue has been fixed this morning go to /etc/ssl/openssl.cnf and under |
@noraj take note of this: https://bugs.archlinux.org/task/76653?project=1&order=dateopened&sort=desc The user answering to the bug opened by @DF001 makes me understand that, since with OpenSSL 3 md4 is in the legacy provider which is not enabled by default, and if needed it must be set on the OpenSSL configuration file, is it meaning that for Evil-WinRM is it needed to create a dedicated OpenSSL config file dedicated for Evil-WinRM or that changes the existing OpenSSL config file by enabling the MD4 hashing algorithm? |
It would be best it has a dedicated config file |
In your opinion, what is the best way for managing this? Inside the evil-winrm PKGBUILD or in a separated manner from evil-winrm (that could mean create and set manually a dedicated openssl config file)? |
IDK openssl well, IDK if it can load a custom config file from a path. |
After the update of evil-winrm by
I tried also to remove evil-winrm by pacman and remove |
Hey @noraj
how is it possible to solve it? |
This is due to blackarch/packages/evil-winrm/PKGBUILD Line 40 in e58c627
You can try playing with |
I will try. I have only a question for you: is there a sense or a reason to keep |
@noraj by my tests, if The best idea should be to add I need to understand if the |
According to my last tests, this is my working proposal that manages also cases of reinstallation of the package and prevent multiple
@noraj if you agree, we can use this approach and I will create a Pull Request. Tested on an environment with two different standard users and works correctly. |
Does it work with |
By that approach, how do you manage the removal of |
Since it will only set stuff in |
I tested it but when I run
|
A working patch for the
|
Bug description
When
evil-winrm
tool from BlackArch repo is run, the following output is generated:Furthermore, each time evil-winrm is run, this git warning is produced:
This issue occurs also in BlackArch after a Full Upgrade of the system.
In Debian-based OS, Evil-WinRM works correctly.
Steps to reproduce
sudo pacman -Syyu
sudo pacman -Syy evil-winrm
evil-winrm -u Jareth -p sarah -i 10.10.79.152
where
10.10.79.152
is the Target IP address. It will be different in your case.Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)
The following output is produced:
Furthermore, each time evil-winrm is run, this git warning is produced:
Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)
The following is the expected output:
Screenshots
Info for developers
GNU/Linux distribution: Arch Linux
Tool version: 3.4 (latest)
Link to debug log
The text was updated successfully, but these errors were encountered: