- correct missed copyright notices (need to add more of these)
- bump version string to 0.5.0 - change a list to a set
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2014 Michael Greene
|
||||
Copyright (c) 2014-2019 SecurityInnovation, Inc
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
||||
@@ -13,6 +13,6 @@ __all__ = ['__author__',
|
||||
'__version__']
|
||||
|
||||
__author__ = "Michael Greene"
|
||||
__copyright__ = "Copyright (c) 2014 Michael Greene"
|
||||
__copyright__ = "Copyright (c) 2014-2019 SecurityInnovation, Inc"
|
||||
__license__ = "BSD"
|
||||
__version__ = str(LooseVersion("0.4.4"))
|
||||
__version__ = str(LooseVersion("0.5.0"))
|
||||
|
||||
@@ -881,7 +881,7 @@ class PrivKeyV4(PrivKey, PubKeyV4):
|
||||
for pm in self.keymaterial.__pubfields__:
|
||||
setattr(pk.keymaterial, pm, copy.copy(getattr(self.keymaterial, pm)))
|
||||
|
||||
if self.pkalg in [PubKeyAlgorithm.ECDSA, PubKeyAlgorithm.EdDSA]:
|
||||
if self.pkalg in {PubKeyAlgorithm.ECDSA, PubKeyAlgorithm.EdDSA}:
|
||||
pk.keymaterial.oid = self.keymaterial.oid
|
||||
|
||||
if self.pkalg == PubKeyAlgorithm.ECDH:
|
||||
|
||||
@@ -831,7 +831,7 @@ class TestPGPKey_Actions(object):
|
||||
def test_certify_uid(self, sec, abe):
|
||||
# sign the uid
|
||||
userid = abe.userids[0]
|
||||
|
||||
|
||||
with warnings.catch_warnings():
|
||||
warnings.simplefilter('ignore')
|
||||
# test with all possible subpackets
|
||||
|
||||
Reference in New Issue
Block a user