gnome-keyring | Read-only mirror of https | Identity Management library
kandi X-RAY | gnome-keyring Summary
kandi X-RAY | gnome-keyring Summary
gnome-keyring is a program that keep password and other secrets for users. It is run as a daemon in the session, similar to ssh-agent, and other applications locate it via an environment variable or a D-Bus. The program can manage several keyrings, each with its own master password, and there is also a session keyring which is never stored to disk, but forgotten when the session ends. The library libsecret is used by applications to integrate with the GNOME keyring system.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gnome-keyring
gnome-keyring Key Features
gnome-keyring Examples and Code Snippets
Community Discussions
Trending Discussions on gnome-keyring
QUESTION
[Trying to] Installing flatpak on Arch linux fails:
...ANSWER
Answered 2021-Apr-22 at 12:25Solved it with running sudo pacman -Syy
first
QUESTION
I am trying to get KeeWeb working in Nixos. It is not in the 20.09 channel, and so I tried writing a derivation for it... and failed. Luckily after some more searching I found out someone else had already done it ! Wonderful!
So I copied the code from : https://github.com/sikmir/nixpkgs/blob/master/pkgs/applications/misc/keeweb/default.nix . And imported it into my home manager setup. It builds fine but when I run it it only opens an error dialog:
"Error loading app. Error: the name org,freedesktop.secrets was not provided by any .service files"
A bit of seaerching points me into the direction of gnome-keyring and libsecret. Even a PR that addresses this issue, so you would think its fixed... but alas.
I changed the src to point to the latest version, but still no luck.
So probably something I am missing on my setup.
Can you help me ?
...ANSWER
Answered 2021-Jan-22 at 01:21Try to enable gnome-keyring daemon in your NixOS configuration:
QUESTION
I'm trying to use ncurses in my C program, but it doesn't work with CLion's built-in console. From what I've gathered, in order to make the output appear in the gnome terminal, I have to select it in the Configure Debug screen, but I can't seem to find the gnome-terminal file anywhere - the most I could find are the gnome-keyring and gnome-www-browser files. Where should I look for the necessary file on a standard Debian install?
...ANSWER
Answered 2021-Jan-17 at 17:14In the "Run/Debug Configurations" dialog
and change the executable to any custom executable, like for example the gnome terminal and then pass the your program as an argument:
Note that once your program exits or returns from main
then the terminal will close as well.
QUESTION
I'd like to pass a startup-script to my free f1-micro instance VM in GCP. The command that I'm specifying is the following:
...ANSWER
Answered 2020-Jun-29 at 05:31When any apt package is installed without -y
arg, it will run in interactive mode with prompt.
QUESTION
I'm running a program inside GoLand that requires root privileges and I'm trying to configure the IDE to save the sudo password so I don't have to constantly type it in the dialog prompt. I've set it up in the Appearance & Behavior > System Settings > Passwords to use the "In native Keychain". I have a gnome-keyring deamon running with a "Default Keyring" and no password. However the sudo password prompt always appears when I try to run it.
I've also tried the "In KeePass" setting, but it doesn't work either.
Does GoLand support saving the sudo password and if so - any suggestions on what can be done to get it to work with gnome-keyring?
...ANSWER
Answered 2020-Feb-25 at 17:26GoLand never asks a user for a password. It always delegates this task to an operating system. This means that the IDE doesn't know the password, so it can't store it anywhere. Depending on the OS, one can configure sudo
to skip a password check though it can be insecure.
QUESTION
Recently my workplace has been transitioning over from CircleCI to Azure Pipelines, and as such we have been migrating all of our CI. While most have been somewhat straight forward, this particular pipeline requires running our linux job inside of a docker image. Here is what was in CircleCI:
...ANSWER
Answered 2020-Jan-29 at 08:22How can I get the apt-get commands to run inside the Azure Pipelines?
It seems this is related to the docker images. As we know, Docker images typically do not have sudo
, we are always runs as root
by default. In this case, we could use the command apt-get
directly.
But this image seems runs as non-root, so for root-access things you have to switch into root. In a Dockerfile
, you can simply switch user identities with a USER directive; this generally defaults to running as root:
QUESTION
I have refer to this post to use block editing in vim. But when I key I or c after the block select, vim enters the normal edit mode just as if I pressed a i. I also found, when block is selected, I can use the x key to delete chars in the block.
Before press I:
After press I:
How can I block input chars?
the +visualextra have enabled from below version info.
...ANSWER
Answered 2017-Jan-16 at 11:05After pressing I
in visual block mode, vim appears to have entered insert mode. But when you exit the insert mode and go to normal mode again, you will see that the keys you pressed in insert mode have taken effect in the entire selected block.
A demo is available at this link
QUESTION
I am trying to install Gulp globally on my computer but it is not happening. I am using Linux PopOs (Ubuntu, Debian).
I have done npm install -g gulp
and the output is:
ANSWER
Answered 2019-Aug-09 at 20:02I found the solution after a while. It was about npm's prefix to define the directory where packages will be installed. Here is the related post and the answer.
QUESTION
Problem:
I would like to use python's keyring
library in a headless Linux environment, specifically a Debian 9 GCP compute instance. I have a cron job that wakes up every so often to run a python script (... which utilizes keyring to retrieve passwords to various resources).
The problem is that the python script will prompt for the user's keyring
password before allowing the python script to proceed. This does not work as the script is executed as a background cron process. Interestingly, running this same script in a Windows environment is not an issue, presumably because the process (user) is already authenticated.
Research:
I've only found one StackOverflow post (here) and the official online documentation (here - 'Using Keyring on headless Linux systems') that has a short section on how to run keyring in a headless linux environment.
The StackOverflow post covers how to do this with pgcli
, but not any arbitrary command line tool (e.g. my python script), thus I did not find it helpful.
Similarly, I have not been able to successfully reproduce the steps (it feels like there are steps missing?) in the doc to effect. Explicitly, after doing dbus-run-session -- sh
, I run gnome-keyring-daemon --unlock
, but the dbus-run-session just appears to hang and does not appear to execute anything).
Questions:
1) Does anyone have, can provide clear instructions on how to run keyring
in a headless Debian Linux environment, given my above scenario? Explicitly - no password prompting. I would really appreciate very explicit, step by step instructions if possible.
2) If not, I am using keyring
to retrieve passwords to various resources (e.g. postgres, remote API keys, etc.). I was hoping to secure these in a keyring, but if not possible what would be the recommended alternative? I read a few StackOverflow posts on storing data such as this in environment variables, but that is not recommended. I also feel that creating a config file and then encrypting it seems heavy.
Any help is appreciated. Thank you kindly -
...ANSWER
Answered 2018-Dec-23 at 21:24I've just tried it the instructions you pointed to and they worked. gnome-keyring-daemon --unlock
is not hanging, it's reading your password from stdin, i.e. you need to finish your password with enter and press Ctrl-D. The newline you've entered thus does not appear to become part of the password.
It seems that the first time you run it, you are setting the password. On subsequent runs there is no feedback by gnome-keyring-daemon if the password should be wrong, but obviously your program will not be able to connect later.
QUESTION
I'm just trying to run access GCP from python in a shared gitlab runner. I suspect there is something about the runner's OS that I don't understand. I can't seem to import google.cloud
. I get
ImportError: No module named 'google.cloud'
no matter what I try.
My .gitlab-ci.yml
...ANSWER
Answered 2018-Dec-19 at 22:49The package google-cloud
is deprecated and should not be used.
Normally you would import the library that you need.
Example: google-cloud-core
and google-cloud-storage
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gnome-keyring
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page