-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
in pass we have (line 101)
local gpg_id
while read -r gpg_id; do
gpg_id="${gpg_id%%#*}" # strip comment
[[ -n $gpg_id ]] || continue
GPG_RECIPIENT_ARGS+=( "-r" "$gpg_id" )
GPG_RECIPIENTS+=( "$gpg_id" )
done < "$current"howeverprs consider the complete line as UserId and no whatever before the ' # ' only
To Reproduce
Steps to reproduce the behavior:
- Add remarks to gpg_id entry in the .gpg_id file
Something like:
21347213469hdsaklfha # username <username@whatever.com>
- ~/.cargo/bin/prs edit ali
3, Change something
- save and exit
prs, will now say it can not find the ID (After inspecting with export RUST_BACKTRACE=1)
Expected behavior
prs should not care if entry has ramarks or not.
if it helps
in my implementation of pass pass simple I've used simply
Pseudocode
line.split(" ")[0]Sorry I'm not a Rust developer and I can not just submit PR,
but I can gladly test and confirm problem solved after it will be fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels