• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. CLI Tools

Page History

Versions Compared

Old Version 38

changes.mady.by.user Erik Helin

Saved on Apr 21, 2020

compared with

New Version 39

changes.mady.by.user Robin Westberg

Saved on Apr 21, 2020

  • Previous Change: Difference between versions 37 and 38
  • Next Change: Difference between versions 39 and 40
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On GNU/Linux installations that features feature the GNOME Keyring the recommended setup is to use libsecret and the "libsecret credential helper" in order to use GNOME Keyring as the credential manager. Please follow the instructions for setting up libsecret for the GNU/Linux distribution you are using.

...

Personal Access Token

To generate a a personal access token on GitHub go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, store it in the GNOME Keyring using git token store:

...

The next step is to generate a personal access token. Go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, use GPG to encrypt it and store it in a file. The personal access token can be encrypted either using a GPG key or using a passphrase. If you have a GPG key you probably already know how to encrypt text with it, so we will only cover encryption using a passphrase here. To encrypt the personal access with a passphrase and store it in a file, run the following command (replacing <PAT> with the personal access token you just generated):

...

The next step is to generate a personal access token. Go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, use age to encrypt it and store it in a file. To encrypt the personal access token using a passphrase and storing the result in a file, run the following command (replacing <PAT> with your personal access token):

...

Finally you must configure Git to decrypt and read the personal access token from the file ~/pat.age when credentials are needed for https://github.com. This is done by the following command:

...

The next step is to generate a personal access token. Go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, use pass to store the personal access token securely:

...

Finally you must configure Git to read the personal access token from when credentials are needed for https://github.com. This is done by the following command:

...

Warning

This is not as secure as storing the personal access token encrypted. Any person or program who can read ~/.git-credentials will be able to read your personal access token and impersonate you.

A An insecure way to store your personal access token is to configure Git to store the personal acces access token unencrypted in the file ~/.git-credentials. You can configure Git do to this by running the following command:

Code Block
languagebash
$ git configure credential.helper store

To generate a a personal access token on GitHub go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your token, store it in ~/.git-credentials by running git token store:

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 392, "requestCorrelationId": "5bd2cc7582f49879"}