Skip to content
New issue

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

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

Already on GitHub? # to your account

Improved multiple Linux modules #625

Merged
merged 4 commits into from
Aug 7, 2023
Merged

Improved multiple Linux modules #625

merged 4 commits into from
Aug 7, 2023

Conversation

exploide
Copy link
Contributor

@exploide exploide commented Aug 6, 2023

I did some small improvements in the Linux modules fstab, libsecret, env_variable and shadow. The individual commit messages describe what I changed and why.

Please let me know if this is fine or whether I should change something.

(Besides, I have a question not related to the PR: I noticed that (at least) the wallet modules require the dbus-python package but it is not listed in requirements.txt. Is this on purpose? Maybe because building it depends on cmake and dbus-python-devel system packages? Though in general I would have expected that this is included in requirements.txt. Should I add it?)

E.g. mount.cifs can use pass= instead of password= and
cred= can alternatively be used to specify a credential file.

Continue on empty lines because the line.split() call resulted in
ValueError: not enough values to unpack (expected 6, got 0)
It could be confusing when searching multiple user's keyrings as root.
Additionally, ordered the output keys more intuitively.
- check for read access instead of being root; permissions could be misconfigured
- skip !! hashes, they are disabled on RHEL-like systems
- more intuitive output ordering
- removed outdated comment about SHA-512 being used on all modern computers (yescrypt it is)
@AlessandroZ
Copy link
Owner

Thanks a lot for your PR ! 👍🏼

@AlessandroZ AlessandroZ merged commit 0cc1563 into AlessandroZ:master Aug 7, 2023
@exploide exploide deleted the linux-improvements branch August 7, 2023 16:51
@miguel090 miguel090 mentioned this pull request Oct 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants