-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is trezor-agent --help correct? #431
Comments
You're right - good catch! |
OK if that is the case then should we reconsider the naming in other places to be more accurate and prevent confusion. For example here: trezor-agent/libagent/formats.py Line 1 in 3c911e9
Firstly, the doctsring for this module suggests it is only for SSH but is that really the case. Isn't this a module in the generic library? GPG is mentioned in some parts. trezor-agent/libagent/formats.py Lines 14 to 21 in 3c911e9
Are L14-L17 necessary if L19-21 exist? Although the constants in L20-L21 seem to be only used in this module. If L19 included SSH I think it would be sufficient and accurate. I've seen the curve name given as trezor-agent/libagent/formats.py Lines 23 to 33 in 3c911e9
I think trezor-agent/libagent/formats.py Lines 66 to 68 in 3c911e9
trezor-agent/libagent/formats.py Line 192 in 3c911e9
Doctsrings could be updated to be more accurate. Would need updating if changes are made to L14-21. The considerations will likely necessitate changes in several other files too. If you agree with them I would be happy to submit PRs. I'm trying to learn to program (with python) and like this project because it serves my needs with my Trezor-T. |
The trezor-agent/libagent/age/client.py Line 15 in 3c911e9
|
@romanz any further thoughts on the other issues I raised above? |
trezor-agent --help
states the following:In trying to educate myself more in these topics I came across this security.stackexchange question where the top answer states that:
"If you want a signature algorithm based on elliptic curves, then that's ECDSA or Ed25519; for some technical reasons due to the precise definition of the curve equation, that's ECDSA for P-256, Ed25519 for Curve25519."
which seems to contradict the
--help
output.The text was updated successfully, but these errors were encountered: