Skip to content
Snippets Groups Projects
Commit 625bf322 authored by Recolic K's avatar Recolic K
Browse files

optimize doc

parent bf08b7a1
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ The project uses libgnome-keyring-dev
### Ubuntu 20.04
libgnome-keyring-dev is not in the repositories, you have to install it and its dependencies manually:
```
wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/multiarch-support_2.27-3ubuntu1_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/universe/libg/libgnome-keyring/libgnome-keyring-common_3.12.0-1build1_all.deb
......@@ -32,6 +33,12 @@ sudo dpkg-reconfigure multiarch-support
sudo dpkg -i libgnome-keyring-common_3.12.0-1build1_all.deb libgnome-keyring0_3.12.0-1build1_amd64.deb gir1.2-gnomekeyring-1.0_3.12.0-1build1_amd64.deb libgnome-keyring-dev_3.12.0-1build1_amd64.deb
```
### Arch Linux
```
sudo pacman -S libgnome-keyring
```
## Usage
> I recommend you to **configure Yubikey as GPG smartcard**. The system would just ask you to unlock gnome-keyring with your default GPG software. You may generate a new GPG key for yubikey, or move your existing GPG key into yubikey. Refer to google for these knowledge.
......@@ -68,6 +75,12 @@ run `tools/list_keyrings.sh` to check name of your keyrings. The `login` keyring
Seahorse sometimes show an incorrect name for "Login" keyring. It's real name is `login` instead of `Login`. You may confirm this by running `tools/list_keyrings.sh`.
- It's simply not working. How do I debug this program?
```
echo 'login:my_password' | bin/unlock_keyrings --secret-file -
```
## TODO
This program is using deprecated `libgnome-keyring-1` instead of `libsecret`, because the author could not understand how to use `libsecret`. There's almost no document about how to use `secret_service_unlock_sync()`.
......
keys 0 → 100644
-----BEGIN PGP MESSAGE-----
hQIMA2xDZEbjUq0tAQ//a3hHDBhvP8kb6eLA0kxGtfdzi6i/b6c9Q9Hdufo9Jmoq
jRRtrgrcxInwK7zUyChAWp3p315j4NN9FUuEs1r8FG8IQPudnGtJNnd+xmWMbJaa
VlbP3GtI6+YrYYaNYCImdGhj3CflZ92TjMYvwIAzgoKTUISgF4rZD9sP07OAjOUQ
Egvo377mWG2/bBecaR+0JeaZDQ2eAIrwEB9wjxzvT+QdfrXtTKanMMbjbxtFmmRP
xIU8/3p1Z6hjqcvNp6sOc48LnQsUE0Jf2Jlqmx9Bc2ID+MFp6805vfBxG6KGe/by
KEwzXI9i0YiSlmO9Fb/K/Z/LKEyT9G/U+cCgymRzI23w/coM7hHW5LVxzBuAWyVz
j+VUUXLTQZVXjZOM0z0rR3Jsuojc9bj4Bt0nWqPjp0/1weYL9nmxVq/GCK4FxnQv
0kluf6kgriFx/DvSVuPDOJIuYBBWlODUNtN2W5XTvkX28Grcqv8npeOiZsKuQsDU
53K426Mzn0TBk4HRP0KfGw7twcLbGuWHqBghe2BKSdSJgZ93heeg7Fa9wsR5pER4
Vlc/eI7Opqfl2OqqDR2RZhdScVBu2Gbw6QnS5aJkQsOvCPxaEj6jvMvBmyt1/HOM
oEw1GHA80aLRt2mydY9C/3fs1CUEGjobT4ExiuoArp4vQIMT5aY7P96wAgAVIKnS
TAGRWZ5NPR1OIB5/RU3LrqosXkKjx9Vxpm8qOK0fy9x64uKXNdmkUgpuO54TO8g9
dYkVYCg0lI929mMg+r4mqphx2dJIk2TH4z4eLq0=
=ZJfQ
-----END PGP MESSAGE-----
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment