Просмотр исходного кода

Added note about passphrase-protected keys (#2189)

Jeremy Stretch 7 лет назад
Родитель
Сommit
02b6ffd59a
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      netbox/secrets/forms.py

+ 2 - 1
netbox/secrets/forms.py

@@ -153,7 +153,8 @@ class UserKeyForm(BootstrapMixin, forms.ModelForm):
         model = UserKey
         fields = ['public_key']
         help_texts = {
-            'public_key': "Enter your public RSA key. Keep the private one with you; you'll need it for decryption.",
+            'public_key': "Enter your public RSA key. Keep the private one with you; you'll need it for decryption. "
+                          "Please note that passphrase-protected keys are not supported.",
         }
 
     def clean_public_key(self):