Error when querying secret storage
Environment: Debian stable with mercurial package (5.6.1)
Also using absorb, histedit, rebase, confman, strip, extdiff, evolve, topic, schemes, prompt.
When doing an hg pull
, I have the message warning: failed to access credentials using the Secret Service.
Adding --debug
, the module outputs the query string and I’ve tested with secretstorage, it does find the entry.
Adding a breakpoint before the message, the exception is:
ValueError("module object for 'cryptography.hazmat.primitives.ciphers.algorithms' substituted in sys.modules during a lazy load")
It looks similar to mercurial_keyring#77 (closed)
Using HGDEMANDIMPORT=disable
solves the issue, the credentials are correctly obtained, but it looks like a workaround.