{"id":17477931,"url":"https://github.com/arunanshub/git-credential-netconf","last_synced_at":"2025-04-19T13:56:12.739Z","repository":{"id":44468755,"uuid":"390802379","full_name":"arunanshub/git-credential-netconf","owner":"arunanshub","description":"Git credentials management made easy.","archived":false,"fork":false,"pushed_at":"2025-03-29T23:05:00.000Z","size":66,"stargazers_count":4,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T21:48:48.784Z","etag":null,"topics":["git","git-credential-helper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arunanshub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-29T17:27:57.000Z","updated_at":"2025-01-09T07:02:33.000Z","dependencies_parsed_at":"2023-11-24T10:42:42.169Z","dependency_job_id":"5c65a043-e593-4c54-87cd-4f7fe795e3a2","html_url":"https://github.com/arunanshub/git-credential-netconf","commit_stats":{"total_commits":54,"total_committers":3,"mean_commits":18.0,"dds":"0.12962962962962965","last_synced_commit":"9ae8ea9427ddd2ecdce37ea512ef41ebf9670844"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fgit-credential-netconf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fgit-credential-netconf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fgit-credential-netconf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunanshub%2Fgit-credential-netconf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arunanshub","download_url":"https://codeload.github.com/arunanshub/git-credential-netconf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249708372,"owners_count":21313940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","git-credential-helper"],"created_at":"2024-10-18T20:10:13.124Z","updated_at":"2025-04-19T13:56:12.712Z","avatar_url":"https://github.com/arunanshub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-credential-netconf\n\n[![Upload Python Package](https://github.com/arunanshub/git-credential-netconf/actions/workflows/python-publish.yml/badge.svg)](https://github.com/arunanshub/git-credential-netconf/actions/workflows/python-publish.yml)\n\nGit credentials management made easy.\n\n# Installation\n\nUse `pip` or `pip3` to install `git-credential-netconf`\n\n```bash\npip install git-credential-netconf\n```\n\nor\n\n```bash\npip3 install git-credential-netconf\n```\n\n# Introduction\n\nCredential management in Git should not be difficult to use or configure, but\n(unfortunately) looking at the existing tools, it is difficult to even think\nabout it, let alone configure them without errors.\n\n**NOT. ANY. MORE!**\n\nPresenting `git-credential-netconf`, an easy yet powerful way to manage your\nGit credentials by harnessing the power of **GnuPG!**\n\n# Usage Overview\n\nThe following guide assumes you have a GPG key and you have installed `git-credential-netconf`.\n\n1. Create a `.netconf` file in your home directory.\n\n   ```bash\n   touch ~/.netconf\n   ```\n\n2. Start by filling in your username and password:\n\n   ```ini\n   [conf]\n   login = yourname\n   password = very-secret-password\n   ```\n\n   **The `.netconf` file uses configuration file format.**\n\n   [Read more about `.netconf` file.](#about-netconf-file)\n\n3. Encrypt your `.netconf` file with `gpg`\n\n   ```bash\n   gpg --recipient yourname@example.com --output ~/.netconf.gpg --encrypt \\\n       --sign ~/.netconf\n   ```\n\n   1. And remove your original `.netconf` for security:\n\n      ```bash\n      shred -u ~/.netconf\n      ```\n\n4. Tell Git to use it\n\n   **⚠️ Make sure that `~/.local/bin` is in `$PATH`**\n\n   ```bash\n   git config --global credential.helper 'netconf --debug'\n   ```\n\n   [Read more about flags for `git-credential-netconf` here.](#usage-details)\n\n5. Now use git without hassle!\n\n   ```bash\n   git push\n   ```\n\n   This will prompt `git-credential-netconf` to decrypt the `~/.netconf` file\n   using `GPG` and fetch the `username` and `password`, among other values.\n\n   You'll be asked for the password to `GPG` private key when decrypting.\n\n# Usage Details\n\n```none\nusage: git-credential-netconf [-h] [-g GPG] [-d] [-f FILE] [-q]\n                              {get,store,erase} ...\n\nEasy credential management using GPG.\n\npositional arguments:\n  {get,store,erase}     The credential operation to use.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -g GPG, --gpg GPG     The `gpg` program to use.\n  -d, --debug           Show output of `gpg` (it prints into `stderr`).\n  -f FILE, --file FILE  The `.netconf.gpg` file to use.\n  -q, --quit-on-failure\n                        Do not let Git consult any more helpers if an error is\n                        encountered while decryption.\n\ngit-credential-netconf is licensed under MIT license. Visit\n\u003chttps://github.com/arunanshub/git-credential-netconf\u003e for more info.\n```\n\n# About `.netconf` file\n\n`.netconf` can be used as a direct replacement for `.netrc` file, with the\nadvantage of being more convenient to use.\n\n## The section name\n\nYou can use any name for the section name, but using `conf` is the convention.\n\n## The keys\n\nThis table shows the equivalent values for `.netconf`, `.netrc` and\n`git-credential` keys:\n\n| `.netconf`                     | `.netrc` like | `git-credential` |\n| ------------------------------ | ------------- | ---------------- |\n| `login`, `user`, `username`    | `login`       | `username`       |\n| `machine`, `host`              | `machine`     | `host`           |\n| `path`                         |               | `path`           |\n| `password`                     | `password`    | `password`       |\n| `port`\u003csup\u003e1\u003c/sup\u003e, `protocol` |               | `protocol`       |\n\n1: If `port` is an integer, it is used as a `host:port` format.\n\n# Why another tool?\n\n- All other tools are very hard to configure properly.\n- Using `Perl` is as clear as mud.\n- Python is easy to use, maintain and is very portable.\n\n# License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunanshub%2Fgit-credential-netconf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunanshub%2Fgit-credential-netconf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunanshub%2Fgit-credential-netconf/lists"}