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

On Linux, when not root, list command fails, blaming lack of xmldsig (unfairly) #15

Open
binaryape opened this issue Nov 27, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@binaryape
Copy link
Contributor

$ mdqt list
MDQT is assuming that you want to use https://mdq.incommon.org/
Please configure this using --service, MDQT_SERVICE or MDQ_BASE_URL

XML signature verification and XML validation are not available. Install the 'xmldsig' gem if you can.
Error: Cannot check a metadata file without XML support: please install additional gems

The same command works as root.
xmldsig is actually installed

@binaryape binaryape added the bug Something isn't working label Nov 27, 2023
@binaryape
Copy link
Contributor Author

  1. I had assumed xmldsig wasn't needed, but Nokogiri (pulled in by xmldsig) is used to extract entity IDs, so it is.
  2. Can't replicate on a recent Ubuntu when gem is used manually - is this a weird side effect of Ansible?

@binaryape binaryape self-assigned this Jan 11, 2024
@binaryape
Copy link
Contributor Author

Hopefully avoiding the problem completely now, as xmldsig is always required in 0.8.0...

@binaryape
Copy link
Contributor Author

Fixed in 0.8.0 on some Ubuntu (Ubuntu 23.04) but still some sort of haunted gem path in Ubuntu 22.04.2.
Installing nokogiri explicitly (as root) fixed it, despite Nokogiri already being there somewhere

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant