mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Reduce redundant info in a comment, but emphasize what is excluded in keyid
This commit is contained in:
parent
35ce49707c
commit
c99bb0fe01
1 changed files with 2 additions and 3 deletions
|
|
@ -245,9 +245,8 @@ def generate_rsa_key(bits=_DEFAULT_RSA_KEY_BITS):
|
|||
raise tuf.UnsupportedLibraryError('Invalid crypto'
|
||||
' library: ' + repr(_RSA_CRYPTO_LIBRARY) + '.')
|
||||
|
||||
# Generate the keyid of the RSA key. 'key_value' corresponds to the
|
||||
# 'keyval' entry of the 'RSAKEY_SCHEMA' dictionary. The private key
|
||||
# information is not included in the generation of the 'keyid' identifier.
|
||||
# Generate the keyid of the RSA key. Note: The private key material is
|
||||
# not included in the generation of the 'keyid' identifier.
|
||||
key_value = {'public': public,
|
||||
'private': ''}
|
||||
keyid = _get_keyid(keytype, key_value)
|
||||
|
|
|
|||
Loading…
Reference in a new issue