Add support for signing documents from the UI. Mayan EDMS is now in the major leagues :)
This commit is contained in:
@@ -117,7 +117,7 @@ class Key(models.Model):
|
||||
super(Key, self).save(*args, **kwargs)
|
||||
|
||||
def __str__(self):
|
||||
return self.key_id
|
||||
return '{} - {}'.format(self.key_id, self.user_id)
|
||||
|
||||
def sign_file(self, file_object, passphrase=None, clearsign=True, detached=False, binary=False, output=None):
|
||||
temporary_directory = tempfile.mkdtemp()
|
||||
|
||||
Reference in New Issue
Block a user