- user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
- key = models.TextField()
- created_at = models.DateTimeField(auto_now_add=True)
+ user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, verbose_name=_('user'))
+ key = models.TextField(_('key'))
+ comment = models.CharField(_('comment'), max_length=255, editable=False)
+ algorithm = models.CharField(_('algorithm'), max_length=32, editable=False)
+ bit_length = models.IntegerField(_('bit length'), null=True, editable=False)
+ sha256_hash = models.CharField(_('SHA256 hash'), max_length=128, editable=False)
+ md5_hash = models.CharField(_('MD5 hash'), max_length=128, editable=False)
+ created_at = models.DateTimeField(_('created at'), auto_now_add=True)
+ last_seen_at = models.DateTimeField(_('last seen at'), null=True, editable=False)