Dont fetch public keys when creating document version

This commit is contained in:
Roberto Rosario
2011-12-05 13:35:15 -04:00
parent 292d3ffc3d
commit f5211313b7

View File

@@ -455,7 +455,7 @@ class DocumentVersion(models.Model):
def update_signed_state(self, save=True):
if self.exists():
try:
self.signature_state = gpg.verify_w_retry(self.open()).status
self.signature_state = gpg.verify(self.open()).status
# TODO: give use choice for auto public key fetch?
# OR maybe new config option
except GPGVerificationError: