mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Set default checksum for key fingerprint to SHA1
This commit is contained in:
parent
2ed7286af1
commit
413eca124d
1 changed files with 2 additions and 2 deletions
|
@ -858,10 +858,10 @@ def path_join(*parts):
|
|||
))
|
||||
|
||||
|
||||
def pem_finger(path=None, key=None, sum_type='md5'):
|
||||
def pem_finger(path=None, key=None, sum_type='sha1'):
|
||||
'''
|
||||
Pass in either a raw pem string, or the path on disk to the location of a
|
||||
pem file, and the type of cryptographic hash to use. The default is md5.
|
||||
pem file, and the type of cryptographic hash to use. The default is SHA1.
|
||||
The fingerprint of the pem will be returned.
|
||||
|
||||
If neither a key nor a path are passed in, a blank string will be returned.
|
||||
|
|
Loading…
Add table
Reference in a new issue