Pārlūkot izejas kodu

Added note about passphrase-protected keys (#2189)

Jeremy Stretch 7 gadi atpakaļ
vecāks
revīzija
02b6ffd59a
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      netbox/secrets/forms.py

+ 2 - 1
netbox/secrets/forms.py

@@ -153,7 +153,8 @@ class UserKeyForm(BootstrapMixin, forms.ModelForm):
         model = UserKey
         model = UserKey
         fields = ['public_key']
         fields = ['public_key']
         help_texts = {
         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):
     def clean_public_key(self):