Closed rafiramadhana closed 1 year ago
The separate function and checking are not needed. Trim already checks for suffix.
Instead, just change line 265 to filename = strings.TrimSuffix(filenameInput, ".tpm")
Thanks for finding the spot where to make the change and testing!
The separate function and checking are not needed. Trim already checks for suffix.
Instead, just change line 265 to
filename = strings.TrimSuffix(filenameInput, ".tpm")
Thanks for finding the spot where to make the change and testing!
updated https://github.com/Foxboron/ssh-tpm-agent/pull/27/commits/ea50a8a8ee216f703d112f8c9ca5722a4c3a828e
Please squash the two commits.
Please squash the two commits.
Ok, done
Resolves https://github.com/Foxboron/ssh-tpm-agent/issues/25
Tested in my local