[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 114303] New: Enhancement: Allow --export-options export-minimal
From: Peter Hyman <pete4abw () comcast ! net>
Date: 2005-10-12 21:21:56
Message-ID: 20051012232151.114303.pete4abw () comcast ! net
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=114303
Summary: Enhancement: Allow --export-options export-minimal
option in export key dialog
Product: kgpg
Version: 1.2.1
Platform: unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: bj altern org
ReportedBy: pete4abw comcast net
Version: 1.2.1 (using KDE 3.4.2, Gentoo)
Compiler: gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
OS: Linux (i686) release 2.6.13-gentoo-r3
New services such as the PGP Global Directory, request that "stripped" keys be \
uploaded. That is the base user public key minus any signatures, photos, etc. This \
entails using the gpg --armor --export-options export-minimal --export keyname. The \
current export key dialog DOES allow for including or excluding photos \
(--export-options export-attributes). This additional checkbox would be a nice \
addition to make exporting through kgpg more complete and versatile. Should be a \
minor adjustment to the screen and to the dialog. I recommend the default checkbox \
state look like this:
default ON: Export All Signatures. (no-export-minimal)
Unchecked would change the export option to export-minimal.
In keyexport.ui, this block could contain the addition for minimal:
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="QCheckBox" row="1" column="0">
<property name="name">
<cstring>exportAttributes</cstring>
</property>
<property name="text">
<string>Export attributes (photo id)</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
Then in keyservers.cpp, this block could be modified to include no-export-minimal as \
default behavior unless the checkbox to include all signatures is UNchecked.
void keyServer::slotExport(QString keyId)
{
if (page->kCBexportks->currentText().isEmpty())
return;
readmessage=QString::null;
exportproc=new KProcIO();
QString keyserv=page->kCBexportks->currentText();
*exportproc<<"gpg";
if (!page->exportAttributes->isChecked())
*exportproc<<"--export-options"<<"no-include-attributes";
JM2C. HTH
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic