Comments (1)
I think I ruled this out. This is the solution:
[credential]
helper = "rbw"
username = "<username>"
I added username
into credentials
section of git config then changed my secrets to use email for github web authentication (note: github supports both username and email)
This is what it looks like now:
❯ rbw get --full github
<snip/password>
Username: <snip/email>
URI: https://github.com
❯ rbw get --full https://github.com
<snip/token>
Username: <snip/username>
These secrets don't overlap anymore.
Hopefully this saves someone else's frustration 😉
Edit: I ended up using custom helper:
[credential]
helper = "!f() { test \"$1\" = get && while read -r line; do case $line in protocol=*) protocol=${line#*=} ;; host=*) host=${line#*=} ;; username=*) user=${line#*=} ;; esac done && test \"$protocol\" = \"https\" && test -n \"$host\" && token=$(rbw get \"$host\" \"$user\") && printf 'password=%s\n' \"$token\"; }; f"
username = "ymatsiuk"
from rbw.
Related Issues (20)
- HTTPS_PROXY being ignored
- `rbw code UUID` doesn't work with v1.10.0 HOT 2
- TOTP with different algorithm not supported
- `rbw unlock` not working. HOT 14
- Feature request: keep vault open indefinitely HOT 3
- How to debug failed logins? HOT 7
- Pinentry script not working with passwords containing spaces
- Pinentry script not working with 2fa codes
- Add Pinentry script auto setup
- Username or Password are incorrect. Try Again HOT 31
- Unable to `get` entries containing colons in the name HOT 1
- Decryption failed on long Ciphertexts HOT 2
- UUIDs for `edit`, `remove`, and `history` doesn't work
- API endpoint `/accounts/prelogin` to be removed from the official Bitwarden server HOT 3
- new version of 'rbw' struggles with lower case ([a-z]) TOTP secrets and ones with padding - trailing equal signs ('=') HOT 1
- Failed decrypt if only organizations used HOT 1
- request: add --sort-by option to "list" command
- SSH-agent protocol HOT 1
- `rbw gen-completions ${shell}` fails for debug build HOT 1
- [question] usage in skripting for AWX Ansible?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbw.