File: keyring.rst

package info (click to toggle)
git-ubuntu 1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,688 kB
  • sloc: python: 13,378; sh: 480; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 851 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Configure keyring to use plaintext storage
------------------------------------------

See :doc:`/explanation/keyring` for details on how git-ubuntu uses keyring. If
you want to reconfigure keyring to use plaintext storage to avoid getting
keyring password prompts, create the file
``~/.local/share/python_keyring/keyringrc.cfg`` with the following contents::

    [backend]
    default-keyring=keyrings.alt.file.PlaintextKeyring

If you're not using the git-ubuntu snap then you need to have the
``python3-keyrings.alt`` package installed. Additionally, if you're not using
the snap and you are using Ubuntu 22.04 or later, then the file is located at
``~/.config/python_keyring`` instead, and the contents need to be something
like::

    [backend]
    default-keyring=keyrings.alt.file.PlaintextKeyring
    keyring-path=/home/ubuntu/.cache/keyring