From 4cc2ec174c9e607056553a9ae2f7c5f460dbb6c1 Mon Sep 17 00:00:00 2001 From: futurator Date: Thu, 21 Jan 2016 01:47:17 +0300 Subject: [PATCH 1/4] coolest key-gen dialog added --- keygendialog.ui | 875 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 875 insertions(+) diff --git a/keygendialog.ui b/keygendialog.ui index 3f38ff4ef..974756de2 100644 --- a/keygendialog.ui +++ b/keygendialog.ui @@ -10,6 +10,232 @@ 480 + + + + + + + 86 + 147 + 241 + + + + + + + 51 + 51 + 51 + + + + + + + 86 + 147 + 241 + + + + + + + 86 + 147 + 241 + + + + + + + 247 + 247 + 247 + + + + + + + 38 + 38 + 38 + + + + + + + 86 + 147 + 241 + + + + + + + 86 + 147 + 241 + + + + + + + + + 86 + 147 + 241 + + + + + + + 51 + 51 + 51 + + + + + + + 86 + 147 + 241 + + + + + + + 86 + 147 + 241 + + + + + + + 247 + 247 + 247 + + + + + + + 38 + 38 + 38 + + + + + + + 86 + 147 + 241 + + + + + + + 86 + 147 + 241 + + + + + + + + + 128 + 128 + 128 + + + + + + + 51 + 51 + 51 + + + + + + + 128 + 128 + 128 + + + + + + + 128 + 128 + 128 + + + + + + + 38 + 38 + 38 + + + + + + + 38 + 38 + 38 + + + + + + + 186 + 186 + 186 + + + + + + + 86 + 147 + 241 + + + + + + Generate GnuPG keypair @@ -34,9 +260,26 @@ 0 + + + 11 + 75 + true + PreferDefault + + + + Qt::NoFocus + + + QLabel {color: #fc4141;} + Generate a new key pair + + Qt::AlignCenter + true @@ -80,6 +323,9 @@ + + QLabel {color: #5694f2;} + Passphrase @@ -87,6 +333,9 @@ + + QLabel {color: #5694f2;} + Email @@ -97,6 +346,15 @@ + + + + 51 + 51 + 51 + + + @@ -106,8 +364,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -117,8 +402,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -128,9 +440,33 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + false + + + QLineEdit { background-color: #333333;} + QLineEdit::Password @@ -141,6 +477,15 @@ + + + + 51 + 51 + 51 + + + @@ -150,8 +495,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -161,8 +533,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -172,13 +571,40 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + false + + + QLineEdit { background-color: #333333;} + + + QLabel {color: #5694f2;} + Name @@ -189,6 +615,15 @@ + + + + 51 + 51 + 51 + + + @@ -198,8 +633,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -209,8 +671,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -220,9 +709,33 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + false + + + QLineEdit { background-color: #333333;} + QLineEdit::Password @@ -233,6 +746,15 @@ + + + + 51 + 51 + 51 + + + @@ -242,8 +764,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -253,8 +802,35 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + @@ -264,9 +840,33 @@ + + + + 51 + 51 + 51 + + + + + + + 51 + 51 + 51 + + + + + false + + + QLineEdit { background-color: #333333;} + @@ -274,6 +874,9 @@ + + QLabel {color: #5694f2;} + <html><head/><body><p>There is no limit on the length of a passphrase, and it should be carefully chosen. From the perspective of security, the passphrase to unlock the private key is one of the weakest points in GnuPG (and other public-key encryption systems as well) since it is the only protection you have if another individual gets your private key. <br/>Ideally, the passphrase should not use words from a dictionary and should mix the case of alphabetic characters as well as use non-alphabetic characters.<br/>A good passphrase is crucial to the secure use of GnuPG.</p></body></html> @@ -284,6 +887,238 @@ + + + + + + + 170 + 170 + 170 + + + + + + + 85 + 85 + 85 + + + + + + + 170 + 170 + 170 + + + + + + + 170 + 170 + 170 + + + + + + + 247 + 247 + 247 + + + + + + + 236 + 11 + 11 + + + + + + + 133 + 175 + 235 + + + + + + + 133 + 175 + 235 + + + + + + + + + 170 + 170 + 170 + + + + + + + 85 + 85 + 85 + + + + + + + 170 + 170 + 170 + + + + + + + 170 + 170 + 170 + + + + + + + 247 + 247 + 247 + + + + + + + 236 + 11 + 11 + + + + + + + 133 + 175 + 235 + + + + + + + 133 + 175 + 235 + + + + + + + + + 170 + 170 + 170 + + + + + + + 85 + 85 + 85 + + + + + + + 170 + 170 + 170 + + + + + + + 170 + 170 + 170 + + + + + + + 236 + 11 + 11 + + + + + + + 236 + 11 + 11 + + + + + + + 186 + 186 + 186 + + + + + + + 133 + 175 + 235 + + + + + + + + true + + + QCheckBox {color: #aaaaaa;} + Expert @@ -294,6 +1129,43 @@ false + + + + + + + 119 + 119 + 119 + + + + + + + + + 119 + 119 + 119 + + + + + + + + + 51 + 51 + 51 + + + + + + true @@ -324,6 +1196,9 @@ Expire-Date: 0 + + QLabel {color: #5694f2;} + For expert options check out the <a href="https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html">GnuPG manual</a> From 77ea35cab898bc2752fb36fd8f8d65fed7c543db Mon Sep 17 00:00:00 2001 From: futurator Date: Thu, 21 Jan 2016 02:15:20 +0300 Subject: [PATCH 2/4] +1 --- keygendialog.ui | 261 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 203 insertions(+), 58 deletions(-) diff --git a/keygendialog.ui b/keygendialog.ui index 974756de2..713977cb3 100644 --- a/keygendialog.ui +++ b/keygendialog.ui @@ -874,15 +874,33 @@ + + + 0 + 170 + + + + + 0 + 0 + + - QLabel {color: #5694f2;} + QLabel {color: #5694f2; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px; padding-bottom: 10px; } <html><head/><body><p>There is no limit on the length of a passphrase, and it should be carefully chosen. From the perspective of security, the passphrase to unlock the private key is one of the weakest points in GnuPG (and other public-key encryption systems as well) since it is the only protection you have if another individual gets your private key. <br/>Ideally, the passphrase should not use words from a dictionary and should mix the case of alphabetic characters as well as use non-alphabetic characters.<br/>A good passphrase is crucial to the secure use of GnuPG.</p></body></html> + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + true + + 0 + @@ -893,54 +911,54 @@ - 170 - 170 - 170 + 252 + 65 + 65 - 85 - 85 - 85 + 38 + 38 + 38 - 170 - 170 - 170 + 252 + 65 + 65 - 170 - 170 - 170 + 252 + 65 + 65 - 247 - 247 - 247 + 38 + 38 + 38 - 236 - 11 - 11 + 38 + 38 + 38 @@ -967,54 +985,54 @@ - 170 - 170 - 170 + 252 + 65 + 65 - 85 - 85 - 85 + 38 + 38 + 38 - 170 - 170 - 170 + 252 + 65 + 65 - 170 - 170 - 170 + 252 + 65 + 65 - 247 - 247 - 247 + 38 + 38 + 38 - 236 - 11 - 11 + 38 + 38 + 38 @@ -1041,54 +1059,54 @@ - 170 - 170 - 170 + 252 + 65 + 65 - 85 - 85 - 85 + 38 + 38 + 38 - 170 - 170 - 170 + 252 + 65 + 65 - 170 - 170 - 170 + 252 + 65 + 65 - 236 - 11 - 11 + 38 + 38 + 38 - 236 - 11 - 11 + 38 + 38 + 38 @@ -1113,11 +1131,17 @@ + + + 50 + false + + - true + false - QCheckBox {color: #aaaaaa;} + QCheckBox {background-color: #262626; color: #fc4141; margin-left: 10px;} Expert @@ -1166,6 +1190,9 @@ + + + true @@ -1196,11 +1223,129 @@ Expire-Date: 0 + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 255 + 255 + 255 + + + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 255 + 255 + 255 + + + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 86 + 148 + 242 + + + + + + + 255 + 255 + 255 + + + + + + QLabel {color: #5694f2;} - For expert options check out the <a href="https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html">GnuPG manual</a> + <html><head/><body><p>For expert options check out the <a href="https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html"><span style=" text-decoration: underline; color:#ffffff;">GnuPG manual</span></a></p></body></html> true From daea8a3b357ed5092d4941bd2433e8519aeb86dd Mon Sep 17 00:00:00 2001 From: futurator Date: Thu, 21 Jan 2016 02:29:44 +0300 Subject: [PATCH 3/4] + --- keygendialog.ui | 157 +++++++++++++++++++++++++++++++----------------- 1 file changed, 103 insertions(+), 54 deletions(-) diff --git a/keygendialog.ui b/keygendialog.ui index 713977cb3..fbe6eb377 100644 --- a/keygendialog.ui +++ b/keygendialog.ui @@ -295,13 +295,13 @@ - 0 + 10 0 - 0 + 10 0 @@ -321,16 +321,6 @@ 0 - - - - QLabel {color: #5694f2;} - - - Passphrase - - - @@ -339,10 +329,31 @@ Email + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + - - + + + + + 0 + 0 + + + + + 200 + 0 + + + + + 200 + 16777215 + + @@ -467,13 +478,41 @@ QLineEdit { background-color: #333333;} - - QLineEdit::Password + + + + + + QLabel {color: #5694f2;} + + + Name + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - + + + + + 0 + 0 + + + + + 200 + 0 + + + + + 200 + 16777215 + + @@ -600,18 +639,33 @@ - - + + QLabel {color: #5694f2;} - Name + Passphrase + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - + + + + 0 + 0 + + + + + 300 + 0 + + @@ -741,8 +795,14 @@ - - + + + + + 0 + 0 + + @@ -867,6 +927,9 @@ QLineEdit { background-color: #333333;} + + QLineEdit::Password + @@ -887,7 +950,8 @@ - QLabel {color: #5694f2; margin-left: 10px; margin-right: 10px; margin-bottom: 5px; margin-top: 5px; padding-bottom: 10px; } + QLabel {color: #5694f2; +margin-left: 1px; /*margin-right: 10px; margin-bottom: 5px; margin-top: 5px; padding-bottom: 1px; */} <html><head/><body><p>There is no limit on the length of a passphrase, and it should be carefully chosen. From the perspective of security, the passphrase to unlock the private key is one of the weakest points in GnuPG (and other public-key encryption systems as well) since it is the only protection you have if another individual gets your private key. <br/>Ideally, the passphrase should not use words from a dictionary and should mix the case of alphabetic characters as well as use non-alphabetic characters.<br/>A good passphrase is crucial to the secure use of GnuPG.</p></body></html> @@ -1141,7 +1205,7 @@ false - QCheckBox {background-color: #262626; color: #fc4141; margin-left: 10px;} + QCheckBox {background-color: #262626; color: #fc4141; /*margin-left: 10px;*/} Expert @@ -1153,6 +1217,18 @@ false + + + 0 + 0 + + + + + 570 + 0 + + @@ -1253,15 +1329,6 @@ Expire-Date: 0 - - - - 255 - 255 - 255 - - - @@ -1291,15 +1358,6 @@ Expire-Date: 0 - - - - 255 - 255 - 255 - - - @@ -1329,20 +1387,11 @@ Expire-Date: 0 - - - - 255 - 255 - 255 - - - - QLabel {color: #5694f2;} + QLabel {color: #5694f2; margin-left: 1px; /*margin-right: 10px; margin-bottom: 5px; margin-top: 5px; padding-bottom: 1px; */} <html><head/><body><p>For expert options check out the <a href="https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html"><span style=" text-decoration: underline; color:#ffffff;">GnuPG manual</span></a></p></body></html> From 35d7bbbe39b5ce9e1bb3b35ddae2271036a4de71 Mon Sep 17 00:00:00 2001 From: futurator Date: Thu, 21 Jan 2016 02:36:07 +0300 Subject: [PATCH 4/4] + --- keygendialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keygendialog.ui b/keygendialog.ui index fbe6eb377..5e303f5bd 100644 --- a/keygendialog.ui +++ b/keygendialog.ui @@ -476,7 +476,7 @@ false - QLineEdit { background-color: #333333;} + QLineEdit { background-color: #333333; }