Fixed key generation

pull/140/head
parent 440c813a5f
commit f55762b411
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -119,11 +119,11 @@ Key-Type: ",type,"\n\
Key-Length: 1024\n\ Key-Length: 1024\n\
Subkey-Type: ELG-E\n\ Subkey-Type: ELG-E\n\
Subkey-Length: ",strength,"\n\ Subkey-Length: ",strength,"\n\
Name-Real: ",name,"\n",\ Name-Real: '",name,"'\n",\
!yon_char_is_empty(comment)?"Name-Comment: ":"",!yon_char_is_empty(comment)?comment:"",!yon_char_is_empty(comment)?"\n":""\ !yon_char_is_empty(comment)?"Name-Comment: ":"",!yon_char_is_empty(comment)?comment:"",!yon_char_is_empty(comment)?"\n":"","\
"Name-Email: ",email,"\n\ Name-Email: '",email,"'\n\
Expire-Date: ",!yon_char_is_empty(expire)?expire:"0","\n\ Expire-Date: ",!yon_char_is_empty(expire)?expire:"0","\n\
Passphrase: ",password,"\n\ Passphrase: '",password,"'\n\
%commit\n\ %commit\n\
%echo done\n\ %echo done\n\
EOF\n\n",NULL) EOF\n\n",NULL)
@ -135,8 +135,8 @@ Key-Length: 1024\n\
Subkey-Type: ELG-E\n\ Subkey-Type: ELG-E\n\
Subkey-Length: ",strength,"\n\ Subkey-Length: ",strength,"\n\
Name-Real: ",name,"\n",\ Name-Real: ",name,"\n",\
!yon_char_is_empty(comment)?"Name-Comment: ":"",!yon_char_is_empty(comment)?comment:"",!yon_char_is_empty(comment)?"\n":""\ !yon_char_is_empty(comment)?"Name-Comment: ":"",!yon_char_is_empty(comment)?comment:"",!yon_char_is_empty(comment)?"\n":"","\
"Name-Email: ",email,"\n\ Name-Email: '",email,"'\n\
Expire-Date: ",!yon_char_is_empty(expire)?expire:"0","\n\ Expire-Date: ",!yon_char_is_empty(expire)?expire:"0","\n\
%no-protection\n\ %no-protection\n\
%commit\n\ %commit\n\

@ -345,6 +345,7 @@
<object class="GtkEntry" id="PasswordEntry"> <object class="GtkEntry" id="PasswordEntry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="max-length">128</property>
<property name="visibility">False</property> <property name="visibility">False</property>
<property name="invisible-char">*</property> <property name="invisible-char">*</property>
</object> </object>
@ -383,6 +384,7 @@
<object class="GtkEntry" id="PasswordConfirmationEntry"> <object class="GtkEntry" id="PasswordConfirmationEntry">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="max-length">128</property>
<property name="visibility">False</property> <property name="visibility">False</property>
<property name="invisible-char">*</property> <property name="invisible-char">*</property>
</object> </object>

Loading…
Cancel
Save