This commit is contained in:
Joey Hess 2023-05-19 13:53:21 -04:00
parent ea7a904c0d
commit 0184421a4d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2023-05-19T17:39:29Z"
content="""
You are piping non-null-terminated output into a command that needs
terminating nulls. So, it reads the entire findkeys output, including
newlines as the name of a key. And drops that key, which doesn't exist of
course.
With `findkeys --print0`, it does work. It would also be fine to not use
`-z`, since keys should never actually contain a newline in their name.
"""]]