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

coldcore config file setup #44

Closed
GreenmanPGI opened this issue Apr 1, 2021 · 2 comments
Closed

coldcore config file setup #44

GreenmanPGI opened this issue Apr 1, 2021 · 2 comments

Comments

@GreenmanPGI
Copy link

I get this error below. I have gnuPG installed. I have created a key. I think it wants me to set default-key in gpg.conf but I don't know where gpg.conf is located on my system.

? do you want to use GPG to encrypt your coldcore config? [y/N] y

? where should I store your config? [/home/xxxx/.config/coldcore/config.ini.gpg]

? Are you sure you want to overwrite the existing file at /home/xxxx/.config/coldcore/config.ini.gpg? [y/N] y
-- Creating blank configuration at /home/xxxx/.config/coldcore/config.ini.gpg
-- No default-key present; encrypting to GPG using a passphrase
-- (to use a default key, set envvar COLDCORE_GPG_KEY or default-key in gpg.conf)
gpg: problem with the agent: Inappropriate ioctl for device
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of '[stdin]' failed: Operation cancelled
Failed to write new configuration to /home/xxxx/.config/coldcore/config.ini.gpg
! Couldn't obtain config. Exiting.

@jamesob
Copy link
Owner

jamesob commented Apr 5, 2021

Thanks for the report @GreenmanPGI. I have seen this as well on macOS; in general, GPG is very finicky to work with and their CLI is not very friendly for password-based encryption. I'm thinking about retiring raw GPG functionality in favor of a very simple Python-based implementation of AES.

@GreenmanPGI
Copy link
Author

That sounds like a good idea. I really like this project and would like to help. I'm not much of a programmer but I can write documentation. I'm running a Raptor computer (PPC) and coldcore is one of the few programs that will run on PPC. (Specter desktop will not...at least not yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants