Can you confirm the specific summon provider
I’ve tried to use the default keyring
provider, but I’m using passwordstore, so had to install and configure according to keyring_pass but it raised this error
summon --provider ~/.local/lib/summon/keyring.py -f ~/secrets.yml ~/file.sh
Error fetching variable SOME_API_KEY: exit status 1: Error: python-keyring/summon/nested/password/store/dir/onlineservice.com is not in the password store.
/nested/password/store/dir/onlineservice.com could not be retrieved
so after a bit of additional config, it kinda worked at times, and raised this error at others
SUMMON_KEYRING_SERVICE="" summon --provider ~/.local/lib/summon/keyring.py -f ~/secrets.yml ~/file.sh
Error fetching variable SOME_API_KEY: exit status 1: gpg: public key decryption failed: Cannot allocate memory
gpg: decryption failed: Cannot allocate memory
Traceback (most recent call last):
File "/home/keinvanity/.local/lib/summon/keyring.py", line 22, in <module>
value = keyring.get_password(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/keyring/core.py", line 56, in get_password
return get_keyring().get_password(service_name, username)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/keyring_pass/__init__.py", line 183, in get_password
ret = command(
^^^^^^^^
File "/usr/lib/python3.12/site-packages/keyring_pass/__init__.py", line 26, in command
return subprocess.check_output(cmd, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['pass', 'show', '././nested/password/store/dir/onlineservice.com']' returned non-zero exit status 2.
As it raised those errors and needed multiple steps for configuration, I reverted back to gopass-summon-provider
but it still kept prompting me for the master password, or raising this error
Error fetching variable SOME_API_KEY: exit status 1: gpg: public key decryption failed: Cannot allocate memory
gpg: decryption failed: Cannot allocate memory
❌ Decryption failed: exit status 2
2024/10/18 10:36:36 failed to decrypt