- 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:
Michael Greene
2019-08-01 16:09:13 -07:00
parent f7ec8668bb
commit 15c90e2513
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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"))

View File

@@ -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:

View File

@@ -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