Adding comment for the property to be removed

This commit is contained in:
sayali 2020-09-15 17:37:58 -07:00
parent efd231e0ab
commit 51549ae795
1 changed files with 1 additions and 0 deletions

View File

@ -297,6 +297,7 @@ class Certificate(db.Model):
return self.parsed_cert.subject.rfc4514_string()
"""
# Commenting this property as key_type is now added as a column. This code can be removed in future.
@property
def key_type(self):
if isinstance(self.parsed_cert.public_key(), rsa.RSAPublicKey):