[Pkg-gnupg-commit] [gpgme] 01/412: Python 3 port of PyME

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Sep 22 21:26:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository gpgme.

commit ebd8734ad705afa4edc409787a00d4968d25e018
Author: Ben McGinnes <ben at adversary.org>
Date:   Wed May 6 03:09:44 2015 +1000

    Python 3 port of PyME
    
    * The entirety of the Python 3 port of PyME up to commit
      2145348ec54c6027f2ea20f695de0277e2871405
    * The old commit log has been saved as
      lang/py3-pyme/docs/old-commits.log
    * Can be viewed as a normal (separate) git repository at
      https://github.com/adversary-org/pyme3
    * Utilising the submodule feature of git was deliberately skipped on
      humanitarian grounds (in order to prevent pain and suffering on the
      part of anyone having to manage this repository).
---
 lang/py3-pyme/COPYING                            |  340 ++
 lang/py3-pyme/COPYING.LESSER                     |  510 ++
 lang/py3-pyme/INSTALL                            |   15 +
 lang/py3-pyme/MANIFEST.in                        |    6 +
 lang/py3-pyme/README.rst                         |   48 +
 lang/py3-pyme/debian/README.Debian               |    6 +
 lang/py3-pyme/debian/changelog                   |   93 +
 lang/py3-pyme/debian/control                     |   34 +
 lang/py3-pyme/debian/copyright                   |   25 +
 lang/py3-pyme/debian/docs                        |    2 +
 lang/py3-pyme/debian/examples                    |    2 +
 lang/py3-pyme/debian/rules                       |   99 +
 lang/py3-pyme/docs/Short_History.rst             |   57 +
 lang/py3-pyme/docs/TODO.rst                      |   25 +
 lang/py3-pyme/docs/old-commits.log               | 2445 ++++++++++
 lang/py3-pyme/examples/PyGtkGpgKeys.glade        | 1394 ++++++
 lang/py3-pyme/examples/PyGtkGpgKeys.gladep       |    8 +
 lang/py3-pyme/examples/PyGtkGpgKeys.py           |  663 +++
 lang/py3-pyme/examples/delkey.py                 |   34 +
 lang/py3-pyme/examples/encrypt-to-all.py         |   65 +
 lang/py3-pyme/examples/exportimport.py           |   75 +
 lang/py3-pyme/examples/genkey.py                 |   45 +
 lang/py3-pyme/examples/inter-edit.py             |   57 +
 lang/py3-pyme/examples/pygpa.glade               | 5546 ++++++++++++++++++++++
 lang/py3-pyme/examples/pygpa.py                  | 1457 ++++++
 lang/py3-pyme/examples/sign.py                   |   31 +
 lang/py3-pyme/examples/signverify.py             |   78 +
 lang/py3-pyme/examples/simple.py                 |   52 +
 lang/py3-pyme/examples/t-edit.py                 |   59 +
 lang/py3-pyme/examples/testCMSgetkey.py          |   45 +
 lang/py3-pyme/examples/verifydetails.py          |  100 +
 lang/py3-pyme/gpgme-h-clean.py                   |   42 +
 lang/py3-pyme/gpgme.i                            |  267 ++
 lang/py3-pyme/helpers.c                          |  154 +
 lang/py3-pyme/helpers.h                          |   36 +
 lang/py3-pyme/pyme/__init__.py                   |  137 +
 lang/py3-pyme/pyme/callbacks.py                  |   47 +
 lang/py3-pyme/pyme/constants/__init__.py         |    7 +
 lang/py3-pyme/pyme/constants/data/__init__.py    |    4 +
 lang/py3-pyme/pyme/constants/data/encoding.py    |   20 +
 lang/py3-pyme/pyme/constants/event.py            |   20 +
 lang/py3-pyme/pyme/constants/import.py           |   20 +
 lang/py3-pyme/pyme/constants/keylist/__init__.py |    4 +
 lang/py3-pyme/pyme/constants/keylist/mode.py     |   20 +
 lang/py3-pyme/pyme/constants/md.py               |   20 +
 lang/py3-pyme/pyme/constants/pk.py               |   20 +
 lang/py3-pyme/pyme/constants/protocol.py         |   20 +
 lang/py3-pyme/pyme/constants/sig/__init__.py     |    4 +
 lang/py3-pyme/pyme/constants/sig/mode.py         |   20 +
 lang/py3-pyme/pyme/constants/sigsum.py           |   20 +
 lang/py3-pyme/pyme/constants/status.py           |   20 +
 lang/py3-pyme/pyme/constants/validity.py         |   20 +
 lang/py3-pyme/pyme/core.py                       |  463 ++
 lang/py3-pyme/pyme/errors.py                     |   46 +
 lang/py3-pyme/pyme/util.py                       |   72 +
 lang/py3-pyme/pyme/version.py                    |   43 +
 lang/py3-pyme/setup.py                           |  113 +
 57 files changed, 15075 insertions(+)

diff --git a/lang/py3-pyme/COPYING b/lang/py3-pyme/COPYING
new file mode 100644
index 0000000..d60c31a
--- /dev/null
+++ b/lang/py3-pyme/COPYING
@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+

+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+

+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+

+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+

+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+

+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year  name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/lang/py3-pyme/COPYING.LESSER b/lang/py3-pyme/COPYING.LESSER
new file mode 100644
index 0000000..b124cf5
--- /dev/null
+++ b/lang/py3-pyme/COPYING.LESSER
@@ -0,0 +1,510 @@
+
+                  GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations
+below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+

+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it
+becomes a de-facto standard.  To achieve this, non-free programs must
+be allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+

+                  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control
+compilation and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+

+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+

+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+

+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at least
+    three years, to give the same user the materials specified in
+    Subsection 6a, above, for a charge no more than the cost of
+    performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+

+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+

+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply, and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License
+may add an explicit geographical distribution limitation excluding those
+countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+

+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+                            NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+

+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms
+of the ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.
+It is safest to attach them to the start of each source file to most
+effectively convey the exclusion of warranty; and each file should
+have at least the "copyright" line and a pointer to where the full
+notice is found.
+
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or
+your school, if any, to sign a "copyright disclaimer" for the library,
+if necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James
+  Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
+
+
diff --git a/lang/py3-pyme/INSTALL b/lang/py3-pyme/INSTALL
new file mode 100644
index 0000000..18ece20
--- /dev/null
+++ b/lang/py3-pyme/INSTALL
@@ -0,0 +1,15 @@
+To build pyme module without installing it run 'make'.
+
+To install pyme module run 'make install'. The module will be installed in the
+site-packages subdirectory of the python library directory.
+
+To delete all files generated during build run 'make reallyclean'
+
+To build documentation run 'make docs'. HTML files will be generated in 'doc'
+subdirectory.
+
+To build distribution files including Debian packages run 'make dist'
+To build distribution archive without Debian packages and without debian
+    subdirectory run 'make nondeb-dist'
+Note, Debian packages and distribution archive will be generated in the parent
+    directory.
diff --git a/lang/py3-pyme/MANIFEST.in b/lang/py3-pyme/MANIFEST.in
new file mode 100644
index 0000000..45671b6
--- /dev/null
+++ b/lang/py3-pyme/MANIFEST.in
@@ -0,0 +1,6 @@
+recursive-include examples *.py *.glade *.gladep
+include gpgme-h-clean.py gpgme.i
+include helpers.c helpers.h
+include Makefile
+recursive-include pyme *.py
+
diff --git a/lang/py3-pyme/README.rst b/lang/py3-pyme/README.rst
new file mode 100644
index 0000000..4cad03a
--- /dev/null
+++ b/lang/py3-pyme/README.rst
@@ -0,0 +1,48 @@
+====
+PyME
+====
+
+PyMe is a python interface to the `GPGME
+<https://www.gnupg.org/related_software/gpgme/>`_ library.
+
+PyMe's development model is a `GPGME
+<https://www.gnupg.org/related_software/gpgme/>`_ + Python 3 + `SWIG
+<http://www.swig.org/>`_ combination which means that most of the functions and
+types are converted from C into Python 3 automatically by SWIG. In short, to be
+able to use PyMe you need to be `familiar with GPGME
+<https://www.gnupg.org/documentation/manuals/gpgme/>`_.
+
+
+-------
+Authors
+-------
+
+* John Goerzen, `Complete.Org <http://www.complete.org/JohnGoerzen>`_, 2002.
+* Igor Belyi, `PyME 0.8 <http://pyme.sourceforge.net/>`_, 2004-2008.
+* Martin Albrecht, `PyME 0.9+ <https://bitbucket.org/malb/pyme>`_, 2014 to present.
+* Ben McGinnes, `PyME Python 3 Port <https://git.gnupg.org/gpgme.git/lang/py3-pyme>`_, 2015 to present.
+
+  
+------------
+Mailing List
+------------
+
+PyME's support and development `mailing list
+<http://sourceforge.net/p/pyme/mailman/pyme-help/>`_ is hosted by sourceforge.
+
+
+-------
+History
+-------
+
+* The latest version of PyME for Python 3.2 and above (as of May, 2015) is v0.9.1.
+  https://git.gnupg.org/gpgme.git/lang/py3-pyme
+
+* The latest version of PyME for Python 2.6 and 2.7 (as of this writing) is v0.9.0.
+  https://bitbucket.org/malb/pyme
+
+* A previous version of PyME v0.8.0 can be found on sourceforge:
+  http://pyme.sourceforge.net/
+
+* A previous version of PyME v0.5.1 which works with GPGME v0.3.15 can be found
+  on John Goerzen's PyMe page: http://quux.org/devel/pyme/
diff --git a/lang/py3-pyme/debian/README.Debian b/lang/py3-pyme/debian/README.Debian
new file mode 100644
index 0000000..c520ba6
--- /dev/null
+++ b/lang/py3-pyme/debian/README.Debian
@@ -0,0 +1,6 @@
+Please note:
+
+The documentation for this package is in python-pyme-doc. 
+
+When you install that package, you can find the documentation and examples
+in /usr/share/doc/python-pyme-doc.
diff --git a/lang/py3-pyme/debian/changelog b/lang/py3-pyme/debian/changelog
new file mode 100644
index 0000000..7071d79
--- /dev/null
+++ b/lang/py3-pyme/debian/changelog
@@ -0,0 +1,93 @@
+pyme (0.8.1) unstable; urgency=low
+
+  * Add issuing gpgme_key_unref() in __del__ method for keys return from
+    op_keylist_next() and get_key() calls to avoid memory leak in a long
+    living contexts.
+  * Add missing (get|set)_engine_info() methods for the Context class and
+    set_engine_info() and set_locale() for the core module.
+  * Remove support for python2.3 in debian packaging since neither testing
+    nor unstable dist contains packages for it now.
+  * Update verifydetails.py for the new way structure types are handled;
+    add testCMSgetkey.py example for CMS keys. Thanks to Bernhard Reiter.
+  * Fix hang on Windows caused by passphrase_cb.
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Mon, 24 Nov 2008 01:56:19 -0500
+
+pyme (0.8.0) unstable; urgency=low
+
+  * Make all structure types containing 'next' field to be return as lists.
+    This includes when they are return from a function and when they are
+    member of another structure. Update all examples to use that updated
+    API.
+  * Switch to using pycentral for debian packages.
+  * Add rules to update PY file location in generated doc files.
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Sat, 29 Mar 2008 18:43:27 -0400
+
+pyme (0.7.1) unstable; urgency=low
+
+  * Add rules to build Windows version of the package.
+  * Move all constants into pyme.constants package to avoid conflicts with
+    Python reserved words. Previous location are preserved for now for
+    compatibility purposes.
+  * Change name of the internal GPGME wrapper package from 'gpgme' to
+    'pygpgme' to avoid conflict with gpgme.dll library on Windows.
+  * Fix gpgme.i to work with SWIG version >= 1.3.28
+  * Add core.check_version(None) call to the examples to do the proper
+    startup initialization.
+  * Add verifydetails.py example provided by Bernhard Reiter.
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Sun, 09 Mar 2008 21:35:16 -0400
+
+pyme (0.7.0) unstable; urgency=low
+
+  * Removed workaround in Context.wait()
+  * Updated core.wait() to return Context() object instead of GPGME pointer.
+  * Made Context.wait() and Context.op_edit() throw exception on failure.
+  * Added exception handling for passphrase_cb and edit_cb
+  * Allowed using None to unset previous callback and made hook argument
+    optional
+  * Fixed passphrase_cb to pass previously missing prev_bad argument as well
+  * Got rid of "warning: function declaration isn't a prototype" in helpers.h
+  * License on PyMe is changed from GPL to LGPL. Examples keep GPL license.
+  * Added pygpa.py example to illustrate gpa functionality using python.
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Wed, 27 Apr 2005 17:22:11 -0400
+
+pyme (0.6.2) unstable; urgency=low
+
+  * Implemented Context.wait() method more sutable for asynch calls in Python.
+  * Implemented Context.op_edit() to support editing operations
+  * Fixed string representation of the errors.GPGMEError exception
+  * Added a nice example: PyGtkGpgKeys.py (requires Glade2 and PyGTK 2.4).
+    No match to gpa, seahorse, or kgpg of course. :)
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Sat, 26 Mar 2005 11:42:27 -0500
+
+pyme (0.6.1) unstable; urgency=low
+
+  * Added package building for python2.4
+  * Updated copyright notes to avoid confusion for John's sake.
+  * Cleanup deprecated functions and typedefs from gpgme.h before building.
+
+ -- Igor Belyi <belyi at users.sourceforge.net>  Fri, 18 Mar 2005 20:41:52 -0500
+
+pyme (0.6.0) unstable; urgency=low
+
+  * Added support for libgpgme11 revision of GPGME library.
+
+ -- Igor Belyi <belyi at katehok.homeip.net>  Sun, 14 Mar 2004 16:37:39 -0500
+	
+pyme (0.5.1) unstable; urgency=low
+
+  * Added support for read callbacks for data objects, and an 
+    example for such to callbacks module.
+
+ -- John Goerzen <jgoerzen at complete.org>  Thu, 21 Nov 2002 08:29:52 -0600
+
+pyme (0.5.0) unstable; urgency=low
+
+  * Initial Release.  Closes: #169807.
+
+ -- John Goerzen <jgoerzen at complete.org>  Tue, 19 Nov 2002 14:32:36 -0600
+
diff --git a/lang/py3-pyme/debian/control b/lang/py3-pyme/debian/control
new file mode 100644
index 0000000..56885f9
--- /dev/null
+++ b/lang/py3-pyme/debian/control
@@ -0,0 +1,34 @@
+Source: pyme
+Section: python
+Priority: optional
+Maintainer: Igor Belyi <belyi at users.sourceforge.net>
+Build-Depends: debhelper (>> 4.1.67), python-central, python2.4-dev, python2.5-dev, libgpgme11-dev, swig
+XS-Python-Version: 2.4, 2.5
+Standards-Version: 3.5.2
+
+Package: python-pyme-doc
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Description: Python interface to the GPGME GnuPG encryption library
+ This package contains the documentation for Pyme.
+
+Package: python-pyme
+Architecture: any
+Provides: ${python:Provides}
+Depends: ${python:Depends}, ${shlibs:Depends}
+XB-Python-Version: ${python:Versions}
+Suggests: python-pyme-doc
+Description: Python interface to the GPGME GnuPG encryption library
+ Pyme is, for the most part, a direct interface to the C GPGME
+ library.  However, it is re-packaged in a more Pythonic way --
+ object-oriented with classes and modules.  Take a look at the classes
+ defined here -- they correspond directly to certain object types in GPGME
+ for C.
+ .
+ Features:
+ * Feature-rich, full implementation of the GPGME library. Supports all
+   GPGME features. Callback functions may be written in pure Python.
+ * Ability to sign, encrypt, decrypt, and verify data.
+ * Ability to list keys, export and import keys, and manage the keyring.
+ * Fully object-oriented with convenient classes and modules.
+
diff --git a/lang/py3-pyme/debian/copyright b/lang/py3-pyme/debian/copyright
new file mode 100644
index 0000000..5ea64b3
--- /dev/null
+++ b/lang/py3-pyme/debian/copyright
@@ -0,0 +1,25 @@
+The maintainance of the package was taken over by Igor Belyi
+<belyi at users.sourceforge.net> on Thu, 18 March 2004 <time unknown>
+This package was debianized by John Goerzen <jgoerzen at complete.org> on
+Tue, 19 Nov 2002 14:32:36 -0600.
+
+Copyright:
+
+Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+Debian users may find the GPL in /usr/share/common-licenses/LGPL-2.1
diff --git a/lang/py3-pyme/debian/docs b/lang/py3-pyme/debian/docs
new file mode 100644
index 0000000..9f2374e
--- /dev/null
+++ b/lang/py3-pyme/debian/docs
@@ -0,0 +1,2 @@
+debian/README.Debian
+doc
diff --git a/lang/py3-pyme/debian/examples b/lang/py3-pyme/debian/examples
new file mode 100644
index 0000000..636d928
--- /dev/null
+++ b/lang/py3-pyme/debian/examples
@@ -0,0 +1,2 @@
+examples/*.py
+examples/*.glade
diff --git a/lang/py3-pyme/debian/rules b/lang/py3-pyme/debian/rules
new file mode 100755
index 0000000..0e886ee
--- /dev/null
+++ b/lang/py3-pyme/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=4
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) swig
+	python2.4 setup.py build -b `pwd`/build
+	python2.5 setup.py build -b `pwd`/build
+	$(MAKE) PYSRCURL=file:/usr/share/pyshared/\\1 docs
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) reallyclean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/pyme.
+	python2.4 setup.py install --root=`pwd`/debian/python-pyme
+	python2.5 setup.py install --root=`pwd`/debian/python-pyme
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -i -XCVS
+	dh_installexamples -i -XCVS
+	dh_installmenu -i
+	dh_installchangelogs -i
+	dh_link -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_pycentral -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -a -XCVS
+	dh_installexamples -a -XCVS
+	dh_installmenu -a
+	dh_installchangelogs -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_pycentral -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/lang/py3-pyme/docs/Short_History.rst b/lang/py3-pyme/docs/Short_History.rst
new file mode 100644
index 0000000..839570e
--- /dev/null
+++ b/lang/py3-pyme/docs/Short_History.rst
@@ -0,0 +1,57 @@
+=======================
+A Short History of PyME
+=======================
+
+In 2002 John Goerzen released PyME; Python bindings for the GPGME
+module which utilised the current release of Python of the time
+(Python 2.2 or 2.3) and SWIG.  Shortly after creating it and ensuring
+it worked he stopped supporting it, though left his work available on
+his Gopher site.
+
+A couple of years later the project was picked up by Igor Belyi and
+actively developed and maintained by him from 2004 to 2008.  Igor's
+whereabouts at the time of this document's creation are unknown, but
+the current authors do hope he is well.  We're assuming (or hoping)
+that life did what life does and made continuing untenable.
+
+In 2014 Martin Albrecht wanted to patch a bug in the PyME code and
+discovered the absence of Igor.  Following a discussion on the PyME
+mailing list he became the new maintainer for PyME, releasing version
+0.9.0 in May of that year.  He remains the maintainer of the original
+PyME release in Python 2.6 and 2.7 (available via PyPI).
+
+In 2015 Ben McGinnes approached Martin about a Python 3 version, while
+investigating how complex a task this would be the task ended up being
+completed.  A subsequent discussion with Werner Koch led to the
+decision to fold the Python 3 port back into the original GPGME
+release in the languages subdirectory for non-C bindings.  Ben is the
+maintainer of the Python 3 port within GPGME.
+
+
+---------------------
+The Annoyances of Git
+---------------------
+
+As anyone who has ever worked with git knows, submodules are horrible
+way to deal with pretty much anything.  In the interests of avoiding
+migraines, that is being skipped with addition of PyME to GPGME.
+Instead the files will be added to the subdirectory, along with a copy
+of the entire git log up to that point as a separate file within the
+docs directory (old-commits.log).  As the log for PyME is nearly 100KB
+and the log for GPGME is approximately 1MB, this would cause
+considerable bloat, as well as some confusion, should the two be
+merged.  Hence the unfortunate, but necessary, step to simply move the
+files.  A regular repository version will be maintained should it be
+possible to implement this better in the future.
+
+
+------------------
+The Perils of PyPI
+------------------
+
+At the current time the Python 3 fork is not available via PyPI and
+the pip installer.  The recommended installation method is to follow
+the instructions in lang/py3-pyme/INSTALL.  This will build the
+necessary SWIG portions against the installed version of GPGME.
+
+
diff --git a/lang/py3-pyme/docs/TODO.rst b/lang/py3-pyme/docs/TODO.rst
new file mode 100644
index 0000000..7796230
--- /dev/null
+++ b/lang/py3-pyme/docs/TODO.rst
@@ -0,0 +1,25 @@
+===========
+Stuff To Do
+===========
+
+----------------
+Working examples
+----------------
+
+The examples from the Python 2 code base do not work and it appears
+that they don't under Python 2 either.  These ought to be replaced or
+updated with examples from the GPGME documentation.
+
+
+-------------
+Documentation
+-------------
+
+Currently this appears to be buried in the debian/ directory for some
+unknown reason, probably pertaining to one of the other developers.
+Documentation is to be moved to a more appropriate docs/ directory and
+produced using reST in preparation for inevitable publication by way
+of Sphinx and the existing infrastructure at readthedocs.org or the
+projects new home at gnupg.org.
+
+
diff --git a/lang/py3-pyme/docs/old-commits.log b/lang/py3-pyme/docs/old-commits.log
new file mode 100644
index 0000000..4d2bfe0
--- /dev/null
+++ b/lang/py3-pyme/docs/old-commits.log
@@ -0,0 +1,2445 @@
+commit 2145348ec54c6027f2ea20f695de0277e2871405
+Merge: 348ba88 2036f1a
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 03:04:19 2015 +1000
+
+    Merge pull request #4 from Hasimir/master
+    
+    history
+
+commit 2036f1a0a670a0561993e195c458059220b36114
+Merge: dbabf0c 348ba88
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:57:44 2015 +1000
+
+    Merge branch 'master' of github:adversary-org/pyme3
+
+commit dbabf0cf1f2985755c2293b619011832e34faa9c
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:52:23 2015 +1000
+
+    Added a short history
+    
+    * A (very) brief summary of the project's history since 2002.
+    * Deals with why the commit log in the GPGME repo does not include the
+      history of PyME.
+    * Mentions that intact git repos will be maintained, but not where they
+      are (one will be on github, another will be in a user directory on
+      playfair.gnupg.org).
+
+ docs/Short_History.rst | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 57 insertions(+)
+
+commit 348ba883424778c711c04ae9b66035ccdb36eb8c
+Merge: 127d0a5 7c37a27
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:21:34 2015 +1000
+
+    Merge pull request #3 from Hasimir/master
+    
+    Version release preparation
+
+commit 7c37a27a6845c58222d4d947c2efbe38e955b612
+Merge: f692cff 127d0a5
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:17:14 2015 +1000
+
+    Merge branch 'master' of github:adversary-org/pyme3
+
+commit f692cff50a89c2c61acdbd3d7dd60f5ce3cd15af
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:09:44 2015 +1000
+
+    TODO update
+    
+    * Removed reference to GitHub, replaced with impending new home at gnupg.org.
+
+ docs/TODO.rst | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit bd5ccf9e3bfe69fa681613757577e87b72ca08ec
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 02:00:44 2015 +1000
+
+    Version bump
+    
+    * Bumped version number to 0.9.1 to keep it somewhat in line with the
+      existing PyME project, even though there will be some divergence at
+      some point (or even re-merging, depending on how many of the Python 3
+      modifications can be back-ported to the Python 2 version).
+    * Updated the author and copyright information to reflect the two
+      current authors (Martin and I).
+    * Replaced Igor's contact details with mine.
+    * Replaced project home page with the GnuPG one.
+
+ pyme/version.py | 16 +++++++++-------
+ 1 file changed, 9 insertions(+), 7 deletions(-)
+
+commit ec167512f4ca88d8f6e89e2ae831798c8283b4df
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 01:48:01 2015 +1000
+
+    README preparation.
+    
+    * Changes in preparation for impending move of code to the GnuPG git
+      server as a part of GPGME.
+
+ README.rst | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
+
+commit 8a48515e884c36b5bdb24a13cb4d2e49f4ee6f17
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Wed May 6 01:43:53 2015 +1000
+
+    TODO moved to docs
+    
+    * As it says.
+
+ TODO.rst      | 25 -------------------------
+ docs/TODO.rst | 25 +++++++++++++++++++++++++
+ 2 files changed, 25 insertions(+), 25 deletions(-)
+
+commit f968c777472f01f308f6e57eac1740bf5c76c205
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 16:52:13 2015 +1000
+
+    Started another TODO file.
+
+ TODO.rst | 25 +++++++++++++++++++++++++
+ 1 file changed, 25 insertions(+)
+
+commit 127d0a56fa9f7ad1d4fb39d0b529b890a8d67365
+Merge: db72dea 44837f6
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 14:59:44 2015 +1000
+
+    Merge pull request #2 from Hasimir/master
+    
+    Minor editing.
+
+commit 44837f6e50fc539c86aef1f75a6a3538b02029ea
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 14:56:55 2015 +1000
+
+    Minor editing.
+    
+    * Fixed another URL.
+    * Changed Py3 version's version number to v0.9.1-beta0.
+
+ README.rst | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit db72deaae19c3513391df040bcaf66a88d9213af
+Merge: db34286 48eb185
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 14:26:11 2015 +1000
+
+    Merge pull request #1 from Hasimir/master
+    
+    Links
+
+commit 48eb1856cb0739cc9f0b9084da9d965e1fc7fddd
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 14:22:30 2015 +1000
+
+    Links
+    
+    * Fixed URLs for authors.
+    * Updated my entry to point to github location.
+    ** I strongly suspect the result of this work will be concurrent
+       projects, so preparing for that eventuality with this repo.
+
+ README.rst | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+commit db3428659783f30b9a76204403daedf9fc4cf7cf
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 11:29:00 2015 +1000
+
+    Explicit over Implicit ...
+    
+    ... isn't just for code.
+    
+    * Removed the 2to3 working directory and its contents.
+    * Made the README.rst file a little more clear that this branch is for
+      Python 3 (set Python 3.2 as a fairly arbitrary requirement for the
+      moment, but will probably raise this to 3.3).
+
+ 2to3/2to3-output-remaining.log |  60 ---
+ 2to3/2to3-output-setup.log     |  35 --
+ 2to3/2to3-output.log           | 950 -----------------------------------------
+ README.rst                     |  10 +-
+ 4 files changed, 7 insertions(+), 1048 deletions(-)
+
+commit 3edf07a4ba8a86af3a33246234d6e133074862af
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 11:19:41 2015 +1000
+
+    Added authors.
+    
+    * In alphabetical order.
+    * Mine will need updating once Martin and I have decided what to do
+      regarding the two main branches.
+
+ README.rst | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+commit 811eb14b53e8856312d99f46b77215f7f9bd672c
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 10:23:00 2015 +1000
+
+    Docs and other things.
+    
+    * Now able to import pyme.core without error, indicates port process is
+      successful.
+    * Code is *not* compatible with the Python 2 version.
+    * Will need to consider making this a parallel project with the master
+      branch.
+    * Got rid of the .org TODO file.
+    * Changed the README to use the reST file extension since it's full of
+      reST anyway.
+
+ 2to3/TODO.org |  5 -----
+ README.rst    | 32 ++++++++++++++++++++++++++++++++
+ README.txt    | 32 --------------------------------
+ 3 files changed, 32 insertions(+), 37 deletions(-)
+
+commit 79e784bdcce1de6f7856921b5431044c62c6f015
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 10:18:40 2015 +1000
+
+    Fixed another implicit import by making it explicit.  Hopefully this is the last one.
+
+ pyme/util.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 2b52b46ccda3e7abcc50eed0745062259d698661
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 10:16:01 2015 +1000
+
+    Fixed another implicit import by making it explicit.
+
+ pyme/errors.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 409c8fd565e21f23cd41daaeffc867e6d23a0863
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 10:08:22 2015 +1000
+
+    Bytes vs. Unicode
+    
+    * Trying PyBytes instead of PyUnicode.
+
+ gpgme.i   | 14 +++++++-------
+ helpers.c |  8 ++++----
+ 2 files changed, 11 insertions(+), 11 deletions(-)
+
+commit d8164aa2ae98bf8c807c16e2d9be12c5fbea7cfd
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 09:22:58 2015 +1000
+
+    String to Unicode
+    
+    * Replaced all instances of PyString with PyUnicode (and hoping there's
+      no byte data in there).
+
+ gpgme.i   | 14 +++++++-------
+ helpers.c |  8 ++++----
+ 2 files changed, 11 insertions(+), 11 deletions(-)
+
+commit bd99b7865656e559b17c419c6b64b412a22c6c44
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 09:17:06 2015 +1000
+
+    PyInt_AsLong
+    
+    * Replaced all instances of PyInt with PyLong, as per C API docs.
+
+ gpgme.i   | 4 ++--
+ helpers.c | 8 ++++----
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+commit 3c91e2ccf8ca788b51e3308e292c6b64888fdb15
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 05:59:36 2015 +1000
+
+    Import correction
+    
+    * Once pygpgme.py is generated and moved, it will be in the right
+      directory for the explicit "from . import pygpgme" to be correct.
+
+ pyme/core.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 23a49e7070812ff1ce138d8d4cc46d0b80328897
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 05:38:29 2015 +1000
+
+    The -py3 flag.
+
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit b1549587d6db5e33081b9c20f75d1348a1d25938
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 05:01:42 2015 +1000
+
+    Fixed indentation - 4.
+
+ pyme/core.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit a685142ce46761ee6f5176e90717176e38e0d24f
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 05:00:16 2015 +1000
+
+    Fixed indentation - 3.
+
+ pyme/core.py | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+commit 488a70b490cc64eb1c47d2483cb2f4079c6767f7
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:53:21 2015 +1000
+
+    Pet Peeve
+    
+    def pet_peeve(self):
+        peeve = print("people who don't press return after a colon!")
+    
+    FFS!
+
+ pyme/core.py | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+commit a5d38eb47d64bb17bb609fe594dae2aca480bac9
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:47:54 2015 +1000
+
+    Fixed indentation - 2.
+
+ pyme/core.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 476a207f732b8559abb1ea3c23147c0e34804730
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:46:01 2015 +1000
+
+    Fixed indentation.
+
+ pyme/core.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit 0572900eba9bcd9b0283c7d8e022e8972f06f9f8
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:43:49 2015 +1000
+
+    Replaced all tabs with 4 spaces.
+
+ pyme/core.py | 18 +++++++++---------
+ 1 file changed, 9 insertions(+), 9 deletions(-)
+
+commit 78c0b7677e94ce1e11b8cdb833a9064527187330
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:39:07 2015 +1000
+
+    SWIG flags in the wrong place.
+
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit dfa7f2589963494a8f89277560d8c1116604a3c8
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:35:09 2015 +1000
+
+    Fixed subprocess call for swig (again).
+
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 249bfd8c714dcda53127b99b6cc8a6c7c4a99f20
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 04:32:40 2015 +1000
+
+    Fixed subprocess call for swig.
+
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 6fd7e719cf4c975f466ceb39835db7007df36fb2
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sun May 3 03:51:48 2015 +1000
+
+    Linking swig to py3
+    
+    * Changed the swig invocations to run with the -python -py3 flags explicitly.
+
+ Makefile | 4 ++--
+ setup.py | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+commit 7a6b584f50ed6ddc8617a642185eea1f24ff791a
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 11:12:00 2015 +1000
+
+    String fun
+    
+    * streamlined confdata details, including decoding strom binary to string.
+
+ setup.py | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+commit f7fd3f270592021a95a8f779bfe85ac18f4e390b
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 10:46:59 2015 +1000
+
+    Open File
+    
+    * Removed deprecated file() and replaced with open().
+
+ examples/PyGtkGpgKeys.py | 2 +-
+ examples/pygpa.py        | 6 +++---
+ gpgme-h-clean.py         | 2 +-
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+commit 4227d486f9558015e7e548d71085e58e1b50ec08
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 10:36:15 2015 +1000
+
+    print() fix
+    
+    * Makefile includes a python print, changed from statement to function.
+
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 406f7f2567b701502186fe0a325dc2a3491ff7f8
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 10:28:42 2015 +1000
+
+    Updated Makefile
+    
+    * set make to use python3 instead.
+    * This will mean a successful port may need to be maintained seperately
+      from the original python2 code instead of merged, but ought to be able
+      to share most things.  So maybe merge with separated make files or a
+      pre-make script to set python2 or python3 prior to building ... decide
+      later, after it works.
+
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+commit 90b3efa5b193d37e08dc9b4ee766ba9ebc9412af
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 10:15:20 2015 +1000
+
+    Env and a little license issue
+    
+    * Updated all the /usr/bin/env paths to point to python3.
+    * Also fixed the hard coded /usr/bin/python paths.
+    * Updated part of setup.py which gave the impression this package was
+      only licensed under the GPL (it's actually licensed under the LGPL as
+      well, essentially the same dual licensing as the GPGME library).
+
+ examples/PyGtkGpgKeys.py   | 2 +-
+ examples/delkey.py         | 2 +-
+ examples/encrypt-to-all.py | 2 +-
+ examples/exportimport.py   | 2 +-
+ examples/genkey.py         | 2 +-
+ examples/inter-edit.py     | 2 +-
+ examples/pygpa.py          | 2 +-
+ examples/sign.py           | 2 +-
+ examples/signverify.py     | 2 +-
+ examples/simple.py         | 2 +-
+ examples/t-edit.py         | 2 +-
+ examples/testCMSgetkey.py  | 2 +-
+ examples/verifydetails.py  | 2 +-
+ gpgme-h-clean.py           | 2 +-
+ setup.py                   | 4 ++--
+ 15 files changed, 16 insertions(+), 16 deletions(-)
+
+commit 1a4b55dbccd2774344352e579130bf494bc5fa4b
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 08:50:54 2015 +1000
+
+    Removed extraneous files.
+    
+    * The two .bak files.
+
+ pyme/errors.py.bak |  46 ---------------------
+ setup.py.bak       | 116 -----------------------------------------------------
+ 2 files changed, 162 deletions(-)
+
+commit 208879d4f2a6d0514c3f8ee2fc0da8bba42350de
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 08:19:37 2015 +1000
+
+    Added TODO.org
+    
+    * TODO list in Emacs org-mode.
+    * Will eventually be removed along with this entire directory when the
+      porting process is complete.
+
+ 2to3/TODO.org | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+commit 1548bf201059638675c5387c6f124d4b703363a9
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 07:58:40 2015 +1000
+
+    2to3 conversion of remaining files
+    
+    * Ran the extended version against all the unmodified python files.
+    * Only pyme/errors.py required additional work.
+
+ 2to3/2to3-output-remaining.log | 60 ++++++++++++++++++++++++++++++++++++++++++
+ pyme/errors.py                 |  2 +-
+ pyme/errors.py.bak             | 46 ++++++++++++++++++++++++++++++++
+ 3 files changed, 107 insertions(+), 1 deletion(-)
+
+commit 1230650bc6bbe4c14d1284f7877aa932f3e86eb4
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Sat May 2 07:50:39 2015 +1000
+
+    2to3 conversion of setup.py
+    
+    * Ran extended 2to3 command to produce python 3 code for setup.py.
+    * Effectively testing for what to run against the other originally
+      unmodified py2 files.
+
+ 2to3/2to3-output-setup.log |  35 ++++++++++++++
+ setup.py                   |   7 ++-
+ setup.py.bak               | 116 +++++++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 154 insertions(+), 4 deletions(-)
+
+commit edad44955f59aa879e95a369591717fb19eec6b7
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Fri May 1 21:50:07 2015 +1000
+
+    Removing 2to3 generated .bak files.
+    
+    * Not really needed with a real VCS, but couldn't hurt to have them for
+      a couple of revisions.  ;)
+
+ examples/PyGtkGpgKeys.py.bak           |  663 ---------------
+ examples/encrypt-to-all.py.bak         |   65 --
+ examples/exportimport.py.bak           |   75 --
+ examples/genkey.py.bak                 |   45 -
+ examples/inter-edit.py.bak             |   57 --
+ examples/pygpa.py.bak                  | 1457 --------------------------------
+ examples/sign.py.bak                   |   31 -
+ examples/signverify.py.bak             |   78 --
+ examples/simple.py.bak                 |   52 --
+ examples/t-edit.py.bak                 |   59 --
+ examples/testCMSgetkey.py.bak          |   45 -
+ examples/verifydetails.py.bak          |  100 ---
+ gpgme-h-clean.py.bak                   |   42 -
+ pyme/callbacks.py.bak                  |   47 --
+ pyme/constants/data/__init__.py.bak    |    4 -
+ pyme/constants/keylist/__init__.py.bak |    4 -
+ pyme/constants/sig/__init__.py.bak     |    4 -
+ pyme/core.py.bak                       |  463 ----------
+ pyme/util.py.bak                       |   72 --
+ pyme/version.py.bak                    |   41 -
+ 20 files changed, 3404 deletions(-)
+
+commit 1cfc3c969f885ed191610bffbbd60ac23fdd349e
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Fri May 1 21:45:50 2015 +1000
+
+    2to3 conversion log
+    
+    * The output of the command to convert the code from Python 2 to 3.
+    * Note: this contains the list of files which were not modified and
+      which will or may need to be modified.
+
+ 2to3/2to3-output.log | 950 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 950 insertions(+)
+
+commit 078f6cf878aa62d12704fab424198a613a24cc8c
+Author: Ben McGinnes <ben at adversary.org>
+Date:   Fri May 1 21:36:58 2015 +1000
+
+    2to3 conversion of pyme master
+    
+    * Branch from commit 459f3eca659b4949e394c4a032d9ce2053e6c721
+    * Ran this: or x in `find . | egrep .py$` ; do 2to3 -w $x; done ;
+    * Multiple files not modified, will record elsewhere (see next commit).
+
+ examples/PyGtkGpgKeys.py               |   10 +-
+ examples/PyGtkGpgKeys.py.bak           |  663 +++++++++++++++
+ examples/encrypt-to-all.py             |   12 +-
+ examples/encrypt-to-all.py.bak         |   65 ++
+ examples/exportimport.py               |   20 +-
+ examples/exportimport.py.bak           |   75 ++
+ examples/genkey.py                     |    2 +-
+ examples/genkey.py.bak                 |   45 +
+ examples/inter-edit.py                 |    8 +-
+ examples/inter-edit.py.bak             |   57 ++
+ examples/pygpa.py                      |   40 +-
+ examples/pygpa.py.bak                  | 1457 ++++++++++++++++++++++++++++++++
+ examples/sign.py                       |    2 +-
+ examples/sign.py.bak                   |   31 +
+ examples/signverify.py                 |   18 +-
+ examples/signverify.py.bak             |   78 ++
+ examples/simple.py                     |    8 +-
+ examples/simple.py.bak                 |   52 ++
+ examples/t-edit.py                     |   12 +-
+ examples/t-edit.py.bak                 |   59 ++
+ examples/testCMSgetkey.py              |    8 +-
+ examples/testCMSgetkey.py.bak          |   45 +
+ examples/verifydetails.py              |   34 +-
+ examples/verifydetails.py.bak          |  100 +++
+ gpgme-h-clean.py                       |    2 +-
+ gpgme-h-clean.py.bak                   |   42 +
+ pyme/callbacks.py                      |    6 +-
+ pyme/callbacks.py.bak                  |   47 ++
+ pyme/constants/data/__init__.py        |    2 +-
+ pyme/constants/data/__init__.py.bak    |    4 +
+ pyme/constants/keylist/__init__.py     |    2 +-
+ pyme/constants/keylist/__init__.py.bak |    4 +
+ pyme/constants/sig/__init__.py         |    2 +-
+ pyme/constants/sig/__init__.py.bak     |    4 +
+ pyme/core.py                           |   26 +-
+ pyme/core.py.bak                       |  463 ++++++++++
+ pyme/util.py                           |    6 +-
+ pyme/util.py.bak                       |   72 ++
+ pyme/version.py                        |    2 +-
+ pyme/version.py.bak                    |   41 +
+ 40 files changed, 3515 insertions(+), 111 deletions(-)
+
+commit 459f3eca659b4949e394c4a032d9ce2053e6c721
+Merge: c5966ab dae7f14
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Wed Jul 9 10:48:33 2014 +0100
+
+    Merged in jerrykan/pyme/fix_setup_26 (pull request #1)
+    
+    Provide support for using setup.py with Python v2.6
+
+commit dae7f14a54e6c2bde0ad4da7308cc7fc0d0c0469
+Author: John Kristensen <john.kristensen at dpipwe.tas.gov.au>
+Date:   Wed Jul 9 15:54:39 2014 +1000
+
+    Provide support for using setup.py with Python v2.6
+    
+    The setup.py script uses subprocess.check_output() which was introduced
+    in Python v2.7. The equivalent functionality can be achieved without
+    adding much extra code and provide support for Python v2.6.
+
+ setup.py | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+commit c5966abec9d772b3922d32650da288fd50a217be
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Thu May 15 19:43:00 2014 +0100
+
+    README.txt in ReST, including headlines
+
+ README.txt | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+commit 43ee8c6f34fa9b6d3975aa6ea60b3d4a741fa721
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Thu May 15 19:37:15 2014 +0100
+
+    README.txt in ReST
+
+ README.txt | 25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+commit f71a369484cba8801df23ccc5842335fa496c0df
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Thu May 15 19:28:12 2014 +0100
+
+    added MANIFEST.in and README.txt (instead of .md)
+
+ MANIFEST.in |  6 ++++++
+ README.md   | 27 ---------------------------
+ README.txt  | 27 +++++++++++++++++++++++++++
+ 3 files changed, 33 insertions(+), 27 deletions(-)
+
+commit d0d6755229f920b0bed043e9c2731de2d57c096c
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Tue May 13 09:52:44 2014 +0100
+
+    added mailing list to README
+
+ README.md | 19 ++++++++++++++++---
+ 1 file changed, 16 insertions(+), 3 deletions(-)
+
+commit 30ca60ddf92df684de261cb24c83c68089be0adc
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sun May 11 13:34:28 2014 +0100
+
+    we don't need a separate out of date ChangeLog file
+
+ ChangeLog | 802 --------------------------------------------------------------
+ 1 file changed, 802 deletions(-)
+
+commit 8263f1a6d38fdb7f5f3dd5c7e28f83caa7528a08
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sun May 11 13:32:31 2014 +0100
+
+    adding README.md
+
+ README.md | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+commit 3fc71b47e9e14b0b984801c28d722723baa4b406
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 10 15:43:06 2014 +0100
+
+    ValueError -> RuntimeError
+
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit eec432abea56296b9fa36aac0d10926a2335b739
+Merge: eea6537 d2738b3
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 10 15:41:02 2014 +0100
+
+    Merge branch 'master' of bitbucket.org:malb/pyme
+    
+    Conflicts:
+    	setup.py
+
+commit eea6537921061b4dcfc54e00a99d3fa110e71433
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 10 15:39:51 2014 +0100
+
+    check for swig
+
+ setup.py | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+commit 53867bf9715ee1b4ea873bf5e2fbb7d9740a2b4a
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 10 15:35:04 2014 +0100
+
+    more friendly error message if gpgme is missing
+
+ setup.py | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+commit d2738b35d63b1492d69641c5466103685f2d3a30
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 10 15:35:04 2014 +0100
+
+    more friendly error message if gpgme is missing
+
+ setup.py | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+commit c0b01240becf8ba6cf1d4c1f64b2cb4c056f5163
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Fri May 9 15:20:24 2014 +0100
+
+    version number should have three digits
+
+ pyme/version.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 6672bb60b9bec60d38e854016c48658b57774578
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Wed May 7 15:11:08 2014 +0100
+
+    bump version number for upcoming release
+
+ pyme/version.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 7bd6de700f33ca5d1f27bc16ebbd401f21d2e788
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 3 19:36:25 2014 +0100
+
+    bump version number to indicate changes
+
+ pyme/version.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 4fb6bd9b3f47c1a343242ac83b326cacd12a136e
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 3 19:34:07 2014 +0100
+
+    pyme instead of pygpgme
+
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 9548973138d78241a45ccb82333b25f2cf36ce7d
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 3 19:31:10 2014 +0100
+
+    dirty hack to make 'python setup.py install' work
+
+ setup.py | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+commit a961d7eab9db478b7e603324bc5d243bd3c84bad
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 3 19:05:44 2014 +0100
+
+    moved everything down to the toplevel directory
+
+ COPYING                                 |  340 ++
+ COPYING.LESSER                          |  510 +++
+ ChangeLog                               |  802 +++++
+ INSTALL                                 |   15 +
+ Makefile                                |  104 +
+ debian/README.Debian                    |    6 +
+ debian/changelog                        |   93 +
+ debian/control                          |   34 +
+ debian/copyright                        |   25 +
+ debian/docs                             |    2 +
+ debian/examples                         |    2 +
+ debian/rules                            |   99 +
+ examples/PyGtkGpgKeys.glade             | 1394 ++++++++
+ examples/PyGtkGpgKeys.gladep            |    8 +
+ examples/PyGtkGpgKeys.py                |  663 ++++
+ examples/delkey.py                      |   34 +
+ examples/encrypt-to-all.py              |   65 +
+ examples/exportimport.py                |   75 +
+ examples/genkey.py                      |   45 +
+ examples/inter-edit.py                  |   57 +
+ examples/pygpa.glade                    | 5546 +++++++++++++++++++++++++++++++
+ examples/pygpa.py                       | 1457 ++++++++
+ examples/sign.py                        |   31 +
+ examples/signverify.py                  |   78 +
+ examples/simple.py                      |   52 +
+ examples/t-edit.py                      |   59 +
+ examples/testCMSgetkey.py               |   45 +
+ examples/verifydetails.py               |  100 +
+ gpgme-h-clean.py                        |   42 +
+ gpgme.i                                 |  267 ++
+ helpers.c                               |  154 +
+ helpers.h                               |   36 +
+ pyme/COPYING                            |  340 --
+ pyme/COPYING.LESSER                     |  510 ---
+ pyme/ChangeLog                          |  802 -----
+ pyme/INSTALL                            |   15 -
+ pyme/Makefile                           |  104 -
+ pyme/__init__.py                        |  137 +
+ pyme/callbacks.py                       |   47 +
+ pyme/constants/__init__.py              |    7 +
+ pyme/constants/data/__init__.py         |    4 +
+ pyme/constants/data/encoding.py         |   20 +
+ pyme/constants/event.py                 |   20 +
+ pyme/constants/import.py                |   20 +
+ pyme/constants/keylist/__init__.py      |    4 +
+ pyme/constants/keylist/mode.py          |   20 +
+ pyme/constants/md.py                    |   20 +
+ pyme/constants/pk.py                    |   20 +
+ pyme/constants/protocol.py              |   20 +
+ pyme/constants/sig/__init__.py          |    4 +
+ pyme/constants/sig/mode.py              |   20 +
+ pyme/constants/sigsum.py                |   20 +
+ pyme/constants/status.py                |   20 +
+ pyme/constants/validity.py              |   20 +
+ pyme/core.py                            |  463 +++
+ pyme/debian/README.Debian               |    6 -
+ pyme/debian/changelog                   |   93 -
+ pyme/debian/control                     |   34 -
+ pyme/debian/copyright                   |   25 -
+ pyme/debian/docs                        |    2 -
+ pyme/debian/examples                    |    2 -
+ pyme/debian/rules                       |   99 -
+ pyme/errors.py                          |   46 +
+ pyme/examples/PyGtkGpgKeys.glade        | 1394 --------
+ pyme/examples/PyGtkGpgKeys.gladep       |    8 -
+ pyme/examples/PyGtkGpgKeys.py           |  663 ----
+ pyme/examples/delkey.py                 |   34 -
+ pyme/examples/encrypt-to-all.py         |   65 -
+ pyme/examples/exportimport.py           |   75 -
+ pyme/examples/genkey.py                 |   45 -
+ pyme/examples/inter-edit.py             |   57 -
+ pyme/examples/pygpa.glade               | 5546 -------------------------------
+ pyme/examples/pygpa.py                  | 1457 --------
+ pyme/examples/sign.py                   |   31 -
+ pyme/examples/signverify.py             |   78 -
+ pyme/examples/simple.py                 |   52 -
+ pyme/examples/t-edit.py                 |   59 -
+ pyme/examples/testCMSgetkey.py          |   45 -
+ pyme/examples/verifydetails.py          |  100 -
+ pyme/gpgme-h-clean.py                   |   42 -
+ pyme/gpgme.i                            |  267 --
+ pyme/helpers.c                          |  154 -
+ pyme/helpers.h                          |   36 -
+ pyme/pyme/__init__.py                   |  137 -
+ pyme/pyme/callbacks.py                  |   47 -
+ pyme/pyme/constants/__init__.py         |    7 -
+ pyme/pyme/constants/data/__init__.py    |    4 -
+ pyme/pyme/constants/data/encoding.py    |   20 -
+ pyme/pyme/constants/event.py            |   20 -
+ pyme/pyme/constants/import.py           |   20 -
+ pyme/pyme/constants/keylist/__init__.py |    4 -
+ pyme/pyme/constants/keylist/mode.py     |   20 -
+ pyme/pyme/constants/md.py               |   20 -
+ pyme/pyme/constants/pk.py               |   20 -
+ pyme/pyme/constants/protocol.py         |   20 -
+ pyme/pyme/constants/sig/__init__.py     |    4 -
+ pyme/pyme/constants/sig/mode.py         |   20 -
+ pyme/pyme/constants/sigsum.py           |   20 -
+ pyme/pyme/constants/status.py           |   20 -
+ pyme/pyme/constants/validity.py         |   20 -
+ pyme/pyme/core.py                       |  463 ---
+ pyme/pyme/errors.py                     |   46 -
+ pyme/pyme/util.py                       |   72 -
+ pyme/pyme/version.py                    |   41 -
+ pyme/setup.py                           |   99 -
+ pyme/util.py                            |   72 +
+ pyme/version.py                         |   41 +
+ setup.py                                |   99 +
+ 108 files changed, 13384 insertions(+), 13384 deletions(-)
+
+commit 8148cdd424c434e833ce427612ea8c89abc6e41c
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Sat May 3 18:58:52 2014 +0100
+
+    removing pyme-web
+
+ pyme-web/Makefile                                  |  15 -
+ pyme-web/default.css                               |  37 --
+ pyme-web/doc/gpgme/ASCII-Armor.html                |  57 ---
+ pyme-web/doc/gpgme/Advanced-Key-Editing.html       |  98 ----
+ pyme-web/doc/gpgme/Algorithms.html                 |  47 --
+ pyme-web/doc/gpgme/Building-the-Source.html        |  82 ----
+ .../doc/gpgme/Callback-Based-Data-Buffers.html     | 148 ------
+ pyme-web/doc/gpgme/Cancellation.html               |  67 ---
+ pyme-web/doc/gpgme/Concept-Index.html              | 186 -------
+ pyme-web/doc/gpgme/Context-Attributes.html         |  52 --
+ pyme-web/doc/gpgme/Contexts.html                   |  61 ---
+ pyme-web/doc/gpgme/Creating-Contexts.html          |  49 --
+ pyme-web/doc/gpgme/Creating-Data-Buffers.html      |  47 --
+ pyme-web/doc/gpgme/Creating-a-Signature.html       | 143 ------
+ pyme-web/doc/gpgme/Crypto-Engine.html              |  79 ---
+ pyme-web/doc/gpgme/Crypto-Operations.html          |  67 ---
+ .../doc/gpgme/Cryptographic-Message-Syntax.html    |  42 --
+ .../doc/gpgme/Data-Buffer-I_002fO-Operations.html  | 104 ----
+ pyme-web/doc/gpgme/Data-Buffer-Meta_002dData.html  | 100 ----
+ pyme-web/doc/gpgme/Decrypt-and-Verify.html         |  79 ---
+ pyme-web/doc/gpgme/Decrypt.html                    | 123 -----
+ pyme-web/doc/gpgme/Deleting-Keys.html              |  67 ---
+ pyme-web/doc/gpgme/Destroying-Contexts.html        |  46 --
+ pyme-web/doc/gpgme/Destroying-Data-Buffers.html    |  70 ---
+ pyme-web/doc/gpgme/Encrypt.html                    |  45 --
+ pyme-web/doc/gpgme/Encrypting-a-Plaintext.html     | 147 ------
+ pyme-web/doc/gpgme/Engine-Configuration.html       |  65 ---
+ pyme-web/doc/gpgme/Engine-Information.html         | 119 -----
+ pyme-web/doc/gpgme/Engine-Version-Check.html       |  48 --
+ pyme-web/doc/gpgme/Error-Codes.html                | 133 -----
+ pyme-web/doc/gpgme/Error-Handling.html             |  72 ---
+ pyme-web/doc/gpgme/Error-Sources.html              |  89 ----
+ pyme-web/doc/gpgme/Error-Strings.html              |  80 ---
+ pyme-web/doc/gpgme/Error-Values.html               | 159 ------
+ pyme-web/doc/gpgme/Exchanging-Data.html            |  58 ---
+ pyme-web/doc/gpgme/Exporting-Keys.html             | 101 ----
+ pyme-web/doc/gpgme/Features.html                   |  59 ---
+ pyme-web/doc/gpgme/File-Based-Data-Buffers.html    |  74 ---
+ pyme-web/doc/gpgme/Function-and-Data-Index.html    | 229 ---------
+ pyme-web/doc/gpgme/Generating-Keys.html            | 144 ------
+ pyme-web/doc/gpgme/Getting-Started.html            |  55 ---
+ pyme-web/doc/gpgme/Hash-Algorithms.html            |  59 ---
+ pyme-web/doc/gpgme/Header.html                     |  53 --
+ .../doc/gpgme/I_002fO-Callback-Example-GDK.html    |  85 ----
+ .../gpgme/I_002fO-Callback-Example-GTK_002b.html   |  86 ----
+ .../doc/gpgme/I_002fO-Callback-Example-Qt.html     |  99 ----
+ pyme-web/doc/gpgme/I_002fO-Callback-Example.html   | 259 ----------
+ pyme-web/doc/gpgme/I_002fO-Callback-Interface.html | 142 ------
+ pyme-web/doc/gpgme/Importing-Keys.html             | 171 -------
+ pyme-web/doc/gpgme/Included-Certificates.html      |  70 ---
+ pyme-web/doc/gpgme/Information-About-Keys.html     | 207 --------
+ .../doc/gpgme/Information-About-Trust-Items.html   |  75 ---
+ pyme-web/doc/gpgme/Introduction.html               |  53 --
+ pyme-web/doc/gpgme/Key-Listing-Mode.html           |  99 ----
+ pyme-web/doc/gpgme/Key-Management.html             | 260 ----------
+ pyme-web/doc/gpgme/Key-Signatures.html             | 130 -----
+ .../doc/gpgme/Largefile-Support-_0028LFS_0029.html | 110 -----
+ pyme-web/doc/gpgme/Library-Copying.html            | 542 ---------------------
+ pyme-web/doc/gpgme/Library-Version-Check.html      |  97 ----
+ pyme-web/doc/gpgme/Listing-Keys.html               | 204 --------
+ pyme-web/doc/gpgme/Listing-Trust-Items.html        |  88 ----
+ pyme-web/doc/gpgme/Locale.html                     |  69 ---
+ pyme-web/doc/gpgme/Manipulating-Data-Buffers.html  |  45 --
+ pyme-web/doc/gpgme/Manipulating-Keys.html          |  63 ---
+ pyme-web/doc/gpgme/Manipulating-Trust-Items.html   |  62 ---
+ pyme-web/doc/gpgme/Memory-Based-Data-Buffers.html  | 107 ----
+ pyme-web/doc/gpgme/Multi-Threading.html            |  93 ----
+ pyme-web/doc/gpgme/OpenPGP.html                    |  44 --
+ pyme-web/doc/gpgme/Overview.html                   |  57 ---
+ pyme-web/doc/gpgme/Passphrase-Callback.html        | 101 ----
+ pyme-web/doc/gpgme/Preparation.html                |  54 --
+ pyme-web/doc/gpgme/Progress-Meter-Callback.html    |  80 ---
+ pyme-web/doc/gpgme/Protocol-Selection.html         |  60 ---
+ pyme-web/doc/gpgme/Protocols-and-Engines.html      |  82 ----
+ pyme-web/doc/gpgme/Public-Key-Algorithms.html      |  74 ---
+ .../doc/gpgme/Registering-I_002fO-Callbacks.html   |  81 ---
+ pyme-web/doc/gpgme/Run-Control.html                |  53 --
+ pyme-web/doc/gpgme/Selecting-Signers.html          |  64 ---
+ pyme-web/doc/gpgme/Sign.html                       |  50 --
+ pyme-web/doc/gpgme/Signal-Handling.html            |  61 ---
+ pyme-web/doc/gpgme/Signature-Notation-Data.html    |  85 ----
+ pyme-web/doc/gpgme/Text-Mode.html                  |  63 ---
+ pyme-web/doc/gpgme/Trust-Item-Management.html      |  68 ---
+ pyme-web/doc/gpgme/Using-Automake.html             |  74 ---
+ pyme-web/doc/gpgme/Using-External-Event-Loops.html |  74 ---
+ pyme-web/doc/gpgme/Using-Libtool.html              |  44 --
+ pyme-web/doc/gpgme/Verify.html                     | 492 -------------------
+ pyme-web/doc/gpgme/Waiting-For-Completion.html     |  77 ---
+ pyme-web/doc/gpgme/index.html                      | 169 -------
+ pyme-web/doc/pyme/index.html                       | 164 -------
+ pyme-web/doc/pyme/pyme.callbacks.html              |  42 --
+ .../doc/pyme/pyme.constants.data.encoding.html     |  48 --
+ pyme-web/doc/pyme/pyme.constants.data.html         |  29 --
+ pyme-web/doc/pyme/pyme.constants.event.html        |  48 --
+ pyme-web/doc/pyme/pyme.constants.html              |  39 --
+ pyme-web/doc/pyme/pyme.constants.import.html       |  49 --
+ pyme-web/doc/pyme/pyme.constants.keylist.html      |  29 --
+ pyme-web/doc/pyme/pyme.constants.keylist.mode.html |  49 --
+ pyme-web/doc/pyme/pyme.constants.md.html           |  58 ---
+ pyme-web/doc/pyme/pyme.constants.pk.html           |  50 --
+ pyme-web/doc/pyme/pyme.constants.protocol.html     |  48 --
+ pyme-web/doc/pyme/pyme.constants.sig.html          |  29 --
+ pyme-web/doc/pyme/pyme.constants.sig.mode.html     |  47 --
+ pyme-web/doc/pyme/pyme.constants.sigsum.html       |  55 ---
+ pyme-web/doc/pyme/pyme.constants.status.html       | 126 -----
+ pyme-web/doc/pyme/pyme.constants.validity.html     |  50 --
+ pyme-web/doc/pyme/pyme.core.html                   | 277 -----------
+ pyme-web/doc/pyme/pyme.errors.html                 |  82 ----
+ pyme-web/doc/pyme/pyme.html                        | 164 -------
+ pyme-web/doc/pyme/pyme.util.html                   |  81 ---
+ pyme-web/doc/pyme/pyme.version.html                |  37 --
+ pyme-web/index.html                                |  72 ---
+ 112 files changed, 10551 deletions(-)
+
+commit 684d95feb7e10e538a56fb1b27f1456111bacb60
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Mon Jan 6 17:44:20 2014 +0100
+
+    fixing op_export_keys()
+    
+    the conversion of gpgme_key_t [] was restricted to gpgme_key_t [] with the
+    name recv, i.e. only the use-cases of encryption were covered.
+    
+    see: http://sourceforge.net/mailarchive/forum.php?forum_name=pyme-help&max_rows=25&style=nested&viewmonth=201309
+
+ pyme/gpgme.i | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+commit 658d23b95110d21eeb50abf4e74701a667521a88
+Author: Martin Albrecht <martinralbrecht at googlemail.com>
+Date:   Mon Jan 6 17:41:33 2014 +0100
+
+    deleting CVSROOT
+
+ CVSROOT/checkoutlist | 13 -------------
+ CVSROOT/commitinfo   | 15 ---------------
+ CVSROOT/config       | 21 ---------------------
+ CVSROOT/cvswrappers  | 19 -------------------
+ CVSROOT/editinfo     | 21 ---------------------
+ CVSROOT/loginfo      | 26 --------------------------
+ CVSROOT/modules      | 26 --------------------------
+ CVSROOT/notify       | 12 ------------
+ CVSROOT/rcsinfo      | 13 -------------
+ CVSROOT/taginfo      | 20 --------------------
+ CVSROOT/verifymsg    | 21 ---------------------
+ 11 files changed, 207 deletions(-)
+
+commit 576b555499c094c4786d42de9e59aa9826009b89
+Author: convert-repo <devnull at localhost>
+Date:   Mon Jan 6 15:22:44 2014 +0000
+
+    update tags
+
+commit 2dcf0c5b702eb5a18c66ff1e42a72eaa7427af1d
+Author: belyi <devnull at localhost>
+Date:   Wed Nov 26 02:38:33 2008 +0000
+
+    Move Windows specific fix from helpers.c to helpers.h so that it works
+    for edit callback as well as for the passphrase one.
+
+ pyme/helpers.c | 5 -----
+ pyme/helpers.h | 5 +++++
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+commit 42a035f2ef62470fea7a7f8ee33a1297fa90a603
+Author: belyi <devnull at localhost>
+Date:   Mon Nov 24 21:44:30 2008 +0000
+
+    Update the way build directives are constructed on MinGW to have a bit
+    more robust. Update PyMe build version to 0.8.1 in version.py
+
+ pyme/pyme/version.py |  2 +-
+ pyme/setup.py        | 10 ++++++++--
+ 2 files changed, 9 insertions(+), 3 deletions(-)
+
+commit 3aaa20fbcba17066c9ffd580f5209946022793a2
+Author: belyi <devnull at localhost>
+Date:   Mon Nov 24 06:57:11 2008 +0000
+
+    Update changelog
+
+ pyme/debian/changelog | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+commit 689ff46b2550547e3883f809a6dc40c22c3e137e
+Author: belyi <devnull at localhost>
+Date:   Mon Nov 24 06:50:41 2008 +0000
+
+    Fix hang problem on Windows when password is written to a filehandle.
+    Fix the way path is constructed on MinGW platform.
+
+ pyme/helpers.c | 5 +++++
+ pyme/setup.py  | 4 ++--
+ 2 files changed, 7 insertions(+), 2 deletions(-)
+
+commit 852a60d541d66cb56f40378182b976fd87a02c46
+Author: belyi <devnull at localhost>
+Date:   Sun Nov 23 04:31:31 2008 +0000
+
+    Add Bernard's example testCMSgetkey.py and his updates for
+    verifydetails.py
+
+ pyme/examples/testCMSgetkey.py | 45 ++++++++++++++++++++++++++++++++++++++++++
+ pyme/examples/verifydetails.py | 43 +++++++++++++++++++++++++++++-----------
+ 2 files changed, 77 insertions(+), 11 deletions(-)
+
+commit f080527d9184f3360f0a8ef6136b9a188d8e7d2a
+Author: belyi <devnull at localhost>
+Date:   Thu May 29 18:29:37 2008 +0000
+
+    Remove debian packaging for python2.3 since it is removed from both
+    testing and unstable dists.
+    Update docs build target to have correct PYTHONPATH set.
+
+ pyme/Makefile         | 2 +-
+ pyme/debian/changelog | 4 +++-
+ pyme/debian/control   | 4 ++--
+ pyme/debian/rules     | 2 --
+ 4 files changed, 6 insertions(+), 6 deletions(-)
+
+commit c25d133fcbadf3c7f6e655586b4a05d6e3cf6f0b
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 3 13:37:12 2008 +0000
+
+    Forgot to adjust mainText margin. Doing it now.
+
+ pyme-web/default.css | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 897286a54a32336d060cd03305cdecb7905f34f1
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 3 13:00:11 2008 +0000
+
+    Fix an error in default.css and make index.html "Standards Compliant".
+
+ pyme-web/default.css | 2 +-
+ pyme-web/index.html  | 7 ++++---
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+commit 4e049212bd214449cc0ba1ce06e00782783f328a
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 3 12:38:42 2008 +0000
+
+    Adjust spacing between links.
+
+ pyme-web/default.css | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+commit cb2bddfbd77483b1deb14f2eab0715a03dd33fcd
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 22:50:21 2008 +0000
+
+    Make style a big more IE friendly.
+
+ pyme-web/default.css | 15 +++++++++++----
+ 1 file changed, 11 insertions(+), 4 deletions(-)
+
+commit ad66f0a1bb01b46baac328e9fee439b35a60c232
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 11:58:32 2008 +0000
+
+    Make GPGME documentation a bit more web friendly on the index.html page.
+
+ pyme-web/doc/gpgme/Algorithms.html              |   2 +-
+ pyme-web/doc/gpgme/Concept-Index.html           |   2 +-
+ pyme-web/doc/gpgme/Contexts.html                |   2 +-
+ pyme-web/doc/gpgme/Error-Handling.html          |   2 +-
+ pyme-web/doc/gpgme/Exchanging-Data.html         |   2 +-
+ pyme-web/doc/gpgme/Function-and-Data-Index.html |   2 +-
+ pyme-web/doc/gpgme/Introduction.html            |   4 +-
+ pyme-web/doc/gpgme/Library-Copying.html         |   2 +-
+ pyme-web/doc/gpgme/Preparation.html             |   2 +-
+ pyme-web/doc/gpgme/Protocols-and-Engines.html   |   2 +-
+ pyme-web/doc/gpgme/index.html                   | 229 +-----------------------
+ 11 files changed, 12 insertions(+), 239 deletions(-)
+
+commit 4f57c0ccb049d4442e7732e2d1d05dabffd2a21d
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 06:12:57 2008 +0000
+
+    Add missing core.set_locale() to set default locale for contexts.
+
+ pyme/debian/changelog | 2 +-
+ pyme/pyme/core.py     | 4 ++++
+ 2 files changed, 5 insertions(+), 1 deletion(-)
+
+commit acf7ead3dea8590cf9fe86b67bb125837ad6ed4f
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 05:50:24 2008 +0000
+
+    Avoid leaks caused by keys.
+    Add set/get methods for engine info.
+
+ pyme/debian/changelog | 10 ++++++++++
+ pyme/pyme/core.py     | 24 ++++++++++++++++++++++++
+ 2 files changed, 34 insertions(+)
+
+commit df4a2fb518adbb6420d95ce74af212c87abff7e7
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 04:04:41 2008 +0000
+
+    Update index.html to reflect new versions on the web.
+
+ pyme-web/Makefile             | 3 ++-
+ pyme-web/doc/gpgme/index.html | 4 +---
+ pyme-web/index.html           | 4 ++--
+ 3 files changed, 5 insertions(+), 6 deletions(-)
+
+commit bd3ffc9bdf98d6aafde6b689c6c8215fa468612d
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 04:01:04 2008 +0000
+
+    Update PyMe documentation to match 0.8.0 version of the package.
+
+ pyme-web/doc/pyme/index.html                       | 14 ++++-----
+ pyme-web/doc/pyme/pyme.constants.keylist.mode.html |  1 +
+ pyme-web/doc/pyme/pyme.constants.protocol.html     |  4 ++-
+ pyme-web/doc/pyme/pyme.constants.status.html       |  9 ++++++
+ pyme-web/doc/pyme/pyme.core.html                   | 36 ++++++++++++++++++----
+ pyme-web/doc/pyme/pyme.errors.html                 |  8 ++---
+ pyme-web/doc/pyme/pyme.html                        | 14 ++++-----
+ pyme-web/doc/pyme/pyme.util.html                   | 17 ++++++++--
+ pyme-web/doc/pyme/pyme.version.html                | 14 ++++-----
+ 9 files changed, 82 insertions(+), 35 deletions(-)
+
+commit 6973a69a317608a0d0661590d701f4e3f3a21b32
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 02:35:24 2008 +0000
+
+    Have a fix for Contents being put onto 'Function and Data Index' page.
+
+ pyme-web/doc/gpgme/Concept-Index.html           |   2 +-
+ pyme-web/doc/gpgme/Function-and-Data-Index.html | 153 +----------------------
+ pyme-web/doc/gpgme/index.html                   | 154 +++++++++++++++++++++++-
+ 3 files changed, 155 insertions(+), 154 deletions(-)
+
+commit 086315964cbc2abad1187f306dcb9c72ac3257f3
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 2 01:00:29 2008 +0000
+
+    Update GPGME documentation. It's for v1.1.6 now.
+
+ pyme-web/doc/gpgme/ASCII-Armor.html                |  57 ++
+ pyme-web/doc/gpgme/Advanced-Key-Editing.html       |  98 +++
+ pyme-web/doc/gpgme/Algorithms.html                 |  47 ++
+ pyme-web/doc/gpgme/Building-the-Source.html        |  82 +++
+ .../doc/gpgme/Callback-Based-Data-Buffers.html     | 148 +++++
+ pyme-web/doc/gpgme/Cancellation.html               |  67 ++
+ pyme-web/doc/gpgme/Concept-Index.html              | 186 ++++++
+ pyme-web/doc/gpgme/Context-Attributes.html         |  52 ++
+ pyme-web/doc/gpgme/Contexts.html                   |  61 ++
+ pyme-web/doc/gpgme/Creating-Contexts.html          |  49 ++
+ pyme-web/doc/gpgme/Creating-Data-Buffers.html      |  47 ++
+ pyme-web/doc/gpgme/Creating-a-Signature.html       | 143 +++++
+ pyme-web/doc/gpgme/Crypto-Engine.html              |  79 +++
+ pyme-web/doc/gpgme/Crypto-Operations.html          |  67 ++
+ .../doc/gpgme/Cryptographic-Message-Syntax.html    |  42 ++
+ .../doc/gpgme/Data-Buffer-I_002fO-Operations.html  | 104 ++++
+ pyme-web/doc/gpgme/Data-Buffer-Meta_002dData.html  | 100 +++
+ pyme-web/doc/gpgme/Decrypt-and-Verify.html         |  79 +++
+ pyme-web/doc/gpgme/Decrypt.html                    | 123 ++++
+ pyme-web/doc/gpgme/Deleting-Keys.html              |  67 ++
+ pyme-web/doc/gpgme/Destroying-Contexts.html        |  46 ++
+ pyme-web/doc/gpgme/Destroying-Data-Buffers.html    |  70 +++
+ pyme-web/doc/gpgme/Encrypt.html                    |  45 ++
+ pyme-web/doc/gpgme/Encrypting-a-Plaintext.html     | 147 +++++
+ pyme-web/doc/gpgme/Engine-Configuration.html       |  65 ++
+ pyme-web/doc/gpgme/Engine-Information.html         | 119 ++++
+ pyme-web/doc/gpgme/Engine-Version-Check.html       |  48 ++
+ pyme-web/doc/gpgme/Error-Codes.html                | 133 ++++
+ pyme-web/doc/gpgme/Error-Handling.html             |  72 +++
+ pyme-web/doc/gpgme/Error-Sources.html              |  89 +++
+ pyme-web/doc/gpgme/Error-Strings.html              |  80 +++
+ pyme-web/doc/gpgme/Error-Values.html               | 159 +++++
+ pyme-web/doc/gpgme/Exchanging-Data.html            |  58 ++
+ pyme-web/doc/gpgme/Exporting-Keys.html             | 101 +++
+ pyme-web/doc/gpgme/Features.html                   |  59 ++
+ pyme-web/doc/gpgme/File-Based-Data-Buffers.html    |  74 +++
+ pyme-web/doc/gpgme/Function-and-Data-Index.html    | 380 ++++++++++++
+ pyme-web/doc/gpgme/Generating-Keys.html            | 144 +++++
+ pyme-web/doc/gpgme/Getting-Started.html            |  55 ++
+ pyme-web/doc/gpgme/Hash-Algorithms.html            |  59 ++
+ pyme-web/doc/gpgme/Header.html                     |  53 ++
+ .../doc/gpgme/I_002fO-Callback-Example-GDK.html    |  85 +++
+ .../gpgme/I_002fO-Callback-Example-GTK_002b.html   |  86 +++
+ .../doc/gpgme/I_002fO-Callback-Example-Qt.html     |  99 +++
+ pyme-web/doc/gpgme/I_002fO-Callback-Example.html   | 259 ++++++++
+ pyme-web/doc/gpgme/I_002fO-Callback-Interface.html | 142 +++++
+ pyme-web/doc/gpgme/Importing-Keys.html             | 171 +++++
+ pyme-web/doc/gpgme/Included-Certificates.html      |  70 +++
+ pyme-web/doc/gpgme/Information-About-Keys.html     | 207 +++++++
+ .../doc/gpgme/Information-About-Trust-Items.html   |  75 +++
+ pyme-web/doc/gpgme/Introduction.html               |  53 ++
+ pyme-web/doc/gpgme/Key-Listing-Mode.html           |  99 +++
+ pyme-web/doc/gpgme/Key-Management.html             | 260 ++++++++
+ pyme-web/doc/gpgme/Key-Signatures.html             | 130 ++++
+ .../doc/gpgme/Largefile-Support-_0028LFS_0029.html | 110 ++++
+ pyme-web/doc/gpgme/Library-Copying.html            | 542 ++++++++++++++++
+ pyme-web/doc/gpgme/Library-Version-Check.html      |  97 +++
+ pyme-web/doc/gpgme/Listing-Keys.html               | 204 ++++++
+ pyme-web/doc/gpgme/Listing-Trust-Items.html        |  88 +++
+ pyme-web/doc/gpgme/Locale.html                     |  69 +++
+ pyme-web/doc/gpgme/Manipulating-Data-Buffers.html  |  45 ++
+ pyme-web/doc/gpgme/Manipulating-Keys.html          |  63 ++
+ pyme-web/doc/gpgme/Manipulating-Trust-Items.html   |  62 ++
+ pyme-web/doc/gpgme/Memory-Based-Data-Buffers.html  | 107 ++++
+ pyme-web/doc/gpgme/Multi-Threading.html            |  93 +++
+ pyme-web/doc/gpgme/OpenPGP.html                    |  44 ++
+ pyme-web/doc/gpgme/Overview.html                   |  57 ++
+ pyme-web/doc/gpgme/Passphrase-Callback.html        | 101 +++
+ pyme-web/doc/gpgme/Preparation.html                |  54 ++
+ pyme-web/doc/gpgme/Progress-Meter-Callback.html    |  80 +++
+ pyme-web/doc/gpgme/Protocol-Selection.html         |  60 ++
+ pyme-web/doc/gpgme/Protocols-and-Engines.html      |  82 +++
+ pyme-web/doc/gpgme/Public-Key-Algorithms.html      |  74 +++
+ .../doc/gpgme/Registering-I_002fO-Callbacks.html   |  81 +++
+ pyme-web/doc/gpgme/Run-Control.html                |  53 ++
+ pyme-web/doc/gpgme/Selecting-Signers.html          |  64 ++
+ pyme-web/doc/gpgme/Sign.html                       |  50 ++
+ pyme-web/doc/gpgme/Signal-Handling.html            |  61 ++
+ pyme-web/doc/gpgme/Signature-Notation-Data.html    |  85 +++
+ pyme-web/doc/gpgme/Text-Mode.html                  |  63 ++
+ pyme-web/doc/gpgme/Trust-Item-Management.html      |  68 ++
+ pyme-web/doc/gpgme/Using-Automake.html             |  74 +++
+ pyme-web/doc/gpgme/Using-External-Event-Loops.html |  74 +++
+ pyme-web/doc/gpgme/Using-Libtool.html              |  44 ++
+ pyme-web/doc/gpgme/Verify.html                     | 492 +++++++++++++++
+ pyme-web/doc/gpgme/Waiting-For-Completion.html     |  77 +++
+ pyme-web/doc/gpgme/gpgme.html                      | 251 --------
+ pyme-web/doc/gpgme/gpgme_1.html                    |  76 ---
+ pyme-web/doc/gpgme/gpgme_10.html                   |  61 --
+ pyme-web/doc/gpgme/gpgme_11.html                   | 130 ----
+ pyme-web/doc/gpgme/gpgme_12.html                   |  82 ---
+ pyme-web/doc/gpgme/gpgme_13.html                   | 130 ----
+ pyme-web/doc/gpgme/gpgme_14.html                   | 108 ----
+ pyme-web/doc/gpgme/gpgme_15.html                   |  69 ---
+ pyme-web/doc/gpgme/gpgme_16.html                   | 169 -----
+ pyme-web/doc/gpgme/gpgme_17.html                   |  63 --
+ pyme-web/doc/gpgme/gpgme_18.html                   |  63 --
+ pyme-web/doc/gpgme/gpgme_19.html                   |  66 --
+ pyme-web/doc/gpgme/gpgme_2.html                    |  79 ---
+ pyme-web/doc/gpgme/gpgme_20.html                   | 120 ----
+ pyme-web/doc/gpgme/gpgme_21.html                   | 102 ---
+ pyme-web/doc/gpgme/gpgme_22.html                   | 108 ----
+ pyme-web/doc/gpgme/gpgme_23.html                   | 237 -------
+ pyme-web/doc/gpgme/gpgme_24.html                   | 154 -----
+ pyme-web/doc/gpgme/gpgme_25.html                   | 248 --------
+ pyme-web/doc/gpgme/gpgme_26.html                   | 107 ----
+ pyme-web/doc/gpgme/gpgme_27.html                   |  80 ---
+ pyme-web/doc/gpgme/gpgme_28.html                   |  67 --
+ pyme-web/doc/gpgme/gpgme_29.html                   | 164 -----
+ pyme-web/doc/gpgme/gpgme_3.html                    |  86 ---
+ pyme-web/doc/gpgme/gpgme_30.html                   | 106 ----
+ pyme-web/doc/gpgme/gpgme_31.html                   | 232 -------
+ pyme-web/doc/gpgme/gpgme_32.html                   |  85 ---
+ pyme-web/doc/gpgme/gpgme_33.html                   | 223 -------
+ pyme-web/doc/gpgme/gpgme_34.html                   |  83 ---
+ pyme-web/doc/gpgme/gpgme_35.html                   |  70 ---
+ pyme-web/doc/gpgme/gpgme_36.html                   |  63 --
+ pyme-web/doc/gpgme/gpgme_37.html                   |  66 --
+ pyme-web/doc/gpgme/gpgme_38.html                   |  86 ---
+ pyme-web/doc/gpgme/gpgme_39.html                   |  79 ---
+ pyme-web/doc/gpgme/gpgme_4.html                    |  83 ---
+ pyme-web/doc/gpgme/gpgme_40.html                   |  89 ---
+ pyme-web/doc/gpgme/gpgme_41.html                   |  99 ---
+ pyme-web/doc/gpgme/gpgme_42.html                   | 144 -----
+ pyme-web/doc/gpgme/gpgme_43.html                   | 152 -----
+ pyme-web/doc/gpgme/gpgme_44.html                   | 112 ----
+ pyme-web/doc/gpgme/gpgme_45.html                   | 101 ---
+ pyme-web/doc/gpgme/gpgme_46.html                   | 459 --------------
+ pyme-web/doc/gpgme/gpgme_47.html                   | 292 ---------
+ pyme-web/doc/gpgme/gpgme_48.html                   | 363 -----------
+ pyme-web/doc/gpgme/gpgme_49.html                   | 209 -------
+ pyme-web/doc/gpgme/gpgme_5.html                    |  74 ---
+ pyme-web/doc/gpgme/gpgme_50.html                   |  88 ---
+ pyme-web/doc/gpgme/gpgme_51.html                   | 208 -------
+ pyme-web/doc/gpgme/gpgme_52.html                   | 154 -----
+ pyme-web/doc/gpgme/gpgme_53.html                   | 291 ---------
+ pyme-web/doc/gpgme/gpgme_54.html                   |  91 ---
+ pyme-web/doc/gpgme/gpgme_55.html                   | 107 ----
+ pyme-web/doc/gpgme/gpgme_56.html                   | 140 -----
+ pyme-web/doc/gpgme/gpgme_57.html                   | 106 ----
+ pyme-web/doc/gpgme/gpgme_58.html                   |  89 ---
+ pyme-web/doc/gpgme/gpgme_59.html                   |  97 ---
+ pyme-web/doc/gpgme/gpgme_6.html                    |  77 ---
+ pyme-web/doc/gpgme/gpgme_60.html                   | 142 -----
+ pyme-web/doc/gpgme/gpgme_61.html                   | 626 -------------------
+ pyme-web/doc/gpgme/gpgme_62.html                   | 107 ----
+ pyme-web/doc/gpgme/gpgme_63.html                   |  67 --
+ pyme-web/doc/gpgme/gpgme_64.html                   |  95 ---
+ pyme-web/doc/gpgme/gpgme_65.html                   | 233 -------
+ pyme-web/doc/gpgme/gpgme_66.html                   |  65 --
+ pyme-web/doc/gpgme/gpgme_67.html                   | 220 -------
+ pyme-web/doc/gpgme/gpgme_68.html                   |  75 ---
+ pyme-web/doc/gpgme/gpgme_69.html                   | 119 ----
+ pyme-web/doc/gpgme/gpgme_7.html                    | 123 ----
+ pyme-web/doc/gpgme/gpgme_70.html                   | 107 ----
+ pyme-web/doc/gpgme/gpgme_71.html                   | 218 -------
+ pyme-web/doc/gpgme/gpgme_72.html                   | 134 ----
+ pyme-web/doc/gpgme/gpgme_73.html                   | 299 ---------
+ pyme-web/doc/gpgme/gpgme_74.html                   | 103 ----
+ pyme-web/doc/gpgme/gpgme_75.html                   | 104 ----
+ pyme-web/doc/gpgme/gpgme_76.html                   | 118 ----
+ pyme-web/doc/gpgme/gpgme_77.html                   |  95 ---
+ pyme-web/doc/gpgme/gpgme_78.html                   |  71 ---
+ pyme-web/doc/gpgme/gpgme_79.html                   | 686 ---------------------
+ pyme-web/doc/gpgme/gpgme_8.html                    | 155 -----
+ pyme-web/doc/gpgme/gpgme_80.html                   | 120 ----
+ pyme-web/doc/gpgme/gpgme_81.html                   | 278 ---------
+ pyme-web/doc/gpgme/gpgme_82.html                   | 272 --------
+ pyme-web/doc/gpgme/gpgme_83.html                   | 180 ------
+ pyme-web/doc/gpgme/gpgme_84.html                   |  99 ---
+ pyme-web/doc/gpgme/gpgme_9.html                    | 104 ----
+ pyme-web/doc/gpgme/gpgme_abt.html                  | 206 -------
+ pyme-web/doc/gpgme/gpgme_fot.html                  |  53 --
+ pyme-web/doc/gpgme/gpgme_ovr.html                  |  68 --
+ pyme-web/doc/gpgme/gpgme_toc.html                  | 247 --------
+ pyme-web/doc/gpgme/index.html                      | 497 ++++++++-------
+ 176 files changed, 9054 insertions(+), 13378 deletions(-)
+
+commit 163c1053dc761682f5a4231da163bdd0ff7162d7
+Author: belyi <devnull at localhost>
+Date:   Tue Apr 1 21:14:29 2008 +0000
+
+    Update Home page to be a bit more visitor friendly.
+
+ pyme-web/Makefile    |  2 +-
+ pyme-web/default.css | 27 ++++++++++++++++++++
+ pyme-web/index.html  | 70 +++++++++++++++++++++++++++++++++++-----------------
+ 3 files changed, 75 insertions(+), 24 deletions(-)
+
+commit 05db2d17d8fda0ab8c948bbdc0643dfc1466830d
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 30 21:27:38 2008 +0000
+
+    Add a rule to build binary distribution for Windows.
+
+ pyme/Makefile | 16 ++++++++++++++--
+ 1 file changed, 14 insertions(+), 2 deletions(-)
+
+commit 57acb1089f5f8c24323ee62fc0a7f492a496b9c0
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 29 22:50:11 2008 +0000
+
+    Switch to using central location for python files (pycentral)
+    Update docs rule to fix location of the python source files.
+
+ pyme/Makefile             |  5 +++-
+ pyme/debian/changelog     |  4 ++-
+ pyme/debian/control       | 74 +++++------------------------------------------
+ pyme/debian/dirs          |  2 --
+ pyme/debian/docs          |  1 +
+ pyme/debian/postinst.ex   | 48 ------------------------------
+ pyme/debian/postrm.ex     | 38 ------------------------
+ pyme/debian/preinst.ex    | 44 ----------------------------
+ pyme/debian/prerm.ex      | 39 -------------------------
+ pyme/debian/rules         | 50 ++++++--------------------------
+ pyme/debian/setup.cfg-2.2 |  8 -----
+ pyme/debian/setup.cfg-2.3 |  8 -----
+ pyme/debian/setup.cfg-2.4 |  8 -----
+ pyme/gpgme-h-clean.py     |  2 +-
+ pyme/pyme/core.py         |  2 +-
+ pyme/pyme/util.py         |  2 +-
+ 16 files changed, 28 insertions(+), 307 deletions(-)
+
+commit 2b56fd10517cfbcffaa4ba98d8ea42f40f0d38a9
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 23 02:01:12 2008 +0000
+
+    Turn SWIG's autodoc feature on. Ignore 'next' in the types which are lists now.
+    Use new style for class declarations. Specify None as a default value for
+    core.check_version() method. Update version.py for 0.8.0 version.
+
+ pyme/examples/pygpa.py | 2 +-
+ pyme/gpgme.i           | 5 +++++
+ pyme/pyme/core.py      | 2 +-
+ pyme/pyme/util.py      | 5 +++--
+ pyme/pyme/version.py   | 6 +++---
+ 5 files changed, 13 insertions(+), 7 deletions(-)
+
+commit df5e25d7ee4dc0aa0d429f9d009322dd8ac33bb8
+Author: belyi <devnull at localhost>
+Date:   Thu Mar 20 19:07:00 2008 +0000
+
+    Improve matching for DEPRECATED typedefs
+
+ pyme/gpgme-h-clean.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit 78d8fc732848ac267ec65e9069265cd500587cdf
+Author: belyi <devnull at localhost>
+Date:   Wed Mar 19 19:28:40 2008 +0000
+
+    Update API to use list when types containing 'next' field are return.
+    Update examples accordingly
+    Add verifydetails.py example
+    Start adding bullets for 0.8.0 version.
+
+ pyme/Makefile                   |  2 +-
+ pyme/debian/changelog           | 14 +++++++-
+ pyme/examples/PyGtkGpgKeys.py   | 53 +++++++++++++--------------
+ pyme/examples/delkey.py         |  7 ++--
+ pyme/examples/encrypt-to-all.py |  7 ++--
+ pyme/examples/exportimport.py   |  7 ++--
+ pyme/examples/pygpa.py          | 70 ++++++++++++++++--------------------
+ pyme/examples/signverify.py     | 11 +++---
+ pyme/examples/verifydetails.py  | 79 +++++++++++++++++++++++++++++++++++++++++
+ pyme/gpgme.i                    | 19 +++++++++-
+ 10 files changed, 180 insertions(+), 89 deletions(-)
+
+commit 342d85b07475e7360bcd62804bf5facda039494f
+Author: belyi <devnull at localhost>
+Date:   Mon Mar 10 01:14:16 2008 +0000
+
+    Change references to source files so that they point to the WebCVS browse
+    location.
+
+ pyme-web/doc/pyme/index.html                        | 2 +-
+ pyme-web/doc/pyme/pyme.callbacks.html               | 2 +-
+ pyme-web/doc/pyme/pyme.constants.data.encoding.html | 2 +-
+ pyme-web/doc/pyme/pyme.constants.data.html          | 2 +-
+ pyme-web/doc/pyme/pyme.constants.event.html         | 2 +-
+ pyme-web/doc/pyme/pyme.constants.html               | 2 +-
+ pyme-web/doc/pyme/pyme.constants.import.html        | 2 +-
+ pyme-web/doc/pyme/pyme.constants.keylist.html       | 2 +-
+ pyme-web/doc/pyme/pyme.constants.keylist.mode.html  | 2 +-
+ pyme-web/doc/pyme/pyme.constants.md.html            | 2 +-
+ pyme-web/doc/pyme/pyme.constants.pk.html            | 2 +-
+ pyme-web/doc/pyme/pyme.constants.protocol.html      | 2 +-
+ pyme-web/doc/pyme/pyme.constants.sig.html           | 2 +-
+ pyme-web/doc/pyme/pyme.constants.sig.mode.html      | 2 +-
+ pyme-web/doc/pyme/pyme.constants.sigsum.html        | 2 +-
+ pyme-web/doc/pyme/pyme.constants.status.html        | 2 +-
+ pyme-web/doc/pyme/pyme.constants.validity.html      | 2 +-
+ pyme-web/doc/pyme/pyme.core.html                    | 2 +-
+ pyme-web/doc/pyme/pyme.errors.html                  | 2 +-
+ pyme-web/doc/pyme/pyme.html                         | 2 +-
+ pyme-web/doc/pyme/pyme.util.html                    | 2 +-
+ pyme-web/doc/pyme/pyme.version.html                 | 2 +-
+ 22 files changed, 22 insertions(+), 22 deletions(-)
+
+commit 4139dd1d066c1a6c892d84fe45dc3e6c4aa1b803
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 8 18:21:08 2008 +0000
+
+    Add core.check_version(None) to all examples since this function is used by
+    Gpgme to do internal initialization. Update debian/rules to use dh_pysupport
+    instead of deprecated dh_python.
+
+ pyme/debian/rules               | 8 +++-----
+ pyme/examples/PyGtkGpgKeys.py   | 7 ++++++-
+ pyme/examples/delkey.py         | 2 ++
+ pyme/examples/encrypt-to-all.py | 3 +++
+ pyme/examples/exportimport.py   | 2 ++
+ pyme/examples/genkey.py         | 1 +
+ pyme/examples/inter-edit.py     | 3 +++
+ pyme/examples/pygpa.py          | 5 +++++
+ pyme/examples/sign.py           | 2 ++
+ pyme/examples/signverify.py     | 2 ++
+ pyme/examples/simple.py         | 2 ++
+ pyme/examples/t-edit.py         | 3 +++
+ 12 files changed, 34 insertions(+), 6 deletions(-)
+
+commit ae76c6176457dd38e0634cbc17d794294a3a81d2
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 12 22:20:38 2006 +0000
+
+    Change name of internal package name from 'gpgme' to 'pygpgme' to avoid
+    conflict with gpgme.dll on Windows.
+    Fix build with SWIG 1.3.28.
+    Change version to 0.7.1 in a preparation for new release.
+
+ pyme/Makefile          |   3 +-
+ pyme/debian/changelog  |  12 ++++
+ pyme/gpgme.i           |  19 +++---
+ pyme/pyme/callbacks.py |   1 -
+ pyme/pyme/core.py      | 153 +++++++++++++++++++++++++------------------------
+ pyme/pyme/errors.py    |  12 ++--
+ pyme/pyme/util.py      |  10 ++--
+ pyme/pyme/version.py   |   2 +-
+ pyme/setup.py          |   4 +-
+ 9 files changed, 116 insertions(+), 100 deletions(-)
+
+commit d644383a76e9f83bc2d426628319e3c4a989dc2d
+Author: belyi <devnull at localhost>
+Date:   Sat Dec 17 01:34:53 2005 +0000
+
+    Put all constants into pyme.constants package to avoid stepping on python
+    reserved words.
+    Add build rules for Mingw32 and Cygwin on Windows. Rules for Mingw under
+    Debian are still to come.
+    Fixed a small bug in pygpa.py example.
+
+ pyme/Makefile                   | 11 ++++++++---
+ pyme/examples/pygpa.py          |  3 ++-
+ pyme/pyme/__init__.py           |  2 +-
+ pyme/pyme/constants/__init__.py |  3 +++
+ pyme/setup.py                   | 42 ++++++++++++++++++++++++++++++++++++-----
+ 5 files changed, 51 insertions(+), 10 deletions(-)
+
+commit 89eb370fcaa8adc9d219eadbaa579dde7bf06329
+Author: belyi <devnull at localhost>
+Date:   Mon Aug 1 03:08:32 2005 +0000
+
+    Imported changes provided by Joost van Baal:
+    Use dh_python in debian/rules and change the Section pyme belongs to from
+    'libs' to 'python'.
+
+ pyme/debian/control | 6 +++---
+ pyme/debian/rules   | 2 ++
+ 2 files changed, 5 insertions(+), 3 deletions(-)
+
+commit ad76d10c2a77b45b7459c62131279e946b860891
+Author: belyi <devnull at localhost>
+Date:   Fri Jun 10 03:01:22 2005 +0000
+
+    Update 'docs' rule in Makefile to build packages first to ensure that
+    documentation is build for the current version of pyme and not for the
+    installed one.
+    
+    Added 'callbacks' into the list of visible pyme modules (__all__ var.)
+    
+    Slightly updated INSTALL file.
+
+ pyme/INSTALL          | 11 ++++++++---
+ pyme/Makefile         |  4 ++--
+ pyme/pyme/__init__.py |  2 +-
+ 3 files changed, 11 insertions(+), 6 deletions(-)
+
+commit 2fe1a81e00721698bfa6850b3db2eb85e43d1724
+Author: belyi <devnull at localhost>
+Date:   Wed Jun 8 16:16:18 2005 +0000
+
+    Update pyme documentation to remove dead links to pyme.gpgme.html and
+    pyme._gpgme.html
+    Added reference to the installed GPGME and PyMe documentation to the head
+    web page.
+    Updated Makefile to install all *.html files and to clean *~ files in all
+    subdirectories
+
+ pyme-web/Makefile                     | 10 ++++++----
+ pyme-web/doc/pyme/index.html          |  8 +++-----
+ pyme-web/doc/pyme/pyme.callbacks.html |  8 --------
+ pyme-web/doc/pyme/pyme.core.html      |  1 -
+ pyme-web/doc/pyme/pyme.errors.html    |  8 --------
+ pyme-web/doc/pyme/pyme.html           |  8 +++-----
+ pyme-web/doc/pyme/pyme.util.html      |  8 --------
+ pyme-web/index.html                   |  9 +++++++--
+ 8 files changed, 19 insertions(+), 41 deletions(-)
+
+commit 6aa34cce4ea0099e50b4936dfee59778157b8ca8
+Author: belyi <devnull at localhost>
+Date:   Wed Jun 8 15:18:20 2005 +0000
+
+    Added pyme and gpgme documentation.
+
+ pyme-web/doc/gpgme/gpgme.html                      | 251 ++++++++
+ pyme-web/doc/gpgme/gpgme_1.html                    |  76 +++
+ pyme-web/doc/gpgme/gpgme_10.html                   |  61 ++
+ pyme-web/doc/gpgme/gpgme_11.html                   | 130 ++++
+ pyme-web/doc/gpgme/gpgme_12.html                   |  82 +++
+ pyme-web/doc/gpgme/gpgme_13.html                   | 130 ++++
+ pyme-web/doc/gpgme/gpgme_14.html                   | 108 ++++
+ pyme-web/doc/gpgme/gpgme_15.html                   |  69 +++
+ pyme-web/doc/gpgme/gpgme_16.html                   | 169 +++++
+ pyme-web/doc/gpgme/gpgme_17.html                   |  63 ++
+ pyme-web/doc/gpgme/gpgme_18.html                   |  63 ++
+ pyme-web/doc/gpgme/gpgme_19.html                   |  66 ++
+ pyme-web/doc/gpgme/gpgme_2.html                    |  79 +++
+ pyme-web/doc/gpgme/gpgme_20.html                   | 120 ++++
+ pyme-web/doc/gpgme/gpgme_21.html                   | 102 +++
+ pyme-web/doc/gpgme/gpgme_22.html                   | 108 ++++
+ pyme-web/doc/gpgme/gpgme_23.html                   | 237 +++++++
+ pyme-web/doc/gpgme/gpgme_24.html                   | 154 +++++
+ pyme-web/doc/gpgme/gpgme_25.html                   | 248 ++++++++
+ pyme-web/doc/gpgme/gpgme_26.html                   | 107 ++++
+ pyme-web/doc/gpgme/gpgme_27.html                   |  80 +++
+ pyme-web/doc/gpgme/gpgme_28.html                   |  67 ++
+ pyme-web/doc/gpgme/gpgme_29.html                   | 164 +++++
+ pyme-web/doc/gpgme/gpgme_3.html                    |  86 +++
+ pyme-web/doc/gpgme/gpgme_30.html                   | 106 ++++
+ pyme-web/doc/gpgme/gpgme_31.html                   | 232 +++++++
+ pyme-web/doc/gpgme/gpgme_32.html                   |  85 +++
+ pyme-web/doc/gpgme/gpgme_33.html                   | 223 +++++++
+ pyme-web/doc/gpgme/gpgme_34.html                   |  83 +++
+ pyme-web/doc/gpgme/gpgme_35.html                   |  70 +++
+ pyme-web/doc/gpgme/gpgme_36.html                   |  63 ++
+ pyme-web/doc/gpgme/gpgme_37.html                   |  66 ++
+ pyme-web/doc/gpgme/gpgme_38.html                   |  86 +++
+ pyme-web/doc/gpgme/gpgme_39.html                   |  79 +++
+ pyme-web/doc/gpgme/gpgme_4.html                    |  83 +++
+ pyme-web/doc/gpgme/gpgme_40.html                   |  89 +++
+ pyme-web/doc/gpgme/gpgme_41.html                   |  99 +++
+ pyme-web/doc/gpgme/gpgme_42.html                   | 144 +++++
+ pyme-web/doc/gpgme/gpgme_43.html                   | 152 +++++
+ pyme-web/doc/gpgme/gpgme_44.html                   | 112 ++++
+ pyme-web/doc/gpgme/gpgme_45.html                   | 101 +++
+ pyme-web/doc/gpgme/gpgme_46.html                   | 459 ++++++++++++++
+ pyme-web/doc/gpgme/gpgme_47.html                   | 292 +++++++++
+ pyme-web/doc/gpgme/gpgme_48.html                   | 363 +++++++++++
+ pyme-web/doc/gpgme/gpgme_49.html                   | 209 +++++++
+ pyme-web/doc/gpgme/gpgme_5.html                    |  74 +++
+ pyme-web/doc/gpgme/gpgme_50.html                   |  88 +++
+ pyme-web/doc/gpgme/gpgme_51.html                   | 208 +++++++
+ pyme-web/doc/gpgme/gpgme_52.html                   | 154 +++++
+ pyme-web/doc/gpgme/gpgme_53.html                   | 291 +++++++++
+ pyme-web/doc/gpgme/gpgme_54.html                   |  91 +++
+ pyme-web/doc/gpgme/gpgme_55.html                   | 107 ++++
+ pyme-web/doc/gpgme/gpgme_56.html                   | 140 +++++
+ pyme-web/doc/gpgme/gpgme_57.html                   | 106 ++++
+ pyme-web/doc/gpgme/gpgme_58.html                   |  89 +++
+ pyme-web/doc/gpgme/gpgme_59.html                   |  97 +++
+ pyme-web/doc/gpgme/gpgme_6.html                    |  77 +++
+ pyme-web/doc/gpgme/gpgme_60.html                   | 142 +++++
+ pyme-web/doc/gpgme/gpgme_61.html                   | 626 +++++++++++++++++++
+ pyme-web/doc/gpgme/gpgme_62.html                   | 107 ++++
+ pyme-web/doc/gpgme/gpgme_63.html                   |  67 ++
+ pyme-web/doc/gpgme/gpgme_64.html                   |  95 +++
+ pyme-web/doc/gpgme/gpgme_65.html                   | 233 +++++++
+ pyme-web/doc/gpgme/gpgme_66.html                   |  65 ++
+ pyme-web/doc/gpgme/gpgme_67.html                   | 220 +++++++
+ pyme-web/doc/gpgme/gpgme_68.html                   |  75 +++
+ pyme-web/doc/gpgme/gpgme_69.html                   | 119 ++++
+ pyme-web/doc/gpgme/gpgme_7.html                    | 123 ++++
+ pyme-web/doc/gpgme/gpgme_70.html                   | 107 ++++
+ pyme-web/doc/gpgme/gpgme_71.html                   | 218 +++++++
+ pyme-web/doc/gpgme/gpgme_72.html                   | 134 ++++
+ pyme-web/doc/gpgme/gpgme_73.html                   | 299 +++++++++
+ pyme-web/doc/gpgme/gpgme_74.html                   | 103 ++++
+ pyme-web/doc/gpgme/gpgme_75.html                   | 104 ++++
+ pyme-web/doc/gpgme/gpgme_76.html                   | 118 ++++
+ pyme-web/doc/gpgme/gpgme_77.html                   |  95 +++
+ pyme-web/doc/gpgme/gpgme_78.html                   |  71 +++
+ pyme-web/doc/gpgme/gpgme_79.html                   | 686 +++++++++++++++++++++
+ pyme-web/doc/gpgme/gpgme_8.html                    | 155 +++++
+ pyme-web/doc/gpgme/gpgme_80.html                   | 120 ++++
+ pyme-web/doc/gpgme/gpgme_81.html                   | 278 +++++++++
+ pyme-web/doc/gpgme/gpgme_82.html                   | 272 ++++++++
+ pyme-web/doc/gpgme/gpgme_83.html                   | 180 ++++++
+ pyme-web/doc/gpgme/gpgme_84.html                   |  99 +++
+ pyme-web/doc/gpgme/gpgme_9.html                    | 104 ++++
+ pyme-web/doc/gpgme/gpgme_abt.html                  | 206 +++++++
+ pyme-web/doc/gpgme/gpgme_fot.html                  |  53 ++
+ pyme-web/doc/gpgme/gpgme_ovr.html                  |  68 ++
+ pyme-web/doc/gpgme/gpgme_toc.html                  | 247 ++++++++
+ pyme-web/doc/gpgme/index.html                      | 251 ++++++++
+ pyme-web/doc/pyme/index.html                       | 166 +++++
+ pyme-web/doc/pyme/pyme.callbacks.html              |  50 ++
+ .../doc/pyme/pyme.constants.data.encoding.html     |  48 ++
+ pyme-web/doc/pyme/pyme.constants.data.html         |  29 +
+ pyme-web/doc/pyme/pyme.constants.event.html        |  48 ++
+ pyme-web/doc/pyme/pyme.constants.html              |  39 ++
+ pyme-web/doc/pyme/pyme.constants.import.html       |  49 ++
+ pyme-web/doc/pyme/pyme.constants.keylist.html      |  29 +
+ pyme-web/doc/pyme/pyme.constants.keylist.mode.html |  48 ++
+ pyme-web/doc/pyme/pyme.constants.md.html           |  58 ++
+ pyme-web/doc/pyme/pyme.constants.pk.html           |  50 ++
+ pyme-web/doc/pyme/pyme.constants.protocol.html     |  46 ++
+ pyme-web/doc/pyme/pyme.constants.sig.html          |  29 +
+ pyme-web/doc/pyme/pyme.constants.sig.mode.html     |  47 ++
+ pyme-web/doc/pyme/pyme.constants.sigsum.html       |  55 ++
+ pyme-web/doc/pyme/pyme.constants.status.html       | 117 ++++
+ pyme-web/doc/pyme/pyme.constants.validity.html     |  50 ++
+ pyme-web/doc/pyme/pyme.core.html                   | 254 ++++++++
+ pyme-web/doc/pyme/pyme.errors.html                 |  90 +++
+ pyme-web/doc/pyme/pyme.html                        | 166 +++++
+ pyme-web/doc/pyme/pyme.util.html                   |  78 +++
+ pyme-web/doc/pyme/pyme.version.html                |  37 ++
+ pyme-web/index.html                                |   6 +-
+ 113 files changed, 14966 insertions(+), 1 deletion(-)
+
+commit 2d6fe54479f042644f7b0f3d2fe35877d2056144
+Author: belyi <devnull at localhost>
+Date:   Thu May 19 02:06:09 2005 +0000
+
+    Added INSTALL file.
+
+ pyme/INSTALL | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+commit d6892fff0c3cedf41dba4c25ab8608e7f2bc039c
+Author: belyi <devnull at localhost>
+Date:   Tue May 17 16:49:28 2005 +0000
+
+    Update copyright note on simple.py
+
+ pyme/examples/simple.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit c2cd9cdf5995843aad7b200b929db2969effc9d2
+Author: belyi <devnull at localhost>
+Date:   Tue May 17 15:03:58 2005 +0000
+
+    Update simple.py to catch errors.
+
+ pyme/examples/simple.py | 17 +++++++++++------
+ 1 file changed, 11 insertions(+), 6 deletions(-)
+
+commit eaedae7c6a0ea993caab067efe781a59b6769c44
+Author: belyi <devnull at localhost>
+Date:   Tue May 17 01:18:23 2005 +0000
+
+    Added 'PYTHON = python' into Makefile for bug #1199122
+
+ pyme/Makefile               | 1 +
+ pyme/examples/signverify.py | 1 +
+ 2 files changed, 2 insertions(+)
+
+commit 56fd244bb2636a4d58629899ea3cde1d96428198
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 27 21:37:06 2005 +0000
+
+    Added pygpa example.
+
+ pyme/debian/changelog     |    3 +-
+ pyme/examples/pygpa.glade | 5546 +++++++++++++++++++++++++++++++++++++++++++++
+ pyme/examples/pygpa.py    | 1459 ++++++++++++
+ 3 files changed, 7007 insertions(+), 1 deletion(-)
+
+commit 2d9a2a91a59ac3fee5410c953b7e0859e9e7cd35
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 21 15:17:51 2005 +0000
+
+    Change version to 0.7.0 due to the change in license.
+
+ pyme/debian/changelog | 2 +-
+ pyme/pyme/version.py  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+commit 94e34e38d742f145385bd235825b6ba1e30d8339
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 21 03:53:12 2005 +0000
+
+    Changed license on PyMe from GPL to LGPL.
+    PyMe examples keep GPL license.
+
+ pyme/COPYING.LESSER                  | 510 +++++++++++++++++++++++++++++++++++
+ pyme/Makefile                        |  20 +-
+ pyme/debian/changelog                |   4 +-
+ pyme/debian/copyright                |  22 +-
+ pyme/gpgme-h-clean.py                |  16 ++
+ pyme/gpgme.i                         |  20 +-
+ pyme/helpers.c                       |  20 +-
+ pyme/helpers.h                       |  20 +-
+ pyme/pyme/__init__.py                |  20 +-
+ pyme/pyme/callbacks.py               |  20 +-
+ pyme/pyme/constants/data/encoding.py |  20 +-
+ pyme/pyme/constants/event.py         |  20 +-
+ pyme/pyme/constants/import.py        |  20 +-
+ pyme/pyme/constants/keylist/mode.py  |  20 +-
+ pyme/pyme/constants/md.py            |  20 +-
+ pyme/pyme/constants/pk.py            |  20 +-
+ pyme/pyme/constants/protocol.py      |  20 +-
+ pyme/pyme/constants/sig/mode.py      |  20 +-
+ pyme/pyme/constants/sigsum.py        |  20 +-
+ pyme/pyme/constants/status.py        |  20 +-
+ pyme/pyme/constants/validity.py      |  20 +-
+ pyme/pyme/core.py                    |  20 +-
+ pyme/pyme/errors.py                  |  20 +-
+ pyme/pyme/util.py                    |  20 +-
+ pyme/pyme/version.py                 |  22 +-
+ pyme/setup.py                        |  20 +-
+ 26 files changed, 761 insertions(+), 233 deletions(-)
+
+commit 0d8aa0f6335cb1506a37085095ed45173b099a02
+Author: belyi <devnull at localhost>
+Date:   Tue Apr 19 01:46:06 2005 +0000
+
+    Added __hash__ and __eq__ methods to GpgmeWrapper to allow both Context()
+    and Data() to be used as a dictionary key.
+    Changed core.wait() function to always return a tuple. On timeout now it
+    returns (0, None) instead of just None. Plus, return context is now a
+    Context() object instead of a wrapper return by underlying gpgme.
+
+ pyme/helpers.c    |  1 -
+ pyme/pyme/core.py | 25 +++++++++++++++----------
+ pyme/pyme/util.py |  9 +++++++++
+ 3 files changed, 24 insertions(+), 11 deletions(-)
+
+commit 63ff6d10637be1dcbcd78c939ac1ef1ac30b1024
+Author: belyi <devnull at localhost>
+Date:   Wed Apr 6 04:58:40 2005 +0000
+
+    Made hook parameter optional in passphrase_cb and progress_cb.
+    Allowed None for callbacks to unset ones set previously.
+    Removed cleanup of exception in callbacks - now just retrieve the error code.
+    Added prev_bad parameter in passphrase_cb since it can be used in
+    change password protocols.
+    Updated examples to follow new sets of arguments in callbacks
+    Updated op_edit to check if passed key is None (otherwise gpgme dumps core)
+    God rid of annoying warning "function declaration isn't a prototype" in
+    helpers.c and helpers.h by changing from () to (void) list of arguments.
+
+ pyme/debian/changelog       | 10 +++++---
+ pyme/examples/signverify.py |  2 +-
+ pyme/examples/t-edit.py     |  2 +-
+ pyme/gpgme.i                | 18 +++++++++-----
+ pyme/helpers.c              | 60 ++++++++++++++++++++++++++++++---------------
+ pyme/helpers.h              |  4 +--
+ pyme/pyme/callbacks.py      |  6 +++--
+ pyme/pyme/core.py           | 47 +++++++++++++++++++++--------------
+ pyme/pyme/errors.py         |  2 +-
+ 9 files changed, 96 insertions(+), 55 deletions(-)
+
+commit 8f0ab8138c7aa190936376ccbbf33bb09c64d6f1
+Author: belyi <devnull at localhost>
+Date:   Thu Mar 31 23:50:59 2005 +0000
+
+    Added exception handling in passphrase_cb and edit_cb. If GPGMEError
+    exception is thrown in those callbacks it will be converted into its
+    core representation and return as an error code to the caller.
+    On all other exceptions error code will be GPG_ERR_GENERAL.
+
+ pyme/Makefile         |  1 +
+ pyme/debian/changelog |  8 ++++++++
+ pyme/gpgme.i          | 20 ++++++++++++++------
+ pyme/helpers.c        | 51 +++++++++++++++++++++++++++++++++++++++++++++------
+ pyme/helpers.h        |  3 +++
+ 5 files changed, 71 insertions(+), 12 deletions(-)
+
+commit 9903d1fb11231e7e3d920e58d1ecb674c5988b07
+Author: belyi <devnull at localhost>
+Date:   Thu Mar 31 05:12:15 2005 +0000
+
+    Remove workaround from Context.wait() method since the bug report and
+    patch fixing gpgme_wait's behavior is sent to GPMGE developers already.
+    Added errorcheck into op_edit() so that it can report an error.
+
+ pyme/pyme/core.py | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
+
+commit 45e8a5f4e13d3ca797ec3b0037242874a6be5562
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 26 19:44:18 2005 +0000
+
+    Updated verion number to 0.6.2 in version.py
+    Added examples/*.glade files into documentation package.
+
+ pyme/debian/examples | 1 +
+ pyme/pyme/version.py | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+commit 270b87bb40e180cb6e8f1de9a0e8161525ffa4ab
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 26 19:31:14 2005 +0000
+
+    Updated debian/changelog regarding PyGtkGpgKeys example and a fix in errors.
+
+ pyme/debian/changelog | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+commit ea4682009a506db91e5174ffd038fe7e4406b591
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 26 19:25:36 2005 +0000
+
+    Added handling of right mouse button click.
+    Changed reporting a string instead of a number on key generation failure.
+
+ pyme/examples/PyGtkGpgKeys.glade |  2 ++
+ pyme/examples/PyGtkGpgKeys.py    | 30 +++++++++++++++++++++++++++---
+ 2 files changed, 29 insertions(+), 3 deletions(-)
+
+commit f65ad1a703d0098a3204fb8527a54d253e5847e7
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 26 18:11:11 2005 +0000
+
+    Added another column indicating if a key has a secret part.
+    Automated generation of the View menu from the view field of the KeyColumn
+    class.
+
+ pyme/examples/PyGtkGpgKeys.glade | 93 ++--------------------------------------
+ pyme/examples/PyGtkGpgKeys.py    | 74 +++++++++++++++++---------------
+ 2 files changed, 44 insertions(+), 123 deletions(-)
+
+commit b54e83a7a7a5785502f3c7e8b95f15e23b40e65a
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 26 16:45:13 2005 +0000
+
+    Small change to the way gtk.TreeModel object is used.
+
+ pyme/examples/PyGtkGpgKeys.py | 21 ++++++++++-----------
+ 1 file changed, 10 insertions(+), 11 deletions(-)
+
+commit 7078db75cef4c1fd70cf03e37172bdb4f933fd1b
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 25 23:33:06 2005 +0000
+
+    Use more comprehansible error reporting since gpgme_strerror_r returns None
+    all the time.
+
+ pyme/pyme/errors.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+commit 151213f4344d9984975721440af07de09e3df61c
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 25 04:30:17 2005 +0000
+
+    Improved PyGtkGpgKeys example to manage owner_trust on keys.
+    Added another example inter-edit.py which is just a hepler to write
+    scripts for Context.op_edit() command.
+
+ pyme/examples/PyGtkGpgKeys.glade | 78 ++++++++++++++++++++++++++++++++++++++++
+ pyme/examples/PyGtkGpgKeys.py    | 68 +++++++++++++++++++++++++++++++----
+ pyme/examples/inter-edit.py      | 54 ++++++++++++++++++++++++++++
+ pyme/examples/t-edit.py          | 18 ++++++++++
+ 4 files changed, 212 insertions(+), 6 deletions(-)
+
+commit fc7235af217bcee5231ce7fbd7f234712d5ad3b0
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 25 00:30:39 2005 +0000
+
+    Updated PyGtkGpgKeys example to include import, export and reload
+    functionality. Also added ability to remove number of keys simultanously.
+    Rearanged how KeyColumn is used to avoid unnecessary sorts and duplication
+    of information in different parts of the code.
+
+ pyme/examples/PyGtkGpgKeys.glade |  86 +++++++++-
+ pyme/examples/PyGtkGpgKeys.py    | 332 ++++++++++++++++++++++++++++-----------
+ 2 files changed, 325 insertions(+), 93 deletions(-)
+
+commit 9f65749ccb1b7cab562e19c03f4371d5f7d94912
+Author: belyi <devnull at localhost>
+Date:   Thu Mar 24 05:51:03 2005 +0000
+
+    Added example of PyGTK+ and PyMe integration.
+    For now it does only simple things - listing, deleting, and generating keys.
+
+ pyme/examples/PyGtkGpgKeys.glade  | 1321 +++++++++++++++++++++++++++++++++++++
+ pyme/examples/PyGtkGpgKeys.gladep |    8 +
+ pyme/examples/PyGtkGpgKeys.py     |  424 ++++++++++++
+ 3 files changed, 1753 insertions(+)
+
+commit 59e23f32c3b46413c9ec09e23e1a385a110fb103
+Author: belyi <devnull at localhost>
+Date:   Thu Mar 24 05:44:58 2005 +0000
+
+    Added wait method Context class which handles asynchornous calls a little
+    bit better than the one generated by SWIG.
+
+ pyme/debian/changelog |  7 +++++++
+ pyme/gpgme.i          |  1 +
+ pyme/pyme/core.py     | 40 ++++++++++++++++++++++++++++++++++++++++
+ 3 files changed, 48 insertions(+)
+
+commit 4c1b5259e4985df2cba0ae4fc09f12cd94603a75
+Author: belyi <devnull at localhost>
+Date:   Tue Mar 22 18:29:31 2005 +0000
+
+    Added correct handling of Context.op_edit() method.
+    Added example/t-edit.py showing usage for this method.
+    Output of this example should match output of the  tests/gpg/t-edit
+    from the GPGME test suite.
+    Remove unused static function from helpers.c
+
+ pyme/examples/t-edit.py | 38 ++++++++++++++++++++++++++++++++++++++
+ pyme/gpgme.i            | 36 ++++++++++++++++++++++++++++++++++++
+ pyme/helpers.c          | 36 ------------------------------------
+ pyme/pyme/core.py       |  5 ++++-
+ 4 files changed, 78 insertions(+), 37 deletions(-)
+
+commit dc587e215283bfef2dd594f86a7b2945f74f5155
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 19 01:43:59 2005 +0000
+
+    Update changelog to include note about deprecated function in 0.6.1 release
+
+ pyme/debian/changelog           | 3 ++-
+ pyme/examples/encrypt-to-all.py | 3 +--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+commit 86de4b3ad777f980ccf7ba3462c85bbe1787d1fd
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 19 01:40:07 2005 +0000
+
+    Remove deprecated functions from helpers.[ch]
+    Use gpgme-h-clean.py to remove deprecated functions and typedefs from
+    the GPGME header file. This will reduce the number of unused methods.
+
+ pyme/Makefile         |  4 ++--
+ pyme/gpgme-h-clean.py | 26 ++++++++++++++++++++++++++
+ pyme/helpers.c        |  8 --------
+ pyme/helpers.h        |  2 --
+ 4 files changed, 28 insertions(+), 12 deletions(-)
+
+commit 2483efcbd0d73c628c4d7717928a766c3b58f0aa
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 18 22:15:52 2005 +0000
+
+    Update copyright and author values in pyme/version.py
+    Create rules to build distribution files - one full and one without
+    debian bits.
+
+ pyme/Makefile        | 28 ++++++++++++++++++++++------
+ pyme/pyme/version.py | 12 ++++++------
+ 2 files changed, 28 insertions(+), 12 deletions(-)
+
+commit 168593285380f5a7805f3dd08657d429a72d3621
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 18 19:09:33 2005 +0000
+
+    Added package building for python2.4
+    
+    Updated copyright notes to include myslef and avoid confusion who's the
+    maintainer. In John's own words: "I'd prefer to just step out of the picture".
+    Jonh's copyright notice left intact.
+
+ pyme/Makefile                        |  6 +++---
+ pyme/debian/changelog                |  7 +++++++
+ pyme/debian/control                  | 30 +++++++++++++++++++++++++++---
+ pyme/debian/copyright                | 10 ++++------
+ pyme/debian/rules                    |  4 ++++
+ pyme/debian/setup.cfg-2.4            |  8 ++++++++
+ pyme/examples/genkey.py              |  4 ++--
+ pyme/gpgme.i                         |  4 ++--
+ pyme/helpers.c                       |  4 ++--
+ pyme/helpers.h                       |  4 ++--
+ pyme/pyme/__init__.py                |  4 ++--
+ pyme/pyme/callbacks.py               |  4 ++--
+ pyme/pyme/constants/data/encoding.py |  4 ++--
+ pyme/pyme/constants/event.py         |  4 ++--
+ pyme/pyme/constants/import.py        |  4 ++--
+ pyme/pyme/constants/keylist/mode.py  |  4 ++--
+ pyme/pyme/constants/md.py            |  4 ++--
+ pyme/pyme/constants/pk.py            |  4 ++--
+ pyme/pyme/constants/protocol.py      |  4 ++--
+ pyme/pyme/constants/sig/mode.py      |  4 ++--
+ pyme/pyme/constants/sigsum.py        |  4 ++--
+ pyme/pyme/constants/status.py        |  4 ++--
+ pyme/pyme/constants/validity.py      |  4 ++--
+ pyme/pyme/core.py                    |  4 ++--
+ pyme/pyme/errors.py                  |  4 ++--
+ pyme/pyme/util.py                    |  4 ++--
+ pyme/pyme/version.py                 |  2 +-
+ pyme/setup.py                        |  3 ++-
+ 28 files changed, 96 insertions(+), 54 deletions(-)
+
+commit 6dbbb252771133724b2879ed6d767cd708196dae
+Author: belyi <devnull at localhost>
+Date:   Fri Mar 18 18:04:35 2005 +0000
+
+    Remove the note about gpgme.i to be generated - it's been the primary source
+    for some time.
+
+ pyme/gpgme.i | 6 ------
+ 1 file changed, 6 deletions(-)
+
+commit 9d449fa4889c6bda6d14583c0625b8d5c4ffe759
+Author: belyi <devnull at localhost>
+Date:   Fri May 7 18:31:22 2004 +0000
+
+    Added my copyright in genkey.py since there's enough changes made.
+    Updated signverify to use only keys generated by genkey.py, to check
+      that keys added to singers are able to sign and to check that the
+      list of signers is not empty. The last check is necessary to prevent
+      signing with the key of the user running signverify.py script.
+    Added delkey.py script to delete keys generated by genkey.py
+    Added exportimport.py example for key export/import.
+
+ pyme/examples/delkey.py       | 29 +++++++++++++++++
+ pyme/examples/exportimport.py | 76 +++++++++++++++++++++++++++++++++++++++++++
+ pyme/examples/genkey.py       |  6 ++--
+ pyme/examples/signverify.py   | 18 ++++++----
+ 4 files changed, 119 insertions(+), 10 deletions(-)
+
+commit df98c8d28245ad2c14b0ab50fc8f8932853bec8b
+Author: belyi <devnull at localhost>
+Date:   Tue May 4 17:34:15 2004 +0000
+
+    Added examples/signverify.py for unattended sing/verify.
+    Updated examples/genkey.py to work correctly.
+    Updated gpgme.i to allow None as a value for gpgme_data_t
+
+ pyme/examples/genkey.py     | 14 ++-------
+ pyme/examples/signverify.py | 72 +++++++++++++++++++++++++++++++++++++++++++++
+ pyme/gpgme.i                | 21 ++++++++-----
+ 3 files changed, 87 insertions(+), 20 deletions(-)
+
+commit ba45931abf530ab89ead46d7233ff1b62b629a18
+Author: belyi <devnull at localhost>
+Date:   Thu Apr 8 16:15:09 2004 +0000
+
+    Ensure that we support only python2.2 and up. :-)
+    Use generators in core.Context class which makes pyme.aux obsolete
+    Remove importing future nested_scopes since they are standart starting
+    with python2.2
+
+ pyme/pyme/__init__.py |  5 ++---
+ pyme/pyme/aux.py      | 56 ---------------------------------------------------
+ pyme/pyme/core.py     | 15 +++++++++++---
+ pyme/pyme/errors.py   |  1 -
+ pyme/pyme/util.py     |  2 +-
+ 5 files changed, 15 insertions(+), 64 deletions(-)
+
+commit 4e9be5a55ecffa4da7ad5c192cc892eddaaa9586
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 03:53:30 2004 +0000
+
+    Small change to index.html
+    Added clean: rule to the Makefile
+
+ pyme-web/Makefile   | 3 +++
+ pyme-web/index.html | 6 +++---
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+commit 2efb95176f4edf56ed61c9ac0c3aa09c56534df0
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 03:00:32 2004 +0000
+
+    Added Makefile rules for pyme module installation.
+
+ pyme/Makefile | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+commit 2b83d5d8b513029cc3e54f2fa502ccc85618104b
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 02:29:54 2004 +0000
+
+    Decorative change.
+
+ pyme/pyme/aux.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit e3478015d763a036c1d806ae01433fce59712204
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 02:25:55 2004 +0000
+
+    Added RCS Id: tags
+
+ pyme/Makefile                           | 1 +
+ pyme/examples/encrypt-to-all.py         | 3 ++-
+ pyme/examples/genkey.py                 | 3 ++-
+ pyme/examples/sign.py                   | 3 ++-
+ pyme/examples/simple.py                 | 3 ++-
+ pyme/gpgme.i                            | 1 +
+ pyme/helpers.c                          | 1 +
+ pyme/helpers.h                          | 1 +
+ pyme/pyme/__init__.py                   | 1 +
+ pyme/pyme/aux.py                        | 1 +
+ pyme/pyme/callbacks.py                  | 1 +
+ pyme/pyme/constants/__init__.py         | 2 ++
+ pyme/pyme/constants/data/__init__.py    | 2 ++
+ pyme/pyme/constants/data/encoding.py    | 1 +
+ pyme/pyme/constants/event.py            | 1 +
+ pyme/pyme/constants/import.py           | 1 +
+ pyme/pyme/constants/keylist/__init__.py | 2 ++
+ pyme/pyme/constants/keylist/mode.py     | 1 +
+ pyme/pyme/constants/md.py               | 1 +
+ pyme/pyme/constants/pk.py               | 1 +
+ pyme/pyme/constants/protocol.py         | 1 +
+ pyme/pyme/constants/sig/__init__.py     | 2 ++
+ pyme/pyme/constants/sig/mode.py         | 1 +
+ pyme/pyme/constants/sigsum.py           | 1 +
+ pyme/pyme/constants/status.py           | 1 +
+ pyme/pyme/constants/validity.py         | 1 +
+ pyme/pyme/core.py                       | 1 +
+ pyme/pyme/errors.py                     | 1 +
+ pyme/pyme/util.py                       | 1 +
+ pyme/pyme/version.py                    | 2 ++
+ 30 files changed, 39 insertions(+), 4 deletions(-)
+
+commit b3b3712645332c5bc3e8d9d557aab21d48ff0f86
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 02:07:36 2004 +0000
+
+    Added Id: RCS tags to all files.
+
+ pyme-web/Makefile   | 2 ++
+ pyme-web/index.html | 3 ++-
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+commit 6aea2426beaaa8c43e6f2310a37a2737c0c3a1b5
+Author: belyi <devnull at localhost>
+Date:   Sun Mar 21 01:50:55 2004 +0000
+
+    Update example on the init pyme.html page to match simple.py example.
+    Fix core.py to use getcode() instead of getvalue() method of the exception.
+
+ pyme/pyme/__init__.py | 22 ++++++++++++++--------
+ pyme/pyme/core.py     |  4 ++--
+ 2 files changed, 16 insertions(+), 10 deletions(-)
+
+commit dee337455ffd624d3f83e1c159c4bb2cefc692c9
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 20:32:29 2004 +0000
+
+    Added Makefile to simplify publishing web files.
+
+ pyme-web/Makefile | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+commit af7129baa8260697d85c2ddb434562e8a80b62d8
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 20:15:53 2004 +0000
+
+    Added minimum of formating and SF icon.
+
+ pyme-web/index.html | 18 +++++++++++-------
+ 1 file changed, 11 insertions(+), 7 deletions(-)
+
+commit 2e64dcbf99cee796b51667b04d8961e390edde87
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 18:30:09 2004 +0000
+
+    Initial revision
+
+ pyme-web/index.html | 33 +++++++++++++++++++++++++++++++++
+ 1 file changed, 33 insertions(+)
+
+commit 1c51644b3d0b6611422d971758e35f303d2ad5df
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 05:10:46 2004 +0000
+
+    Update examples and package information on the initial pyme doc page.
+
+ pyme/pyme/__init__.py | 27 ++++++++++++---------------
+ 1 file changed, 12 insertions(+), 15 deletions(-)
+
+commit b2d31b0bfbffdff5247d6db4e3c95140cc1b1f19
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 04:47:42 2004 +0000
+
+    Deleted unnecessary files.
+    Updated debian/control to remove dependency on python-xml package since there's
+    none now.
+    Move example files from 'doc' into separate control file.
+    Update debian/rules to build documentation from *.py files and to exclude
+    CVS directories from the installation.
+
+ pyme/Makefile                   |  26 ++-----
+ pyme/debian/control             |   8 +--
+ pyme/debian/docs                |   1 -
+ pyme/debian/ex.package.doc-base |  22 ------
+ pyme/debian/examples            |   1 +
+ pyme/debian/manpage.1.ex        |  60 ----------------
+ pyme/debian/manpage.sgml.ex     | 152 ----------------------------------------
+ pyme/debian/rules               |  12 ++--
+ 8 files changed, 15 insertions(+), 267 deletions(-)
+
+commit 1b517dd9b82a433499b4696b06d94d756cd36e53
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 02:59:15 2004 +0000
+
+    Remove doc/gpgme directory containing GPGME documentation since this belongs
+    to a different project. Need to add reference in our documentation.
+
+ pyme/doc/gpgme/fdl.texi     |  402 ------
+ pyme/doc/gpgme/gpgme.texi   | 3372 -------------------------------------------
+ pyme/doc/gpgme/gpl.texi     |  397 -----
+ pyme/doc/gpgme/version.texi |    4 -
+ 4 files changed, 4175 deletions(-)
+
+commit 95d7d171da115a0fedfe2a4a7e5acc8aa408f673
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 02:45:03 2004 +0000
+
+    Change debian/rules to generate files by swig during build and to cleanup
+    those files on 'clean' rule.
+    Plus, leave generated gpgme_wrap.c in the root directory instead of moving
+    it into subdirectory 'generated'.
+
+ pyme/Makefile     | 8 +++-----
+ pyme/debian/rules | 3 ++-
+ pyme/setup.py     | 2 +-
+ 3 files changed, 6 insertions(+), 7 deletions(-)
+
+commit 545b3d90d445c5c78e8d72b2c1780863e02c789a
+Author: belyi <devnull at localhost>
+Date:   Sat Mar 20 02:18:01 2004 +0000
+
+    Initial revision
+
+ pyme/COPYING                            |  340 ++++
+ pyme/ChangeLog                          |  802 ++++++++
+ pyme/Makefile                           |   79 +
+ pyme/debian/README.Debian               |    6 +
+ pyme/debian/changelog                   |   19 +
+ pyme/debian/control                     |   68 +
+ pyme/debian/copyright                   |   27 +
+ pyme/debian/dirs                        |    2 +
+ pyme/debian/docs                        |    2 +
+ pyme/debian/ex.package.doc-base         |   22 +
+ pyme/debian/manpage.1.ex                |   60 +
+ pyme/debian/manpage.sgml.ex             |  152 ++
+ pyme/debian/postinst.ex                 |   48 +
+ pyme/debian/postrm.ex                   |   38 +
+ pyme/debian/preinst.ex                  |   44 +
+ pyme/debian/prerm.ex                    |   39 +
+ pyme/debian/rules                       |  130 ++
+ pyme/debian/setup.cfg-2.2               |    8 +
+ pyme/debian/setup.cfg-2.3               |    8 +
+ pyme/doc/gpgme/fdl.texi                 |  402 ++++
+ pyme/doc/gpgme/gpgme.texi               | 3372 +++++++++++++++++++++++++++++++
+ pyme/doc/gpgme/gpl.texi                 |  397 ++++
+ pyme/doc/gpgme/version.texi             |    4 +
+ pyme/examples/encrypt-to-all.py         |   63 +
+ pyme/examples/genkey.py                 |   55 +
+ pyme/examples/sign.py                   |   28 +
+ pyme/examples/simple.py                 |   44 +
+ pyme/gpgme.i                            |  191 ++
+ pyme/helpers.c                          |  139 ++
+ pyme/helpers.h                          |   29 +
+ pyme/pyme/__init__.py                   |  134 ++
+ pyme/pyme/aux.py                        |   55 +
+ pyme/pyme/callbacks.py                  |   45 +
+ pyme/pyme/constants/__init__.py         |    2 +
+ pyme/pyme/constants/data/__init__.py    |    2 +
+ pyme/pyme/constants/data/encoding.py    |   19 +
+ pyme/pyme/constants/event.py            |   19 +
+ pyme/pyme/constants/import.py           |   19 +
+ pyme/pyme/constants/keylist/__init__.py |    2 +
+ pyme/pyme/constants/keylist/mode.py     |   19 +
+ pyme/pyme/constants/md.py               |   19 +
+ pyme/pyme/constants/pk.py               |   19 +
+ pyme/pyme/constants/protocol.py         |   19 +
+ pyme/pyme/constants/sig/__init__.py     |    2 +
+ pyme/pyme/constants/sig/mode.py         |   19 +
+ pyme/pyme/constants/sigsum.py           |   19 +
+ pyme/pyme/constants/status.py           |   19 +
+ pyme/pyme/constants/validity.py         |   19 +
+ pyme/pyme/core.py                       |  367 ++++
+ pyme/pyme/errors.py                     |   46 +
+ pyme/pyme/util.py                       |   61 +
+ pyme/pyme/version.py                    |   39 +
+ pyme/setup.py                           |   60 +
+ 53 files changed, 7642 insertions(+)
+
+commit a3d5a442dc713b6c4d6fc4134db5b47e379dc41d
+Author: root <devnull at localhost>
+Date:   Fri Mar 19 14:12:30 2004 +0000
+
+    initial checkin
+
+ CVSROOT/checkoutlist | 13 +++++++++++++
+ CVSROOT/commitinfo   | 15 +++++++++++++++
+ CVSROOT/config       | 21 +++++++++++++++++++++
+ CVSROOT/cvswrappers  | 19 +++++++++++++++++++
+ CVSROOT/editinfo     | 21 +++++++++++++++++++++
+ CVSROOT/loginfo      | 26 ++++++++++++++++++++++++++
+ CVSROOT/modules      | 26 ++++++++++++++++++++++++++
+ CVSROOT/notify       | 12 ++++++++++++
+ CVSROOT/rcsinfo      | 13 +++++++++++++
+ CVSROOT/taginfo      | 20 ++++++++++++++++++++
+ CVSROOT/verifymsg    | 21 +++++++++++++++++++++
+ 11 files changed, 207 insertions(+)
diff --git a/lang/py3-pyme/examples/PyGtkGpgKeys.glade b/lang/py3-pyme/examples/PyGtkGpgKeys.glade
new file mode 100644
index 0000000..51338b1
--- /dev/null
+++ b/lang/py3-pyme/examples/PyGtkGpgKeys.glade
@@ -0,0 +1,1394 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
+
+<glade-interface>
+
+<widget class="GtkWindow" id="GPGAdminWindow">
+  <property name="visible">True</property>
+  <property name="title" translatable="yes">GPG Keyring</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="default_width">800</property>
+  <property name="default_height">400</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <signal name="destroy" handler="on_Exit" last_modification_time="Sat, 19 Mar 2005 23:29:05 GMT"/>
+
+  <child>
+    <widget class="GtkVBox" id="vbox1">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child>
+	<widget class="GtkHandleBox" id="handlebox1">
+	  <property name="visible">True</property>
+	  <property name="shadow_type">GTK_SHADOW_OUT</property>
+	  <property name="handle_position">GTK_POS_LEFT</property>
+	  <property name="snap_edge">GTK_POS_TOP</property>
+
+	  <child>
+	    <widget class="GtkMenuBar" id="menubar1">
+	      <property name="visible">True</property>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem1">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_File</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem1_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="reload_keys">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Reload all keys from the keyring</property>
+			  <property name="label" translatable="yes">_Reload</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_reload_activate" last_modification_time="Sat, 26 Mar 2005 17:12:46 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="quit">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-quit</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_Exit" last_modification_time="Sat, 19 Mar 2005 23:29:26 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem2">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Key Admin</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem2_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="generate">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Generate new key</property>
+			  <property name="label" translatable="yes">_Generate</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_generate_activate" last_modification_time="Wed, 23 Mar 2005 00:37:52 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="delete">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Delete selected keys (including secret ones)</property>
+			  <property name="label" translatable="yes">_Delete</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_delete_activate" last_modification_time="Wed, 23 Mar 2005 02:43:23 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="import_keys">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Import keys from a file</property>
+			  <property name="label" translatable="yes">_Import</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_import_keys_activate" last_modification_time="Thu, 24 Mar 2005 13:13:28 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="export_keys">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Export selected keys into a binary file</property>
+			  <property name="label" translatable="yes">_Export (binary)</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_export_keys_activate" last_modification_time="Thu, 24 Mar 2005 13:13:28 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="export_keys_text">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Export selected keys into an ASCII file</property>
+			  <property name="label" translatable="yes">Export (_text)</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_export_keys_text_activate" last_modification_time="Thu, 24 Mar 2005 21:13:18 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="trust">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">T_rust</property>
+			  <property name="use_underline">True</property>
+
+			  <child>
+			    <widget class="GtkMenu" id="trust_menu">
+
+			      <child>
+				<widget class="GtkMenuItem" id="undefined_trust">
+				  <property name="visible">True</property>
+				  <property name="tooltip" translatable="yes">Unknown key</property>
+				  <property name="label" translatable="yes">_Undefined</property>
+				  <property name="use_underline">True</property>
+				  <signal name="activate" handler="on_undefined_trust_activate" last_modification_time="Fri, 25 Mar 2005 01:22:28 GMT"/>
+				</widget>
+			      </child>
+
+			      <child>
+				<widget class="GtkMenuItem" id="never_trust">
+				  <property name="visible">True</property>
+				  <property name="tooltip" translatable="yes">Do NOT trust anything this key does</property>
+				  <property name="label" translatable="yes">_Never</property>
+				  <property name="use_underline">True</property>
+				  <signal name="activate" handler="on_never_trust_activate" last_modification_time="Fri, 25 Mar 2005 01:22:28 GMT"/>
+				</widget>
+			      </child>
+
+			      <child>
+				<widget class="GtkMenuItem" id="marginal_trust">
+				  <property name="visible">True</property>
+				  <property name="tooltip" translatable="yes">Trust this key but unsure about keys it signed</property>
+				  <property name="label" translatable="yes">_Marginal</property>
+				  <property name="use_underline">True</property>
+				  <signal name="activate" handler="on_marginal_trust_activate" last_modification_time="Fri, 25 Mar 2005 01:22:28 GMT"/>
+				</widget>
+			      </child>
+
+			      <child>
+				<widget class="GtkMenuItem" id="full_trust">
+				  <property name="visible">True</property>
+				  <property name="tooltip" translatable="yes">Trust this key and keys it signed</property>
+				  <property name="label" translatable="yes">_Full</property>
+				  <property name="use_underline">True</property>
+				  <signal name="activate" handler="on_full_trust_activate" last_modification_time="Fri, 25 Mar 2005 01:22:28 GMT"/>
+				</widget>
+			      </child>
+
+			      <child>
+				<widget class="GtkMenuItem" id="ultimate_trust">
+				  <property name="visible">True</property>
+				  <property name="tooltip" translatable="yes">This is my own another key</property>
+				  <property name="label" translatable="yes">U_ltimate</property>
+				  <property name="use_underline">True</property>
+				  <signal name="activate" handler="on_ultimate_trust_activate" last_modification_time="Fri, 25 Mar 2005 01:22:28 GMT"/>
+				</widget>
+			      </child>
+			    </widget>
+			  </child>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator1">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="edit">
+			  <property name="visible">True</property>
+			  <property name="tooltip" translatable="yes">Unimplemented Item</property>
+			  <property name="label" translatable="yes">_Edit</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_edit_activate" last_modification_time="Wed, 23 Mar 2005 01:22:52 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="view_menu">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_View</property>
+		  <property name="use_underline">True</property>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem4">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Help</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem4_menu">
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="about">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-about</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_about_activate" last_modification_time="Thu, 24 Mar 2005 00:41:12 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkScrolledWindow" id="scrolledwindow1">
+	  <property name="visible">True</property>
+	  <property name="can_focus">True</property>
+	  <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	  <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	  <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+	  <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+	  <child>
+	    <widget class="GtkTreeView" id="GPGKeysView">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="headers_visible">True</property>
+	      <property name="rules_hint">True</property>
+	      <property name="reorderable">False</property>
+	      <property name="enable_search">False</property>
+	      <signal name="button_press_event" handler="on_GPGKeysView_button_press_event" last_modification_time="Sat, 26 Mar 2005 18:23:12 GMT"/>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkStatusbar" id="statusbar1">
+	  <property name="visible">True</property>
+	  <property name="has_resize_grip">True</property>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">False</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="PasswordDialog">
+  <property name="title" translatable="yes">GPG Password</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">True</property>
+  <property name="resizable">False</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox1">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area1">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox2">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="pwd_prompt">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">password:</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="password">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">False</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="GenerateDialog">
+  <property name="title" translatable="yes">New Key Properties</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox2">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area2">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkTable" id="table1">
+	  <property name="visible">True</property>
+	  <property name="n_rows">12</property>
+	  <property name="n_columns">2</property>
+	  <property name="homogeneous">False</property>
+	  <property name="row_spacing">0</property>
+	  <property name="column_spacing">0</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label3">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Key-Length: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">1</property>
+	      <property name="bottom_attach">2</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label2">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Key-Type: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">0</property>
+	      <property name="bottom_attach">1</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label4">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Key-Usage: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">2</property>
+	      <property name="bottom_attach">3</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label5">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Subkey-Type: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">3</property>
+	      <property name="bottom_attach">4</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label6">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Subkey-Length: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">4</property>
+	      <property name="bottom_attach">5</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label7">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Subkey-Usage: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">5</property>
+	      <property name="bottom_attach">6</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label8">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Name-Real: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">6</property>
+	      <property name="bottom_attach">7</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label9">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Name-Comment: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">7</property>
+	      <property name="bottom_attach">8</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label10">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Name-Email: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">8</property>
+	      <property name="bottom_attach">9</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label11">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Expire-Date: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">9</property>
+	      <property name="bottom_attach">10</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkComboBox" id="key_type">
+	      <property name="visible">True</property>
+	      <property name="items" translatable="yes">DSA
+RSA</property>
+	      <signal name="changed" handler="on_key_type_changed" last_modification_time="Wed, 23 Mar 2005 19:02:31 GMT"/>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">0</property>
+	      <property name="bottom_attach">1</property>
+	      <property name="y_options">fill</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkSpinButton" id="key_length">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="climb_rate">1</property>
+	      <property name="digits">0</property>
+	      <property name="numeric">False</property>
+	      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	      <property name="snap_to_ticks">False</property>
+	      <property name="wrap">False</property>
+	      <property name="adjustment">1024 1024 4096 1 1024 10</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">1</property>
+	      <property name="bottom_attach">2</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkHBox" id="hbox1">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<widget class="GtkCheckButton" id="key_encrypt">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">encrypt</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="key_sign">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">sign</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">2</property>
+	      <property name="bottom_attach">3</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options">fill</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkComboBox" id="subkey_type">
+	      <property name="visible">True</property>
+	      <property name="items" translatable="yes">
+DSA
+ELG-E
+RSA</property>
+	      <signal name="changed" handler="on_subkey_type_changed" last_modification_time="Wed, 23 Mar 2005 19:03:04 GMT"/>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">3</property>
+	      <property name="bottom_attach">4</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options">fill</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkSpinButton" id="subkey_length">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="climb_rate">1</property>
+	      <property name="digits">0</property>
+	      <property name="numeric">False</property>
+	      <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+	      <property name="snap_to_ticks">False</property>
+	      <property name="wrap">False</property>
+	      <property name="adjustment">1024 1024 4096 1 1024 10</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">4</property>
+	      <property name="bottom_attach">5</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkHBox" id="hbox2">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<widget class="GtkCheckButton" id="subkey_encrypt">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">encrypt</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkCheckButton" id="subkey_sign">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="label" translatable="yes">sign</property>
+		  <property name="use_underline">True</property>
+		  <property name="relief">GTK_RELIEF_NORMAL</property>
+		  <property name="focus_on_click">True</property>
+		  <property name="active">False</property>
+		  <property name="inconsistent">False</property>
+		  <property name="draw_indicator">True</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">5</property>
+	      <property name="bottom_attach">6</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options">fill</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="name_real">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">True</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">6</property>
+	      <property name="bottom_attach">7</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="name_comment">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">True</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">7</property>
+	      <property name="bottom_attach">8</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="name_email">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">True</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">8</property>
+	      <property name="bottom_attach">9</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label12">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Passphrase: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">10</property>
+	      <property name="bottom_attach">11</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label13">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">(repeat): </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">11</property>
+	      <property name="bottom_attach">12</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="passphrase">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">False</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">10</property>
+	      <property name="bottom_attach">11</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="passphrase_repeat">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">False</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">11</property>
+	      <property name="bottom_attach">12</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkExpander" id="expire_date">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="expanded">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<widget class="GtkCalendar" id="expire_calendar">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="display_options">GTK_CALENDAR_SHOW_HEADING|GTK_CALENDAR_SHOW_DAY_NAMES</property>
+		  <signal name="day_selected_double_click" handler="on_expire_calendar_day_selected" last_modification_time="Wed, 23 Mar 2005 12:34:39 GMT"/>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label14">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Unlimited</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">9</property>
+	      <property name="bottom_attach">10</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options">fill</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="GenerateProgress">
+  <property name="title" translatable="yes">Generating the key...</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">True</property>
+  <property name="default_width">600</property>
+  <property name="default_height">400</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox3">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area3">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="closebutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	      <signal name="clicked" handler="on_generating_close_clicked" last_modification_time="Wed, 23 Mar 2005 23:00:30 GMT"/>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox3">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image1">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-info</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkScrolledWindow" id="scrolledwindow2">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	      <property name="shadow_type">GTK_SHADOW_IN</property>
+	      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+	      <child>
+		<widget class="GtkTextView" id="progress_entry">
+		  <property name="visible">True</property>
+		  <property name="sensitive">False</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">False</property>
+		  <property name="overwrite">False</property>
+		  <property name="accepts_tab">True</property>
+		  <property name="justification">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap_mode">GTK_WRAP_CHAR</property>
+		  <property name="cursor_visible">False</property>
+		  <property name="pixels_above_lines">0</property>
+		  <property name="pixels_below_lines">0</property>
+		  <property name="pixels_inside_wrap">0</property>
+		  <property name="left_margin">0</property>
+		  <property name="right_margin">0</property>
+		  <property name="indent">0</property>
+		  <property name="text" translatable="yes"></property>
+		</widget>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="AboutDialog">
+  <property name="title" translatable="yes">About PyGtkGpgKeys</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">False</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox4">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area4">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton3">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox4">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image2">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-about</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox3">
+	      <property name="border_width">6</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label15">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes"><b>PyGtkGpgKeys</b>
+Graphical example of PyMe abilities.</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_CENTER</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">10</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label16">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes"><i>GNU Public License</i></property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">10</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label17">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes"><small>(C) 2005 Igor Belyi</small></property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_CENTER</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">10</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+</glade-interface>
diff --git a/lang/py3-pyme/examples/PyGtkGpgKeys.gladep b/lang/py3-pyme/examples/PyGtkGpgKeys.gladep
new file mode 100644
index 0000000..466acc8
--- /dev/null
+++ b/lang/py3-pyme/examples/PyGtkGpgKeys.gladep
@@ -0,0 +1,8 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
+
+<glade-project>
+  <name>GtkGpgKeys</name>
+  <program_name>GtkGpgKeys</program_name>
+  <gnome_support>FALSE</gnome_support>
+</glade-project>
diff --git a/lang/py3-pyme/examples/PyGtkGpgKeys.py b/lang/py3-pyme/examples/PyGtkGpgKeys.py
new file mode 100755
index 0000000..0221b05
--- /dev/null
+++ b/lang/py3-pyme/examples/PyGtkGpgKeys.py
@@ -0,0 +1,663 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2005,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+import gtk, gobject, gtk.glade
+import time, sys, os
+from pyme import callbacks, core, errors
+from pyme.core import Data, Context, pubkey_algo_name
+from pyme import constants
+from pyme.constants import validity
+from pyme.constants.keylist import mode
+
+# Thanks to Bernhard Reiter for pointing out the following:
+# gpgme_check_version() necessary for initialisation according to 
+# gpgme 1.1.6 and this is not done automatically in pyme-0.7.0
+print("gpgme version:", core.check_version(None))
+
+# Convert trust constant into a string
+trusts = {validity.UNKNOWN: "",
+          validity.UNDEFINED: "Undefined",
+          validity.NEVER: "Never",
+          validity.MARGINAL: "Marginal",
+          validity.FULL: "Full",
+          validity.ULTIMATE: "Ultimate"}
+
+# Convert seconds into a date
+def sec2str(secs):
+    if secs > 0:    return time.strftime("%Y-%m-%d", time.gmtime(secs))
+    elif secs == 0: return "Unlimited"
+    else:           return ""
+
+index = 0
+class KeyColumn:
+    "Helper class for data columns."
+    def __init__(self, name, gtype, vattr=None, tcols=None,
+                 func=lambda x:x, view=None):
+        """new(name, qtype, vattr, column, ocolumn, func):
+        name  - column title
+        qtype - gobject type to use in TreeStore for this column
+        vattr - column data is visible if method vattr present in the object
+        tcols - list of type specific columns to append its name to.
+        func  - function converting object data into viewable presentation
+        view  - to put or not the column in the view menu"""
+        global index
+        self.name = name
+        self.type = gtype
+        self.vattr = vattr
+        self.func = func
+        self.view = view
+        self.index = index
+        self.attrs = {}
+        if tcols != None: tcols.append(name)
+        index += 1
+
+# List column names specific to an object type
+key_columns = []                        # names only in key
+uid_columns = []                        # names only in uids
+sub_columns = []                        # names only in subkeys
+sign_columns = []                       # names only in signatures
+sub_sign_columns = []                   # names in subkeys and signatures
+
+# Explicite columns
+visible_columns = [
+    KeyColumn("Secret", gobject.TYPE_BOOLEAN, "subkeys"),
+    KeyColumn("Name", gobject.TYPE_STRING, "name", uid_columns,
+              lambda x: x.name+(x.comment and " (%s)"%x.comment)),
+    KeyColumn("Email", gobject.TYPE_STRING, "email", uid_columns,
+              lambda x: x.email),
+    KeyColumn("Owner Trust", gobject.TYPE_STRING, "owner_trust", key_columns,
+              lambda x: trusts[x.owner_trust], True),
+    KeyColumn("Type", gobject.TYPE_STRING, "pubkey_algo", sub_sign_columns,
+              lambda x: pubkey_algo_name(x.pubkey_algo)),
+    KeyColumn("Length", gobject.TYPE_INT, "length", sub_columns,
+              lambda x: x.length),
+    KeyColumn("Can Auth", gobject.TYPE_BOOLEAN,"can_authenticate", sub_columns,
+              lambda x: x.can_authenticate, False),
+    KeyColumn("Can Cert", gobject.TYPE_BOOLEAN, "can_certify", sub_columns,
+              lambda x: x.can_certify, False),
+    KeyColumn("Can Encr", gobject.TYPE_BOOLEAN, "can_encrypt", sub_columns,
+              lambda x: x.can_encrypt, False),
+    KeyColumn("Can Sign", gobject.TYPE_BOOLEAN, "can_sign", sub_columns,
+              lambda x: x.can_sign, False),
+    KeyColumn("Created", gobject.TYPE_STRING, "timestamp", sub_sign_columns,
+              lambda x: sec2str(x.timestamp), True),
+    KeyColumn("Expires", gobject.TYPE_STRING, "expires", sub_sign_columns,
+              lambda x: sec2str(x.expires), True),
+    KeyColumn("Id", gobject.TYPE_STRING, "keyid", sub_sign_columns,
+              lambda x: x.keyid)
+    ]
+
+helper_columns = [
+    KeyColumn("Name Invalid", gobject.TYPE_BOOLEAN, None, uid_columns,
+              lambda x: x.revoked or x.invalid),
+    KeyColumn("Subkey Invalid", gobject.TYPE_BOOLEAN, None, sub_sign_columns,
+              lambda x: x.revoked or x.invalid or x.expired),
+    KeyColumn("FPR", gobject.TYPE_STRING, None, sub_columns,
+              lambda x: x.fpr)
+    ]
+
+# Calculate implicite columns - defining visibility of the data in a column.
+# In the same loop calculate tuple for rows having only name in them.
+name_only = ()
+for item in visible_columns:
+    vis_item = KeyColumn("Show"+item.name, gobject.TYPE_BOOLEAN)
+    helper_columns.append(vis_item)
+    item.attrs["visible"] = vis_item.index
+    name_only += (vis_item.index, item.name == "Name")
+
+columns = {}
+for item in visible_columns + helper_columns:
+    columns[item.name] = item
+
+# Use strikethrough to indicate revoked or invalid keys and uids
+columns["Name"].attrs["strikethrough"] = columns["Name Invalid"].index
+columns["Id"].attrs["strikethrough"] = columns["Subkey Invalid"].index
+
+def pair(name, value):
+    "pair(name, value) creates (index, func(value)) tuple based on column name"
+    item = columns[name]
+    if item.index < len(visible_columns):
+        return (item.index, item.func(value), columns["Show"+name].index, True)
+    else:
+        return (item.index, item.func(value))
+
+class PyGtkGpgKeys:
+    "Main class representing PyGtkGpgKeys application"
+    def error_message(self, text, parent=None):
+        dialog = gtk.MessageDialog(parent or self.mainwin,
+                                   gtk.DIALOG_MODAL |
+                                   gtk.DIALOG_DESTROY_WITH_PARENT,
+                                   gtk.MESSAGE_ERROR,
+                                   gtk.BUTTONS_OK,
+                                   text)
+        dialog.run()
+        dialog.destroy()        
+
+    def yesno_message(self, text, parent=None):
+        dialog = gtk.MessageDialog(parent or self.mainwin,
+                                   gtk.DIALOG_MODAL |
+                                   gtk.DIALOG_DESTROY_WITH_PARENT,
+                                   gtk.MESSAGE_QUESTION,
+                                   gtk.BUTTONS_YES_NO,
+                                   text)
+        result = dialog.run() == gtk.RESPONSE_YES
+        dialog.destroy()
+        return result
+    
+    def load_keys(self, first_time=False):
+        if not first_time: self.model.clear()
+        secret_keys = {}
+        for key in self.context.op_keylist_all(None, 1):
+            secret_keys[key.subkeys[0].fpr] = 1
+        for key in self.context.op_keylist_all(None, 0):
+            self.add_key(key, key.subkeys[0].fpr in secret_keys)
+    
+    def add_key(self, key, secret):
+        "self.add_key(key) - add key to the TreeStore model"
+        iter = self.model.append(None)
+        # Can delete only the whole key
+        param = (iter,) + pair("Secret", secret)
+        # Key information is a combination of the key and first uid and subkey
+        for col in key_columns: param += pair(col, key)
+        for col in uid_columns: param += pair(col, key.uids[0])
+        for col in sub_columns: param += pair(col, key.subkeys[0])
+        for col in sub_sign_columns: param += pair(col, key.subkeys[0])
+        self.model.set(*param)
+        if key.uids:
+            self.add_signatures(key.uids[0].signatures, iter)
+            self.add_uids(key.uids[1:], iter)
+        self.add_subkeys(key.subkeys[1:], iter)
+
+    def add_subkeys(self, subkeys, iter):
+        "self.add_subkeys(subkey, iter) - add subkey as child to key's iter"
+        if not subkeys:
+            return
+        key_iter = self.model.append(iter)
+        self.model.set(key_iter, columns["Name"].index, "Subkeys", *name_only)
+        for subkey in subkeys:
+            child_iter = self.model.append(key_iter)
+            param = (child_iter,)
+            for col in sub_columns: param += pair(col, subkey)
+            for col in sub_sign_columns: param += pair(col, subkey)
+            self.model.set(*param)
+
+    def add_uids(self, uids, iter):
+        "self.add_uids(uid, iter) - add uid as a child to key's iter"
+        if not uids:
+            return
+        uid_iter = self.model.append(iter)
+        self.model.set(uid_iter,columns["Name"].index,"Other UIDs",*name_only)
+        for uid in uids:
+            child_iter = self.model.append(uid_iter)
+            param = (child_iter,)
+            for col in uid_columns: param += pair(col, uid)
+            self.model.set(*param)
+            self.add_signatures(uid.signatures, child_iter)
+
+    def add_signatures(self, signs, iter):
+        "self.add_signatures(sign, iter) - add signature as a child to iter"
+        if not signs:
+            return
+        sign_iter = self.model.append(iter)
+        self.model.set(sign_iter,columns["Name"].index,"Signatures",*name_only)
+        for sign in signs:
+            child_iter = self.model.append(sign_iter)
+            param = (child_iter,)
+            for col in uid_columns: param += pair(col, sign)
+            for col in sign_columns: param += pair(col, sign)
+            for col in sub_sign_columns: param += pair(col, sign)
+            self.model.set(*param)
+
+    def add_columns(self):
+        "Add viewable columns for the data in TreeStore model"
+        view_menu = gtk.Menu()
+        for item in visible_columns:
+            if item.type == gobject.TYPE_BOOLEAN:
+                renderer = gtk.CellRendererToggle()
+                item.attrs["active"] = item.index
+            else:
+                renderer = gtk.CellRendererText()
+                item.attrs["text"] = item.index
+            column = self.treeview.insert_column_with_attributes(
+                item.index, item.name, renderer, **item.attrs)
+            column.set_sort_column_id(item.index)
+            # Create callback for a View menu item
+            if item.view != None:
+                check = gtk.CheckMenuItem(item.name)
+                check.set_active(item.view)
+                check.connect("activate",
+                              lambda x, y: y.set_visible(x.get_active()),
+                              column)
+                view_menu.append(check)
+                column.set_visible(check.get_active())
+                
+        view_menu.show_all()
+        self.wtree.get_widget("view_menu").set_submenu(view_menu)
+
+    def on_GPGKeysView_button_press_event(self, obj, event):
+        if event.button != 3:
+            return False
+
+        menu = gtk.Menu()
+        for title, callback in [
+            ("Reload", self.on_reload_activate),
+            (None, None),
+            ("Delete", self.on_delete_activate),
+            ("Export (txt)", self.on_export_keys_text_activate),
+            ("Export (bin)", self.on_export_keys_activate)
+            ]:
+            if title:
+                item = gtk.MenuItem(title)
+                item.connect("activate", callback)
+            else:
+                item = gtk.SeparatorMenuItem()
+            menu.append(item)
+        menu.show_all()
+        
+        menu.popup(None, None, None, event.button, event.time)
+        return True
+
+    def editor_func(self, status, args, val_dict):
+        state = val_dict["state"]
+        prompt = "%s %s" % (state, args)
+        if prompt in val_dict:
+            val_dict["state"] = val_dict[prompt][0]
+            return val_dict[prompt][1]
+        elif args:
+            sys.stderr.write("Unexpected prompt in editor_func: %s\n" % prompt)
+            raise EOFError()
+        return ""
+
+    def change_key_trust(self, key, new_trust):
+        val_dict = {
+            "state": "start",
+            "start keyedit.prompt": ("trust", "trust"),
+            "trust edit_ownertrust.value": ("prompt", "%d" % new_trust),
+            "prompt edit_ownertrust.set_ultimate.okay": ("prompt", "Y"),
+            "prompt keyedit.prompt": ("finish", "quit")
+            }
+        out = Data()
+        self.context.op_edit(key, self.editor_func, val_dict, out)
+
+    def on_change_trust(self, new_trust):
+        selection = self.treeview.get_selection()
+        if selection.count_selected_rows() <= 0:
+            return
+        
+        key_list = []
+        selection.selected_foreach(self.collect_keys, key_list)
+
+        message = "Change trust to %s on the following keys?\n" % \
+                  trusts[new_trust]
+        for key, row in key_list:
+            message += "\n%s\t" % key.subkeys[0].keyid
+            if key.uids: message += key.uids[0].uid
+            else:        message += "<undefined>"                
+        if self.yesno_message(message):
+            for key, row in key_list:
+                if key.owner_trust != new_trust:
+                    self.change_key_trust(key, new_trust)
+                    row[columns["Owner Trust"].index] = trusts[new_trust]
+
+    def on_undefined_trust_activate(self, obj):
+        self.on_change_trust(1)
+
+    def on_never_trust_activate(self, obj):
+        self.on_change_trust(2)
+
+    def on_marginal_trust_activate(self, obj):
+        self.on_change_trust(3)
+
+    def on_full_trust_activate(self, obj):
+        self.on_change_trust(4)
+
+    def on_ultimate_trust_activate(self, obj):
+        self.on_change_trust(5)
+
+    def collect_keys(self, model, path, iter, key_list):
+        row = model[path[:1]]
+        keyid = row[columns["FPR"].index]
+        key = self.context.get_key(keyid, 0)
+        key_list.append((key, row))
+
+    def export_keys(self):
+        selection = self.treeview.get_selection()
+        if selection.count_selected_rows() <= 0:
+            return
+        
+        export_file = None
+        dialog = gtk.FileChooserDialog("Export Keys (Public only) into a File",
+                                       self.mainwin,
+                                       gtk.FILE_CHOOSER_ACTION_SAVE,
+                                       (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+                                        gtk.STOCK_OK, gtk.RESPONSE_OK))
+        while dialog.run() == gtk.RESPONSE_OK:
+            filename = dialog.get_filename()
+            if os.path.exists(filename):
+                if os.path.isdir(filename):
+                    self.error_message("%s is a directory!" % filename,
+                                       dialog)
+                    continue
+                elif not self.yesno_message("%s exists. Override?" % filename,
+                                            dialog):
+                    continue
+
+            # FIXME. Verify that file can be written to
+            export_file = open(filename, "wb")
+            break
+        dialog.destroy()
+        if export_file == None:
+            return
+
+        key_list = []
+        selection.selected_foreach(self.collect_keys, key_list)
+        expkeys = Data()
+        for key, row in key_list:
+            self.context.op_export(key.subkeys[0].fpr, 0, expkeys)
+        expkeys.seek(0,0)
+        export_file.write(expkeys.read())
+        export_file.close()
+            
+    def on_export_keys_activate(self, obj):
+        self.context.set_armor(0)
+        self.export_keys()
+
+    def on_export_keys_text_activate(self, obj):
+        self.context.set_armor(1)
+        self.export_keys()
+
+    def on_import_keys_activate(self, obj):
+        import_file = None
+        dialog = gtk.FileChooserDialog("Import Keys from a File",
+                                       self.mainwin,
+                                       gtk.FILE_CHOOSER_ACTION_OPEN,
+                                       (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
+                                        gtk.STOCK_OK, gtk.RESPONSE_OK))
+        while dialog.run() == gtk.RESPONSE_OK:
+            filename = dialog.get_filename()
+            if os.path.exists(filename):
+                if os.path.isdir(filename):
+                    self.error_message("%s is a directory!" % filename,
+                                       dialog)
+                else:
+                    # FIXME. Verify that file can be open.
+                    import_file = filename
+                    break
+            else:
+                self.error_message("%s does not exist." % filename,
+                                   dialog)
+        dialog.destroy()
+        if import_file == None:
+            return
+
+        impkeys = Data(file=import_file)
+        status = self.context.op_import(impkeys)
+        if status:
+            self.error_message("Import return an error message %d" % status)
+        result = self.context.op_import_result()
+        if result.considered == 0:
+            self.error_message("There's no keys in the file.")
+        # FIXME. Instead of rereading everything we could find out what's new
+        # from the result based on the ORed value of impkey:
+        # constants.import.NEW    - The key was new.
+        # constants.import.UID    - The key contained new user IDs.
+        # constants.import.SIG    - The key contained new signatures.
+        # constants.import.SUBKEY - The key contained new sub keys.
+        # constants.import.SECRET - The key contained a secret key.
+        # It would be nice to highlight new things as well.
+        self.load_keys()
+        #if result:
+        #    impkey = result.imports
+        #    while impkey:
+        #        if impkey.status & constants.import.NEW:
+        #            self.add_key(self.context.get_key(impkey.fpr, 0))
+        #        impkey = impkey.next
+
+    def on_delete_activate(self, obj):
+        "self.on_delete_activate(obj) - callback for key deletion request"
+        selection = self.treeview.get_selection()
+        if selection.count_selected_rows() > 0:
+            key_list = []
+            selection.selected_foreach(self.collect_keys, key_list)
+            
+            message = "Delete selected keys?\n"
+            for key, row in key_list:
+                message += "\n%s\t" % key.subkeys[0].keyid
+                if key.uids: message += key.uids[0].uid
+                else:        message += "<undefined>"                
+            if self.yesno_message(message):
+                for key, row in key_list:
+                    self.context.op_delete(key, 1)
+                    row.model.remove(row.iter)
+
+    def get_widget_values(self, widgets):
+        "Create an array of values from widgets' getter methods"
+        return [getattr(self.wtree.get_widget(w),"get_"+f)() for w,f in widgets]
+
+    def set_widget_values(self, widgets, values):
+        "Set values using widgets' setter methods"
+        for (w,f), v in zip(widgets, values):
+            # ComboBox.set_active_iter(None) does not reset active. Fixing.
+            if f == "active_iter" and v == None:
+                f, v = "active", -1
+            getattr(self.wtree.get_widget(w), "set_"+f)(v)
+
+    def key_type_changed(self, which):
+        """self.key_type_changed([\"key\"|\"subkey\"]) - helper function to
+        adjust allowed key length based on the Algorithm selected"""
+        (key_type,) = self.get_widget_values([(which+"_type", "active_iter")])
+        if key_type:
+            key_type = self.wtree.get_widget(which+"_type").get_model(
+                ).get_value(key_type,0)
+            length_widget = self.wtree.get_widget(which+"_length")
+            if key_type == "DSA":
+                length_widget.set_range(1024, 1024)
+                length_widget.set_value(1024)
+            elif key_type == "RSA" or key_type == "ELG-E":
+                length_widget.set_range(1024, 4096)
+
+    def on_key_type_changed(self, obj):
+        self.key_type_changed("key")
+
+    def on_subkey_type_changed(self, obj):
+        self.key_type_changed("subkey")
+
+    def on_expire_calendar_day_selected(self, obj):
+        "Callback for selecting a day on the calendar"
+        (year, month, day)=self.wtree.get_widget("expire_calendar").get_date()
+        expander = self.wtree.get_widget("expire_date")
+        # Past dates means no expiration date
+        if time.localtime() < (year, month+1, day):
+            expander.set_label("%04d-%02d-%02d" % (year, month+1, day))
+        else:
+            expander.set_label("Unlimited")
+        expander.set_expanded(False)
+
+    def on_generate_activate(self, obj):
+        "Callback to generate new key"
+        
+        # Set of (widget, common suffix of getter/setter function) tuples
+        # from the GenerateDialog prompt for new key properties.
+        widgets = [
+            ("key_type", "active_iter"),
+            ("key_length", "value"),
+            ("key_encrypt", "active"),
+            ("key_sign", "active"),
+            ("subkey_type", "active_iter"),
+            ("subkey_length", "value"),
+            ("subkey_encrypt", "active"),
+            ("subkey_sign", "active"),
+            ("name_real", "text"),
+            ("name_comment", "text"),
+            ("name_email", "text"),
+            ("expire_date", "label"),
+            ("passphrase", "text"),
+            ("passphrase_repeat", "text")
+            ]
+
+        saved_values = self.get_widget_values(widgets)
+        result = None
+        dialog = self.wtree.get_widget("GenerateDialog")
+        if dialog.run() == gtk.RESPONSE_OK:
+            (key_type, key_length, key_encrypt, key_sign,
+             subkey_type, subkey_length, subkey_encrypt, subkey_sign,
+             name_real, name_comment, name_email, expire_date,
+             passphrase, passphrase2) = self.get_widget_values(widgets)
+            if key_type and passphrase == passphrase2:
+                key_type = self.wtree.get_widget("key_type").get_model(
+                    ).get_value(key_type,0)
+                result = "<GnupgKeyParms format=\"internal\">\n"
+                result += "Key-Type: %s\n" % key_type
+                result += "Key-Length: %d\n" % int(key_length)
+                if key_encrypt or key_sign:
+                    result += "Key-Usage:" + \
+                              ((key_encrypt and " encrypt") or "") + \
+                              ((key_sign and " sign") or "") + "\n"
+                if subkey_type:
+                    subkey_type=self.wtree.get_widget("subkey_type").get_model(
+                        ).get_value(subkey_type,0)
+                    result += "Subkey-Type: %s\n" % subkey_type
+                    result += "Subkey-Length: %d\n" % int(subkey_length)
+                    if subkey_encrypt or subkey_sign:
+                        result += "Subkey-Usage:" + \
+                                  ((subkey_encrypt and " encrypt") or "") + \
+                                  ((subkey_sign and " sign") or "") + "\n"
+                if name_real:
+                    result += "Name-Real: %s\n" % name_real
+                if name_comment:
+                    result += "Name-Comment: %s\n" % name_comment
+                if name_email:
+                    result += "Name-Email: %s\n" % name_email
+                if passphrase:
+                    result += "Passphrase: %s\n" % passphrase
+                if expire_date != "Unlimited":
+                    result += "Expire-Date: %s\n" % expire_date
+                else:
+                    result += "Expire-Date: 0\n"
+                result += "</GnupgKeyParms>\n"
+            else:
+                if not key_type:
+                    message = "Type of the primary key is not specified."
+                elif passphrase != passphrase2:
+                    message = "Passphrases do not match."
+                else:
+                    message = "Unknown error."
+                self.error_message(message, dialog)
+        else:
+            self.set_widget_values(widgets, saved_values)
+
+        dialog.hide()
+        if result:
+            # Setup and show progress Dialog
+            self.progress = ""
+            self.progress_entry = self.wtree.get_widget(
+                "progress_entry").get_buffer()
+            self.progress_entry.set_text("")
+            gobject.timeout_add(500, self.update_progress)
+            self.wtree.get_widget("GenerateProgress").show_all()
+            # Start asynchronous key generation
+            self.context.op_genkey_start(result, None, None)
+
+    def gen_progress(self, what=None, type=None, current=None,
+                     total=None, hook=None):
+        "Gpg's progress_cb"
+        if self.progress != None:
+            self.progress += "%c" % type
+        else:
+            sys.stderr.write("%c" % type)
+
+    def update_progress(self):
+        "Timeout callback to yeild to gpg and update progress Dialog view"
+        status = self.context.wait(False)
+        if status == None:
+            self.progress_entry.set_text(self.progress)
+            return True
+        elif status == 0:
+            fpr = self.context.op_genkey_result().fpr
+            self.add_key(self.context.get_key(fpr, 0), True)
+        self.wtree.get_widget("GenerateProgress").hide()
+        self.progress = None
+
+        if status:
+            self.error_message("Got an error during key generation:\n%s" %
+                               errors.GPGMEError(status).getstring())
+
+        # Let callback to be removed.
+        return False
+
+    def on_generating_close_clicked(self, obj):
+        # Request cancelation of the outstanding asynchronous call
+        self.context.cancel()
+
+    def get_password(self, hint, desc, hook):
+        "Gpg's password_cb"
+        dialog = self.wtree.get_widget("PasswordDialog")
+        label = self.wtree.get_widget("pwd_prompt")
+        entry = self.wtree.get_widget("password")
+        label.set_text("Please supply %s's password%s:" %
+                       (hint, (hook and (' '+hook)) or ''))
+        if dialog.run() == gtk.RESPONSE_OK:
+            result = entry.get_text()
+        else:
+            result = ""
+        entry.set_text("")
+        dialog.hide()
+        return result
+
+    def on_reload_activate(self, obj):
+        self.load_keys()
+
+    def on_about_activate(self, obj):
+        about = self.wtree.get_widget("AboutDialog")
+        about.run()
+        about.hide()
+
+    def __init__(self, path):
+        "new(path) path - location of the glade file"
+        gladefile = os.path.join(path, "PyGtkGpgKeys.glade")
+        self.wtree = gtk.glade.XML(gladefile)
+        self.wtree.signal_autoconnect(self)
+
+        self.mainwin = self.wtree.get_widget("GPGAdminWindow")
+        self.treeview = self.wtree.get_widget("GPGKeysView")
+
+        self.model = gtk.TreeStore(*[x.type for x in visible_columns +
+                                     helper_columns])        
+
+        self.context = Context()
+        self.context.set_passphrase_cb(self.get_password, "")
+        self.progress = None
+        self.context.set_progress_cb(self.gen_progress, None)
+        # Use mode.SIGS to include signatures in the list.
+        self.context.set_keylist_mode(mode.SIGS)
+        self.load_keys(True)
+
+        self.treeview.set_model(self.model)
+        self.treeview.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
+        self.add_columns()
+
+        gtk.main()
+
+    def on_Exit(self, obj):
+        gtk.main_quit()
+
+try:
+    # Glade file is expected to be in the same location as this script
+    PyGtkGpgKeys(os.path.dirname(sys.argv[0]))
+except IOError as message:
+    print("%s:%s" %(sys.argv[0], message))
diff --git a/lang/py3-pyme/examples/delkey.py b/lang/py3-pyme/examples/delkey.py
new file mode 100755
index 0000000..e79e120
--- /dev/null
+++ b/lang/py3-pyme/examples/delkey.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+# Sample of key deletion
+# It deletes keys for joe at foo.bar generated by genkey.pl script
+
+from pyme import core
+
+core.check_version(None)
+
+# Note that we need to collect all keys out of the iterator return by c.op_keylist_all()
+# method before starting to delete them. If you delete a key in the middle of iteration
+# c.op_keylist_next() will raise INV_VALUE exception
+
+c = core.Context()
+# 0 in keylist means to list not only public but secret keys as well.
+for thekey in [x for x in c.op_keylist_all("joe at foo.bar", 0)]:
+    # 1 in delete means to delete not only public but secret keys as well.
+    c.op_delete(thekey, 1)
diff --git a/lang/py3-pyme/examples/encrypt-to-all.py b/lang/py3-pyme/examples/encrypt-to-all.py
new file mode 100755
index 0000000..087e6f7
--- /dev/null
+++ b/lang/py3-pyme/examples/encrypt-to-all.py
@@ -0,0 +1,65 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2008 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+"""
+This program will try to encrypt a simple message to each key on your keyring.
+If your keyring has any invalid keys on it, those keys will be removed
+and it will re-try the encryption."""
+
+from pyme import core
+from pyme.core import Data, Context
+from pyme.constants import validity
+
+core.check_version(None)
+
+plain = Data('This is my message.')
+
+c = Context()
+c.set_armor(1)
+
+def sendto(keylist):
+    cipher = Data()
+    c.op_encrypt(keylist, 1, plain, cipher)
+    cipher.seek(0,0)
+    return cipher.read()
+
+names = []
+for key in c.op_keylist_all(None, 0):
+    print(" *** Found key for %s" % key.uids[0].uid)
+    valid = 0
+    for subkey in key.subkeys:
+        keyid = subkey.keyid
+        if keyid == None:
+            break
+        can_encrypt = subkey.can_encrypt
+        valid += can_encrypt
+        print("     Subkey %s: encryption %s" % \
+              (keyid, can_encrypt and "enabled" or "disabled"))
+    
+    if valid:
+        names.append(key)
+    else:
+        print("     This key cannot be used for encryption; skipping.")
+
+passno = 0
+
+print("Encrypting to %d recipients" % len(names))
+print(sendto(names))
+
+
diff --git a/lang/py3-pyme/examples/exportimport.py b/lang/py3-pyme/examples/exportimport.py
new file mode 100755
index 0000000..5390463
--- /dev/null
+++ b/lang/py3-pyme/examples/exportimport.py
@@ -0,0 +1,75 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+# Sample of export and import of keys
+# It uses keys for joe at foo.bar generated by genkey.pl script
+
+import sys
+from pyme import core
+
+core.check_version(None)
+
+expkey = core.Data()
+c = core.Context()
+c.set_armor(1)
+user = "joe at foo.bar"
+
+print(" - Export %s's public keys - " % user)
+c.op_export(user, 0, expkey)
+
+# print out exported data to see how it looks in armor.
+expkey.seek(0,0)
+expstring = expkey.read()
+if expstring:
+    print(expstring)
+else:
+    print("No %s's keys to export!" % user)
+    sys.exit(0)
+
+
+# delete keys to ensure that they came from our imported data.
+# Note that since joe's key has private part as well we can only delete
+# both of them. As a side effect joe won't have private key for this
+# exported public one. If it's Ok with you uncomment the next 4 lines.
+#print " - Delete %s's public keys - " % user
+#for thekey in [x for x in c.op_keylist_all(user, 0)]:
+#    if not thekey.secret:
+#        c.op_delete(thekey, 1)
+
+
+# initialize import data from a string as if it was read from a file.
+newkey = core.Data(expstring)
+
+print(" - Import exported keys - ")
+c.op_import(newkey)
+result = c.op_import_result()
+
+# show the import result
+if result:
+    print(" - Result of the import - ")
+    for k in dir(result):
+        if not k in result.__dict__ and not k.startswith("_"):
+            if k == "imports":
+                print(k, ":")
+                for impkey in result.__getattr__(k):
+                    print("    fpr=%s result=%d status=%x" % \
+                          (impkey.fpr, impkey.result, impkey.status))
+            else:
+                print(k, ":", result.__getattr__(k))
+else:
+    print(" - No import result - ")
diff --git a/lang/py3-pyme/examples/genkey.py b/lang/py3-pyme/examples/genkey.py
new file mode 100755
index 0000000..a987558
--- /dev/null
+++ b/lang/py3-pyme/examples/genkey.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+from pyme import core, callbacks
+
+# Initialize our context.
+core.check_version(None)
+
+c = core.Context()
+c.set_armor(1)
+c.set_progress_cb(callbacks.progress_stdout, None)
+
+# This example from the GPGME manual
+
+parms = """<GnupgKeyParms format="internal">
+Key-Type: DSA
+Key-Length: 1024
+Subkey-Type: ELG-E
+Subkey-Length: 1024
+Name-Real: Joe Tester
+Name-Comment: with stupid passphrase
+Name-Email: joe at foo.bar
+Passphrase: abcdabcdfs
+Expire-Date: 2010-08-15
+</GnupgKeyParms>
+"""
+
+c.op_genkey(parms, None, None)
+print(c.op_genkey_result().fpr)
diff --git a/lang/py3-pyme/examples/inter-edit.py b/lang/py3-pyme/examples/inter-edit.py
new file mode 100644
index 0000000..088b292
--- /dev/null
+++ b/lang/py3-pyme/examples/inter-edit.py
@@ -0,0 +1,57 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2005 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+import os, sys
+from pyme import core
+from pyme.core import Data, Context
+from pyme.constants import status
+
+core.check_version(None)
+
+# Get names for the status codes
+stat2str = {}
+for name in dir(status):
+    if not name.startswith('__') and name != "util":
+        stat2str[getattr(status, name)] = name
+
+# Print the output received since the last prompt before giving the new prompt
+def edit_fnc(stat, args, helper):
+    global stat_strings
+    try:
+        while True:
+            helper["data"].seek(helper["skip"],0)
+            data = helper["data"].read()
+            helper["skip"] += len(data)
+            print(data)
+            return input("(%s) %s > " % (stat2str[stat], args))
+    except EOFError:
+        pass
+
+# Simple interactive editor to test editor scripts
+if len(sys.argv) != 2:
+    sys.stderr.write("Usage: %s <Gpg key patter>\n" % sys.argv[0])
+else:
+    c = Context()
+    out = Data()
+    c.op_keylist_start(sys.argv[1], 0)
+    key = c.op_keylist_next()
+    helper = {"skip": 0, "data": out}
+    c.op_edit(key, edit_fnc, helper, out)
+    print("[-- Final output --]")
+    out.seek(helper["skip"],0)
+    print(out.read())
diff --git a/lang/py3-pyme/examples/pygpa.glade b/lang/py3-pyme/examples/pygpa.glade
new file mode 100644
index 0000000..fec8898
--- /dev/null
+++ b/lang/py3-pyme/examples/pygpa.glade
@@ -0,0 +1,5546 @@
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
+
+<glade-interface>
+
+<widget class="GtkWindow" id="main_window">
+  <property name="visible">True</property>
+  <property name="title" translatable="yes">PyGpa Keyring Editor</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="default_width">450</property>
+  <property name="default_height">500</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <signal name="delete_event" handler="on_keyring_editor_close_activate" last_modification_time="Fri, 08 Apr 2005 00:34:33 GMT"/>
+
+  <child>
+    <widget class="GtkVBox" id="vbox1">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child>
+	<widget class="GtkHandleBox" id="handlebox1">
+	  <property name="visible">True</property>
+	  <property name="shadow_type">GTK_SHADOW_OUT</property>
+	  <property name="handle_position">GTK_POS_LEFT</property>
+	  <property name="snap_edge">GTK_POS_TOP</property>
+
+	  <child>
+	    <widget class="GtkMenuBar" id="menubar1">
+	      <property name="visible">True</property>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem1">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_File</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem1_menu">
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="close">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-close</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_keyring_editor_close_activate" last_modification_time="Thu, 07 Apr 2005 23:56:48 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="quit">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-quit</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_quit_activate" last_modification_time="Mon, 28 Mar 2005 21:27:43 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem2">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Edit</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem2_menu">
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="copy">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-copy</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_copy_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="paste">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-paste</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_paste_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator1">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="select_all">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Select _All</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_select_all_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			  <accelerator key="A" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator2">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="preferences">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Preferences...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_preferences_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+
+			  <child internal-child="image">
+			    <widget class="GtkImage" id="image33">
+			      <property name="visible">True</property>
+			      <property name="stock">gtk-preferences</property>
+			      <property name="icon_size">1</property>
+			      <property name="xalign">0.5</property>
+			      <property name="yalign">0.5</property>
+			      <property name="xpad">0</property>
+			      <property name="ypad">0</property>
+			    </widget>
+			  </child>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem3">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Keys</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem3_menu">
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="new">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">New Key...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_new_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			  <accelerator key="N" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+
+			  <child internal-child="image">
+			    <widget class="GtkImage" id="image34">
+			      <property name="visible">True</property>
+			      <property name="stock">gtk-new</property>
+			      <property name="icon_size">1</property>
+			      <property name="xalign">0.5</property>
+			      <property name="yalign">0.5</property>
+			      <property name="xpad">0</property>
+			      <property name="ypad">0</property>
+			    </widget>
+			  </child>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="delete">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Delete Keys...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_delete_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+
+			  <child internal-child="image">
+			    <widget class="GtkImage" id="image35">
+			      <property name="visible">True</property>
+			      <property name="stock">gtk-delete</property>
+			      <property name="icon_size">1</property>
+			      <property name="xalign">0.5</property>
+			      <property name="yalign">0.5</property>
+			      <property name="xpad">0</property>
+			      <property name="ypad">0</property>
+			    </widget>
+			  </child>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator3">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="sign_keys">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Sign keys...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_sign_keys_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="set_owner_trust">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Set _Owner Trust...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_set_owner_trust_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="edit_private_key">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Edit Private Key...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_edit_private_key_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator4">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="import_keys">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Import Keys...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_import_keys_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="export_keys">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">E_xport Keys...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_export_keys_activate" last_modification_time="Tue, 29 Mar 2005 05:05:49 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="windows1">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Windows</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="windows1_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="filemanager2">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Filemanager</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_filemanager_activate" last_modification_time="Thu, 07 Apr 2005 19:58:44 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="keyring_editor2">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Keyring Editor</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_keyring_editor_activate" last_modification_time="Thu, 07 Apr 2005 19:58:44 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="help">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Help</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="help_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="about">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_About</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_about_activate" last_modification_time="Wed, 30 Mar 2005 18:54:32 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVPaned" id="vpaned1">
+	  <property name="visible">True</property>
+	  <property name="can_focus">True</property>
+	  <property name="position">250</property>
+
+	  <child>
+	    <widget class="GtkScrolledWindow" id="scrolledwindow1">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	      <property name="shadow_type">GTK_SHADOW_IN</property>
+	      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+	      <child>
+		<widget class="GtkTreeView" id="keys_treeview">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="headers_visible">True</property>
+		  <property name="rules_hint">True</property>
+		  <property name="reorderable">False</property>
+		  <property name="enable_search">True</property>
+		  <signal name="cursor_changed" handler="on_keys_changed" last_modification_time="Sat, 02 Apr 2005 04:51:49 GMT"/>
+		  <signal name="button_press_event" handler="on_keys_button_press" last_modification_time="Thu, 14 Apr 2005 05:36:11 GMT"/>
+		</widget>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="shrink">True</property>
+	      <property name="resize">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkNotebook" id="notebook1">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="show_tabs">True</property>
+	      <property name="show_border">True</property>
+	      <property name="tab_pos">GTK_POS_TOP</property>
+	      <property name="scrollable">False</property>
+	      <property name="enable_popup">False</property>
+
+	      <child>
+		<widget class="GtkScrolledWindow" id="scrolledwindow5">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		  <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		  <property name="shadow_type">GTK_SHADOW_IN</property>
+		  <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		  <child>
+		    <widget class="GtkViewport" id="details_view">
+		      <property name="visible">True</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+
+		      <child>
+			<placeholder/>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="tab_expand">False</property>
+		  <property name="tab_fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label1">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Details</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">tab</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkVBox" id="vbox2">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkHBox" id="uid_list_box">
+		      <property name="visible">True</property>
+		      <property name="homogeneous">False</property>
+		      <property name="spacing">0</property>
+
+		      <child>
+			<widget class="GtkLabel" id="label4">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Show signatures on user name:</property>
+			  <property name="use_underline">False</property>
+			  <property name="use_markup">False</property>
+			  <property name="justify">GTK_JUSTIFY_LEFT</property>
+			  <property name="wrap">False</property>
+			  <property name="selectable">False</property>
+			  <property name="xalign">0.5</property>
+			  <property name="yalign">0.5</property>
+			  <property name="xpad">0</property>
+			  <property name="ypad">0</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkComboBox" id="uid_list">
+			  <property name="visible">True</property>
+			  <signal name="changed" handler="on_uid_list_changed" last_modification_time="Thu, 07 Apr 2005 03:08:52 GMT"/>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">True</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">True</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkScrolledWindow" id="scrolledwindow4">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+		      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		      <child>
+			<widget class="GtkTreeView" id="sign_treeview">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="headers_visible">True</property>
+			  <property name="rules_hint">True</property>
+			  <property name="reorderable">False</property>
+			  <property name="enable_search">True</property>
+			</widget>
+		      </child>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">True</property>
+		      <property name="fill">True</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="tab_expand">False</property>
+		  <property name="tab_fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label2">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Signatures</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">tab</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkScrolledWindow" id="subkeys_notebook_tab">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		  <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		  <property name="shadow_type">GTK_SHADOW_IN</property>
+		  <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		  <child>
+		    <widget class="GtkTreeView" id="subkeys_treeview">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="headers_visible">True</property>
+		      <property name="rules_hint">True</property>
+		      <property name="reorderable">False</property>
+		      <property name="enable_search">True</property>
+		    </widget>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="tab_expand">False</property>
+		  <property name="tab_fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label3">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Subkeys</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">tab</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="shrink">True</property>
+	      <property name="resize">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox3">
+	  <property name="border_width">2</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">10</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label35">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Selected Default Key:</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="status_uid">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="status_keyid">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">False</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox1">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area1">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox3">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkTable" id="table1">
+	      <property name="visible">True</property>
+	      <property name="n_rows">7</property>
+	      <property name="n_columns">2</property>
+	      <property name="homogeneous">False</property>
+	      <property name="row_spacing">0</property>
+	      <property name="column_spacing">4</property>
+
+	      <child>
+		<widget class="GtkEntry" id="new_userid_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">True</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">2</property>
+		  <property name="bottom_attach">3</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkEntry" id="new_email_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">True</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">3</property>
+		  <property name="bottom_attach">4</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkEntry" id="new_comment_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">True</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">4</property>
+		  <property name="bottom_attach">5</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkEntry" id="new_passphrase_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">False</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">5</property>
+		  <property name="bottom_attach">6</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkEntry" id="new_repeat_passphrase_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">False</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">6</property>
+		  <property name="bottom_attach">7</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label5">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Algorithm: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">0</property>
+		  <property name="bottom_attach">1</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label13">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Key size (bits): </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">1</property>
+		  <property name="bottom_attach">2</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label14">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_User ID: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		  <property name="mnemonic_widget">new_userid_entry</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">2</property>
+		  <property name="bottom_attach">3</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label15">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Email: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		  <property name="mnemonic_widget">new_email_entry</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">3</property>
+		  <property name="bottom_attach">4</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label16">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Comment: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		  <property name="mnemonic_widget">new_comment_entry</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">4</property>
+		  <property name="bottom_attach">5</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label17">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Passphrase: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		  <property name="mnemonic_widget">new_passphrase_entry</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">5</property>
+		  <property name="bottom_attach">6</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label18">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Repeat passphrase: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">1</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		  <property name="mnemonic_widget">new_repeat_passphrase_entry</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">0</property>
+		  <property name="right_attach">1</property>
+		  <property name="top_attach">6</property>
+		  <property name="bottom_attach">7</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkComboBoxEntry" id="new_algorithm_combo">
+		  <property name="visible">True</property>
+		  <property name="items" translatable="yes">DSA and ElGamal (default)
+DSA (sign only)
+RSA (sign only)</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">0</property>
+		  <property name="bottom_attach">1</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkComboBoxEntry" id="new_key_size_combo">
+		  <property name="visible">True</property>
+		  <property name="items" translatable="yes">768
+1024
+2048</property>
+		</widget>
+		<packing>
+		  <property name="left_attach">1</property>
+		  <property name="right_attach">2</property>
+		  <property name="top_attach">1</property>
+		  <property name="bottom_attach">2</property>
+		  <property name="x_options">fill</property>
+		  <property name="y_options">fill</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame1">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment1">
+		  <property name="border_width">5</property>
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkVBox" id="vbox4">
+		      <property name="visible">True</property>
+		      <property name="homogeneous">False</property>
+		      <property name="spacing">5</property>
+
+		      <child>
+			<widget class="GtkRadioButton" id="new_expire_valid_rb">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">_indefinitely valid</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkHBox" id="hbox2">
+			  <property name="visible">True</property>
+			  <property name="homogeneous">False</property>
+			  <property name="spacing">0</property>
+
+			  <child>
+			    <widget class="GtkRadioButton" id="new_expire_after_rb">
+			      <property name="visible">True</property>
+			      <property name="can_focus">True</property>
+			      <property name="label" translatable="yes">expire _after</property>
+			      <property name="use_underline">True</property>
+			      <property name="relief">GTK_RELIEF_NORMAL</property>
+			      <property name="focus_on_click">True</property>
+			      <property name="active">False</property>
+			      <property name="inconsistent">False</property>
+			      <property name="draw_indicator">True</property>
+			      <property name="group">new_expire_valid_rb</property>
+			      <signal name="toggled" handler="on_new_expire_after_rb_toggled" last_modification_time="Wed, 06 Apr 2005 04:32:22 GMT"/>
+			    </widget>
+			    <packing>
+			      <property name="padding">0</property>
+			      <property name="expand">False</property>
+			      <property name="fill">False</property>
+			    </packing>
+			  </child>
+
+			  <child>
+			    <widget class="GtkEntry" id="new_expire_count_entry">
+			      <property name="visible">True</property>
+			      <property name="can_focus">True</property>
+			      <property name="editable">True</property>
+			      <property name="visibility">True</property>
+			      <property name="max_length">0</property>
+			      <property name="text" translatable="yes"></property>
+			      <property name="has_frame">True</property>
+			      <property name="invisible_char">*</property>
+			      <property name="activates_default">True</property>
+			      <property name="width_chars">4</property>
+			    </widget>
+			    <packing>
+			      <property name="padding">0</property>
+			      <property name="expand">False</property>
+			      <property name="fill">False</property>
+			    </packing>
+			  </child>
+
+			  <child>
+			    <widget class="GtkComboBoxEntry" id="new_expire_unit_combo">
+			      <property name="visible">True</property>
+			      <property name="items" translatable="yes"></property>
+			    </widget>
+			    <packing>
+			      <property name="padding">0</property>
+			      <property name="expand">False</property>
+			      <property name="fill">False</property>
+			    </packing>
+			  </child>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">True</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkRadioButton" id="new_expire_on_rb">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">expire o_n:</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			  <property name="group">new_expire_valid_rb</property>
+			  <signal name="toggled" handler="on_new_expire_on_rb_toggled" last_modification_time="Wed, 06 Apr 2005 04:29:44 GMT"/>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkCalendar" id="new_expire_calendar">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="display_options">GTK_CALENDAR_SHOW_HEADING|GTK_CALENDAR_SHOW_DAY_NAMES</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">True</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label12">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Expiration</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">False</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="about_dialog">
+  <property name="title" translatable="yes">What it's all about</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox2">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area2">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox5">
+	  <property name="border_width">10</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label19">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">
+<big><b>PyGpa</b></big>
+(symbiosis of PyMe, PyGtk &amp; Glade)</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">True</property>
+	      <property name="justify">GTK_JUSTIFY_CENTER</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label20">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">
+It looks like GPA.
+It works like GPA.
+But it is not GPA.
+</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">True</property>
+	      <property name="justify">GTK_JUSTIFY_CENTER</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label22">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"><i>GNU Public License</i>
+</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">True</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label21">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"><small>(C) 2005 Igor Belyi</small></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">True</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="ownertrust_dialog">
+  <property name="border_width">5</property>
+  <property name="title" translatable="yes">Change key ownertrust</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox3">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area3">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton3">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox3">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkHBox" id="ownertrust_key">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<placeholder/>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame2">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkVBox" id="vbox7">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="ownertrust_Unknown">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">_Unknown</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label30">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">You don't know how much to trust this user to verify other people's keys.
+</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">True</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">20</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="ownertrust_Never">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">_Never</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		      <property name="group">ownertrust_Unknown</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label31">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">You don't trust this user at all to verify the validity of other people's keys at all.
+</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">True</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">20</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="ownertrust_Marginal">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">_Marginal</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">True</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		      <property name="group">ownertrust_Unknown</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label32">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">You don't trust this user's ability to verify the validity of other people's keys enough to consider keys valid based on his/her sole word.
+However, provided this user's key is valid, you will consider a key signed by this user valid if it is also signed by at least other two marginally trusted users with valid keys
+</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">True</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">20</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="ownertrust_Full">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">_Full</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		      <property name="group">ownertrust_Unknown</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label33">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">You trust this user's ability to verify the validity of other people's keys so much, that you'll consider valid any key signed by him/her, provided this user's key is valid.
+</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">True</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">20</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="ownertrust_Ultimate">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">U_ltimate</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		      <property name="group">ownertrust_Unknown</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label34">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">You consider this key valid, and trust the user so much that you will consider any key signed by him/her fully valid.
+
+(Warning: This is intended to be used for keys you own. Don't use it with other people's keys unless you really know what you are doing)
+</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">True</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">20</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label23">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Owner Trust</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">True</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="preferences_dialog">
+  <property name="title" translatable="yes">Settings</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="default_width">350</property>
+  <property name="default_height">350</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox4">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area4">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="closebutton1">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-close</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-7</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox8">
+	  <property name="border_width">4</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame3">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment2">
+		  <property name="border_width">4</property>
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkScrolledWindow" id="scrolledwindow6">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+		      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		      <child>
+			<widget class="GtkTreeView" id="def_keys_treeview">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="headers_visible">True</property>
+			  <property name="rules_hint">True</property>
+			  <property name="reorderable">False</property>
+			  <property name="enable_search">True</property>
+			  <signal name="cursor_changed" handler="on_default_keys_changed" last_modification_time="Fri, 01 Apr 2005 03:43:17 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label38">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Default _key:</property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame4">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment3">
+		  <property name="border_width">4</property>
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkComboBoxEntry" id="default_keyserver_combox">
+		      <property name="visible">True</property>
+		      <property name="items" translatable="yes">ldap://pgp.surnet.nl:11370
+ldap://keyserver.pgp.com
+hkp://keyserver.kjsl.com</property>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label39">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Default key_server: </property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame5">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment4">
+		  <property name="border_width">4</property>
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkHBox" id="hbox4">
+		      <property name="visible">True</property>
+		      <property name="homogeneous">True</property>
+		      <property name="spacing">0</property>
+
+		      <child>
+			<widget class="GtkRadioButton" id="advanced_mode_rb">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">_Yes</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			  <signal name="toggled" handler="on_advanced_mode_toggled" last_modification_time="Fri, 01 Apr 2005 03:44:56 GMT"/>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkRadioButton" id="no_advanced_mode_rb">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">_No</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			  <property name="group">advanced_mode_rb</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label40">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Use _advanced mode:</property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="progress_dialog">
+  <property name="title" translatable="yes">PyGpa</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox7">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area7">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="progress_cancel">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	      <signal name="clicked" handler="on_progress_cancel_clicked" last_modification_time="Fri, 15 Apr 2005 21:12:20 GMT"/>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox11">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="progress_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkProgressBar" id="new_progressbar">
+	      <property name="visible">True</property>
+	      <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
+	      <property name="fraction">0</property>
+	      <property name="pulse_step">0.10000000149</property>
+	      <property name="text" translatable="yes"></property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_userid_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox8">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area8">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-forward</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">2</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button3">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox5">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image10">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox12">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label64">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Please insert your full name.
+
+Your name will be part of the new key to make it easier for others to identify keys.</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">True</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkHBox" id="hbox6">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkLabel" id="label50">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">Your Name:</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0.5</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkEntry" id="generate_novice_userid_entry">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="editable">True</property>
+		      <property name="visibility">True</property>
+		      <property name="max_length">0</property>
+		      <property name="text" translatable="yes"></property>
+		      <property name="has_frame">True</property>
+		      <property name="invisible_char">*</property>
+		      <property name="activates_default">False</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">True</property>
+		      <property name="fill">True</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_email_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox9">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area9">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button4">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-back</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">1</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button5">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-forward</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">2</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button6">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox7">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image11">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox13">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label51">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Please insert your email address.
+
+ Your email address will be part of the new key to make it easier for others to identify keys. If you have several email addresses, you can add further email adresses later.</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">True</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkHBox" id="hbox8">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkLabel" id="label53">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">Your Email Address:</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0.5</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkEntry" id="generate_novice_email_entry">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="editable">True</property>
+		      <property name="visibility">True</property>
+		      <property name="max_length">0</property>
+		      <property name="text" translatable="yes"></property>
+		      <property name="has_frame">True</property>
+		      <property name="invisible_char">*</property>
+		      <property name="activates_default">False</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_comment_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox10">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area10">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button7">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-back</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">1</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button8">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-forward</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">2</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button9">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox9">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image12">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox14">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label54">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">If you want you can supply a comment that further identifies the key to other users. The comment is especially useful if you generate several keys for the same email address. The comment is completely optional. Leave it empty if you don't have a use for it.</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">True</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkHBox" id="hbox10">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <widget class="GtkLabel" id="label55">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">Comment:</property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">0.5</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkEntry" id="generate_novice_comment_entry">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="editable">True</property>
+		      <property name="visibility">True</property>
+		      <property name="max_length">0</property>
+		      <property name="text" translatable="yes"></property>
+		      <property name="has_frame">True</property>
+		      <property name="invisible_char">*</property>
+		      <property name="activates_default">False</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">True</property>
+		      <property name="fill">True</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_passphrase_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox11">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area11">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button10">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-back</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">1</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button11">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-forward</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">2</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button12">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox11">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image13">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox15">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label56">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Please choose a passphrase for the new key.</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkTable" id="table2">
+		  <property name="visible">True</property>
+		  <property name="n_rows">2</property>
+		  <property name="n_columns">2</property>
+		  <property name="homogeneous">False</property>
+		  <property name="row_spacing">0</property>
+		  <property name="column_spacing">0</property>
+
+		  <child>
+		    <widget class="GtkLabel" id="label57">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">Passphrase: </property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">1</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="left_attach">0</property>
+		      <property name="right_attach">1</property>
+		      <property name="top_attach">0</property>
+		      <property name="bottom_attach">1</property>
+		      <property name="x_options">fill</property>
+		      <property name="y_options"></property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkLabel" id="label58">
+		      <property name="visible">True</property>
+		      <property name="label" translatable="yes">Repeat Passphrase: </property>
+		      <property name="use_underline">False</property>
+		      <property name="use_markup">False</property>
+		      <property name="justify">GTK_JUSTIFY_LEFT</property>
+		      <property name="wrap">False</property>
+		      <property name="selectable">False</property>
+		      <property name="xalign">1</property>
+		      <property name="yalign">0.5</property>
+		      <property name="xpad">0</property>
+		      <property name="ypad">0</property>
+		    </widget>
+		    <packing>
+		      <property name="left_attach">0</property>
+		      <property name="right_attach">1</property>
+		      <property name="top_attach">1</property>
+		      <property name="bottom_attach">2</property>
+		      <property name="x_options">fill</property>
+		      <property name="y_options"></property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkEntry" id="generate_novice_passphrase_entry">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="editable">True</property>
+		      <property name="visibility">False</property>
+		      <property name="max_length">0</property>
+		      <property name="text" translatable="yes"></property>
+		      <property name="has_frame">True</property>
+		      <property name="invisible_char">*</property>
+		      <property name="activates_default">False</property>
+		    </widget>
+		    <packing>
+		      <property name="left_attach">1</property>
+		      <property name="right_attach">2</property>
+		      <property name="top_attach">0</property>
+		      <property name="bottom_attach">1</property>
+		      <property name="y_options"></property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkEntry" id="generate_novice_repeat_passphrase_entry">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="editable">True</property>
+		      <property name="visibility">False</property>
+		      <property name="max_length">0</property>
+		      <property name="text" translatable="yes"></property>
+		      <property name="has_frame">True</property>
+		      <property name="invisible_char">*</property>
+		      <property name="activates_default">False</property>
+		    </widget>
+		    <packing>
+		      <property name="left_attach">1</property>
+		      <property name="right_attach">2</property>
+		      <property name="top_attach">1</property>
+		      <property name="bottom_attach">2</property>
+		      <property name="y_options"></property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="generate_backup_dialog">
+  <property name="title" translatable="yes">Generate key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox12">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area12">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button13">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-go-back</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">1</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button14">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-apply</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-10</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button15">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox12">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image14">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox16">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="label59">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">It is recommended that you create a backup copy of your new key, once it has been generated.
+
+Do you want to create a backup copy?</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">True</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkVBox" id="vbox17">
+		  <property name="border_width">8</property>
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">8</property>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="generate_novice_backup_rb">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">Create _backup copy</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+
+		  <child>
+		    <widget class="GtkRadioButton" id="generate_nivice_nobackup_rb">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label" translatable="yes">Do it later</property>
+		      <property name="use_underline">True</property>
+		      <property name="relief">GTK_RELIEF_NORMAL</property>
+		      <property name="focus_on_click">True</property>
+		      <property name="active">False</property>
+		      <property name="inconsistent">False</property>
+		      <property name="draw_indicator">True</property>
+		      <property name="group">generate_novice_backup_rb</property>
+		    </widget>
+		    <packing>
+		      <property name="padding">0</property>
+		      <property name="expand">False</property>
+		      <property name="fill">False</property>
+		    </packing>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="error_dialog">
+  <property name="title" translatable="yes">Warning</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox16">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area16">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton6">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox16">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image18">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-error</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="error_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">True</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="yesno_dialog">
+  <property name="title" translatable="yes">Warning</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox17">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area17">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton5">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-no</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-9</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton7">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-yes</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-8</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox17">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image19">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-warning</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="yesno_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">True</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="delete_key_dialog">
+  <property name="title" translatable="yes">Remove Key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox18">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area18">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton6">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-no</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-9</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton8">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-yes</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-8</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox18">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label41">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">You have selected the following key for removal:</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkHBox" id="delete_key_keyinfo">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<placeholder/>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="delete_key_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">True</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label43">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Are you sure you want to delete this key?</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkFileChooserDialog" id="export_file_dialog">
+  <property name="action">GTK_FILE_CHOOSER_ACTION_SAVE</property>
+  <property name="local_only">True</property>
+  <property name="select_multiple">False</property>
+  <property name="show_hidden">False</property>
+  <property name="title" translatable="yes">Export public keys to file</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox19">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">24</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area19">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button16">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button17">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="has_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-open</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkCheckButton" id="export_armor_cb">
+	  <property name="visible">True</property>
+	  <property name="can_focus">True</property>
+	  <property name="label" translatable="yes">_armor</property>
+	  <property name="use_underline">True</property>
+	  <property name="relief">GTK_RELIEF_NORMAL</property>
+	  <property name="focus_on_click">True</property>
+	  <property name="active">True</property>
+	  <property name="inconsistent">False</property>
+	  <property name="draw_indicator">True</property>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">False</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkFileChooserDialog" id="import_file_dialog">
+  <property name="action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
+  <property name="local_only">True</property>
+  <property name="select_multiple">False</property>
+  <property name="show_hidden">False</property>
+  <property name="title" translatable="yes">Import public keys from file</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox20">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">24</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area20">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button18">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button19">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="has_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-open</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="sign_key_dialog">
+  <property name="title" translatable="yes">Sign Key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox21">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area21">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton7">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-no</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-9</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton9">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-yes</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-8</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox19">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label67">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Do you want to sign the following key?</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkHBox" id="sign_key_keyinfo">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<placeholder/>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label68">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Check the name and fingerprint carefully to be sure that it really is the key you want to sign.</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">True</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="sign_manyuids_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">All user names in this key will be signed.</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">True</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label69">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">The key will be signed with your default private key.</property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkCheckButton" id="sign_locally_cb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">Sign only _locally</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">False</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="password_prompt_dialog">
+  <property name="title" translatable="yes">Enter Passphrase</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox22">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area22">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton8">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton10">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox19">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image20">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-question</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkVBox" id="vbox20">
+	      <property name="border_width">8</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">8</property>
+
+	      <child>
+		<widget class="GtkLabel" id="password_prompt_label">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes"></property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkHBox" id="password_prompt_keyinfo">
+		  <property name="visible">True</property>
+		  <property name="homogeneous">False</property>
+		  <property name="spacing">0</property>
+
+		  <child>
+		    <placeholder/>
+		  </child>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
+		</packing>
+	      </child>
+
+	      <child>
+		<widget class="GtkEntry" id="password_prompt_entry">
+		  <property name="visible">True</property>
+		  <property name="can_focus">True</property>
+		  <property name="editable">True</property>
+		  <property name="visibility">False</property>
+		  <property name="max_length">0</property>
+		  <property name="text" translatable="yes"></property>
+		  <property name="has_frame">True</property>
+		  <property name="invisible_char">*</property>
+		  <property name="activates_default">False</property>
+		</widget>
+		<packing>
+		  <property name="padding">0</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="password_change_dialog">
+  <property name="title" translatable="yes">Choose new passphrase</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox23">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area23">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton9">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton11">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkTable" id="table3">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="n_rows">2</property>
+	  <property name="n_columns">2</property>
+	  <property name="homogeneous">False</property>
+	  <property name="row_spacing">0</property>
+	  <property name="column_spacing">0</property>
+
+	  <child>
+	    <widget class="GtkLabel" id="label72">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Passphrase: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">0</property>
+	      <property name="bottom_attach">1</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="label73">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes">Repeat Passphrase: </property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">1</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">0</property>
+	      <property name="right_attach">1</property>
+	      <property name="top_attach">1</property>
+	      <property name="bottom_attach">2</property>
+	      <property name="x_options">fill</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="password_change_passphrase">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">False</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">0</property>
+	      <property name="bottom_attach">1</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkEntry" id="password_change_repeat_passphrase">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="editable">True</property>
+	      <property name="visibility">False</property>
+	      <property name="max_length">0</property>
+	      <property name="text" translatable="yes"></property>
+	      <property name="has_frame">True</property>
+	      <property name="invisible_char">*</property>
+	      <property name="activates_default">False</property>
+	    </widget>
+	    <packing>
+	      <property name="left_attach">1</property>
+	      <property name="right_attach">2</property>
+	      <property name="top_attach">1</property>
+	      <property name="bottom_attach">2</property>
+	      <property name="y_options"></property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="edit_key_dialog">
+  <property name="title" translatable="yes">Edit Key</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox24">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area24">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="closebutton2">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-close</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-7</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox21">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkHBox" id="edit_key_keyinfo">
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
+	      <property name="spacing">0</property>
+
+	      <child>
+		<placeholder/>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="edit_key_change_passphrase">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">Change _passphrase</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame6">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment5">
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">12</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkHBox" id="hbox21">
+		      <property name="border_width">5</property>
+		      <property name="visible">True</property>
+		      <property name="homogeneous">False</property>
+		      <property name="spacing">5</property>
+
+		      <child>
+			<widget class="GtkLabel" id="edit_key_date_label">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes"></property>
+			  <property name="use_underline">False</property>
+			  <property name="use_markup">False</property>
+			  <property name="justify">GTK_JUSTIFY_LEFT</property>
+			  <property name="wrap">False</property>
+			  <property name="selectable">False</property>
+			  <property name="xalign">0.5</property>
+			  <property name="yalign">0.5</property>
+			  <property name="xpad">0</property>
+			  <property name="ypad">0</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">True</property>
+			  <property name="fill">True</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkButton" id="edit_key_change_expiration">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">Change _expiration</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label74">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Expiry Date</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="change_expiry_dialog">
+  <property name="title" translatable="yes">Change expiry date</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox25">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area25">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton10">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton12">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox22">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkRadioButton" id="change_expiry_never_rb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">_never expire</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">True</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkRadioButton" id="change_expiry_expireon_rb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">_expire on:</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">False</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	      <property name="group">change_expiry_never_rb</property>
+	      <signal name="toggled" handler="on_change_expiry_expireon_rb_toggled" last_modification_time="Wed, 06 Apr 2005 04:35:51 GMT"/>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkCalendar" id="change_expiry_calendar">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="display_options">GTK_CALENDAR_SHOW_HEADING|GTK_CALENDAR_SHOW_DAY_NAMES</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="info_dialog">
+  <property name="title" translatable="yes">Information</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox26">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area26">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="closebutton3">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-close</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-7</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="hbox22">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkImage" id="image21">
+	      <property name="visible">True</property>
+	      <property name="stock">gtk-dialog-info</property>
+	      <property name="icon_size">6</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkLabel" id="info_label">
+	      <property name="visible">True</property>
+	      <property name="label" translatable="yes"></property>
+	      <property name="use_underline">False</property>
+	      <property name="use_markup">False</property>
+	      <property name="justify">GTK_JUSTIFY_LEFT</property>
+	      <property name="wrap">False</property>
+	      <property name="selectable">False</property>
+	      <property name="xalign">0.5</property>
+	      <property name="yalign">0.5</property>
+	      <property name="xpad">0</property>
+	      <property name="ypad">0</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkWindow" id="filemanager_window">
+  <property name="title" translatable="yes">PyGPA - File Manager</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="default_width">450</property>
+  <property name="default_height">500</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <signal name="delete_event" handler="on_filemanager_close_activate" last_modification_time="Fri, 08 Apr 2005 00:34:10 GMT"/>
+
+  <child>
+    <widget class="GtkVBox" id="vbox23">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child>
+	<widget class="GtkHandleBox" id="handlebox2">
+	  <property name="visible">True</property>
+	  <property name="shadow_type">GTK_SHADOW_OUT</property>
+	  <property name="handle_position">GTK_POS_LEFT</property>
+	  <property name="snap_edge">GTK_POS_TOP</property>
+
+	  <child>
+	    <widget class="GtkMenuBar" id="menubar2">
+	      <property name="visible">True</property>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem5">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_File</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem5_menu">
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="open">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-open</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_open_activate" last_modification_time="Thu, 07 Apr 2005 23:56:10 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="clear">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-clear</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_clear_activate" last_modification_time="Thu, 07 Apr 2005 23:56:10 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator5">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="sign">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Sign</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_sign_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="verify">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Verify</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_verify_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			  <accelerator key="P" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="encrypt">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Encrypt</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_encrypt_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="decrypt">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Decrypt</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_decrypt_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="close">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-close</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_filemanager_close_activate" last_modification_time="Thu, 07 Apr 2005 23:56:10 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="quit">
+			  <property name="visible">True</property>
+			  <property name="label">gtk-quit</property>
+			  <property name="use_stock">True</property>
+			  <signal name="activate" handler="on_quit_activate" last_modification_time="Thu, 07 Apr 2005 23:56:10 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem6">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Edit</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem6_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="select_all_files">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Select _All</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_select_all_files_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			  <accelerator key="A" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkSeparatorMenuItem" id="separator6">
+			  <property name="visible">True</property>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkImageMenuItem" id="preferences">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">Pr_eferences...</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_file_preferences_activate" last_modification_time="Fri, 08 Apr 2005 01:06:44 GMT"/>
+
+			  <child internal-child="image">
+			    <widget class="GtkImage" id="image32">
+			      <property name="visible">True</property>
+			      <property name="stock">gtk-preferences</property>
+			      <property name="icon_size">1</property>
+			      <property name="xalign">0.5</property>
+			      <property name="yalign">0.5</property>
+			      <property name="xpad">0</property>
+			      <property name="ypad">0</property>
+			    </widget>
+			  </child>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem7">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Windows</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem7_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="filemanager">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Filemanager</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_filemanager_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			</widget>
+		      </child>
+
+		      <child>
+			<widget class="GtkMenuItem" id="keyring_editor">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_Keyring Editor</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_keyring_editor_activate" last_modification_time="Thu, 07 Apr 2005 23:49:14 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkMenuItem" id="menuitem8">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Help</property>
+		  <property name="use_underline">True</property>
+
+		  <child>
+		    <widget class="GtkMenu" id="menuitem8_menu">
+
+		      <child>
+			<widget class="GtkMenuItem" id="about">
+			  <property name="visible">True</property>
+			  <property name="label" translatable="yes">_About</property>
+			  <property name="use_underline">True</property>
+			  <signal name="activate" handler="on_about_activate" last_modification_time="Thu, 07 Apr 2005 19:53:59 GMT"/>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">False</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkScrolledWindow" id="scrolledwindow7">
+	  <property name="visible">True</property>
+	  <property name="can_focus">True</property>
+	  <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	  <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+	  <property name="shadow_type">GTK_SHADOW_IN</property>
+	  <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+	  <child>
+	    <widget class="GtkTreeView" id="files_treeview">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="headers_visible">True</property>
+	      <property name="rules_hint">False</property>
+	      <property name="reorderable">False</property>
+	      <property name="enable_search">True</property>
+	      <signal name="cursor_changed" handler="on_files_changed" last_modification_time="Sat, 09 Apr 2005 18:14:51 GMT"/>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkFileChooserDialog" id="open_file_dialog">
+  <property name="action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
+  <property name="local_only">True</property>
+  <property name="select_multiple">False</property>
+  <property name="show_hidden">False</property>
+  <property name="title" translatable="yes">Open File</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox27">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">24</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area27">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="button20">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="button21">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="has_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-open</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="sign_dialog">
+  <property name="title" translatable="yes">Sign files</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox28">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area28">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton11">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton13">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox24">
+	  <property name="border_width">8</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">8</property>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame7">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment6">
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkVBox" id="vbox25">
+		      <property name="border_width">5</property>
+		      <property name="visible">True</property>
+		      <property name="homogeneous">False</property>
+		      <property name="spacing">0</property>
+
+		      <child>
+			<widget class="GtkRadioButton" id="sign_normal">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">si_gn and compress</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkRadioButton" id="sign_clear">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">sign, do_n't compress</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			  <property name="group">sign_normal</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+
+		      <child>
+			<widget class="GtkRadioButton" id="sign_separate">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="label" translatable="yes">sign in separate _file</property>
+			  <property name="use_underline">True</property>
+			  <property name="relief">GTK_RELIEF_NORMAL</property>
+			  <property name="focus_on_click">True</property>
+			  <property name="active">False</property>
+			  <property name="inconsistent">False</property>
+			  <property name="draw_indicator">True</property>
+			  <property name="group">sign_normal</property>
+			</widget>
+			<packing>
+			  <property name="padding">0</property>
+			  <property name="expand">False</property>
+			  <property name="fill">False</property>
+			</packing>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label75">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Signing Mode</property>
+		  <property name="use_underline">False</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkCheckButton" id="sign_armor_cb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">A_rmor</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">False</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame8">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_NONE</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment7">
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkScrolledWindow" id="scrolledwindow8">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+		      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		      <child>
+			<widget class="GtkTreeView" id="sign_with_keys_treeview">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="headers_visible">True</property>
+			  <property name="rules_hint">True</property>
+			  <property name="reorderable">False</property>
+			  <property name="enable_search">True</property>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label76">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Sign _as</property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="encrypt_dialog">
+  <property name="title" translatable="yes">Encrypt files</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox29">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area29">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="cancelbutton12">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-cancel</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-6</property>
+	    </widget>
+	  </child>
+
+	  <child>
+	    <widget class="GtkButton" id="okbutton14">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-ok</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-5</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkVBox" id="vbox26">
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame9">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_NONE</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment8">
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkScrolledWindow" id="scrolledwindow9">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+		      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		      <child>
+			<widget class="GtkTreeView" id="encrypt_for_keys_treeview">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="headers_visible">True</property>
+			  <property name="rules_hint">True</property>
+			  <property name="reorderable">False</property>
+			  <property name="enable_search">True</property>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label77">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">_Public Keys</property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkCheckButton" id="encrypt_sign_cb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">_Sign</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">False</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	      <signal name="toggled" handler="on_encrypt_sign_toggled" last_modification_time="Wed, 13 Apr 2005 01:14:45 GMT"/>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkFrame" id="frame10">
+	      <property name="visible">True</property>
+	      <property name="label_xalign">0</property>
+	      <property name="label_yalign">0.5</property>
+	      <property name="shadow_type">GTK_SHADOW_NONE</property>
+
+	      <child>
+		<widget class="GtkAlignment" id="alignment9">
+		  <property name="visible">True</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xscale">1</property>
+		  <property name="yscale">1</property>
+		  <property name="top_padding">0</property>
+		  <property name="bottom_padding">0</property>
+		  <property name="left_padding">0</property>
+		  <property name="right_padding">0</property>
+
+		  <child>
+		    <widget class="GtkScrolledWindow" id="scrolledwindow10">
+		      <property name="visible">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+		      <property name="shadow_type">GTK_SHADOW_IN</property>
+		      <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
+
+		      <child>
+			<widget class="GtkTreeView" id="encrypt_with_keys_treeview">
+			  <property name="visible">True</property>
+			  <property name="can_focus">True</property>
+			  <property name="headers_visible">True</property>
+			  <property name="rules_hint">True</property>
+			  <property name="reorderable">False</property>
+			  <property name="enable_search">True</property>
+			</widget>
+		      </child>
+		    </widget>
+		  </child>
+		</widget>
+	      </child>
+
+	      <child>
+		<widget class="GtkLabel" id="label78">
+		  <property name="visible">True</property>
+		  <property name="label" translatable="yes">Sign _as</property>
+		  <property name="use_underline">True</property>
+		  <property name="use_markup">False</property>
+		  <property name="justify">GTK_JUSTIFY_LEFT</property>
+		  <property name="wrap">False</property>
+		  <property name="selectable">False</property>
+		  <property name="xalign">0.5</property>
+		  <property name="yalign">0.5</property>
+		  <property name="xpad">0</property>
+		  <property name="ypad">0</property>
+		</widget>
+		<packing>
+		  <property name="type">label_item</property>
+		</packing>
+	      </child>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
+	    </packing>
+	  </child>
+
+	  <child>
+	    <widget class="GtkCheckButton" id="encrypt_armor_cb">
+	      <property name="visible">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label" translatable="yes">A_rmor</property>
+	      <property name="use_underline">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="active">False</property>
+	      <property name="inconsistent">False</property>
+	      <property name="draw_indicator">True</property>
+	    </widget>
+	    <packing>
+	      <property name="padding">0</property>
+	      <property name="expand">False</property>
+	      <property name="fill">False</property>
+	    </packing>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+<widget class="GtkDialog" id="verify_dialog">
+  <property name="title" translatable="yes">Verify files</property>
+  <property name="type">GTK_WINDOW_TOPLEVEL</property>
+  <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
+  <property name="modal">True</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">True</property>
+  <property name="decorated">True</property>
+  <property name="skip_taskbar_hint">False</property>
+  <property name="skip_pager_hint">False</property>
+  <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+  <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
+  <property name="has_separator">True</property>
+
+  <child internal-child="vbox">
+    <widget class="GtkVBox" id="dialog-vbox30">
+      <property name="visible">True</property>
+      <property name="homogeneous">False</property>
+      <property name="spacing">0</property>
+
+      <child internal-child="action_area">
+	<widget class="GtkHButtonBox" id="dialog-action_area30">
+	  <property name="visible">True</property>
+	  <property name="layout_style">GTK_BUTTONBOX_END</property>
+
+	  <child>
+	    <widget class="GtkButton" id="closebutton4">
+	      <property name="visible">True</property>
+	      <property name="can_default">True</property>
+	      <property name="can_focus">True</property>
+	      <property name="label">gtk-close</property>
+	      <property name="use_stock">True</property>
+	      <property name="relief">GTK_RELIEF_NORMAL</property>
+	      <property name="focus_on_click">True</property>
+	      <property name="response_id">-7</property>
+	    </widget>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">False</property>
+	  <property name="fill">True</property>
+	  <property name="pack_type">GTK_PACK_END</property>
+	</packing>
+      </child>
+
+      <child>
+	<widget class="GtkHBox" id="verify_result">
+	  <property name="border_width">5</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
+	  <property name="spacing">0</property>
+
+	  <child>
+	    <placeholder/>
+	  </child>
+	</widget>
+	<packing>
+	  <property name="padding">0</property>
+	  <property name="expand">True</property>
+	  <property name="fill">True</property>
+	</packing>
+      </child>
+    </widget>
+  </child>
+</widget>
+
+</glade-interface>
diff --git a/lang/py3-pyme/examples/pygpa.py b/lang/py3-pyme/examples/pygpa.py
new file mode 100755
index 0000000..341a87c
--- /dev/null
+++ b/lang/py3-pyme/examples/pygpa.py
@@ -0,0 +1,1457 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2005,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+import gtk, gobject, gtk.glade
+import gettext
+import time, sys, os
+from pyme import errors, core
+from pyme.core import Context, Data, pubkey_algo_name
+from pyme.constants import validity, status, keylist, sig, sigsum
+
+# Enable internationalization using gpa translation pages.
+gettext.install('gpa', None, 1)
+gtk.glade.bindtextdomain('gpa')
+gtk.glade.textdomain('gpa')
+
+# Thanks to Bernhard Reiter for pointing out the following:
+# gpgme_check_version() necessary for initialisation according to 
+# gpgme 1.1.6 and this is not done automatically in pyme-0.7.0
+print("gpgme version:", core.check_version())
+
+# Helper functions to convert non-string data into printable strings
+def sec2str(secs, empty="_(Unknown)"):
+    "Convert seconds since 1970 into mm/dd/yy string"
+    if secs > 0:    return time.strftime("%m/%d/%y", time.localtime(secs))
+    elif secs == 0: return empty
+    else:           return ""
+
+trusts = {
+    validity.UNDEFINED: "Unknown",
+    validity.NEVER: "Never",
+    validity.MARGINAL: "Marginal",
+    validity.FULL: "Full",
+    validity.ULTIMATE: "Ultimate"
+    }
+
+def validity2str(valid):
+    "Convert trust integer into a human understandable string"
+    if valid in trusts: return _("%s" % trusts[valid])
+    else:                     return _("Unknown")
+
+def keyvalid2str(key):
+    "Create a string representing validity of a key"
+    if key.owner_trust==validity.ULTIMATE:
+        return _("Fully Valid")
+    if key.revoked: return _("Revoked")
+    if key.expired: return _("Expired")
+    if key.disabled: return _("Disabled")
+    if not key.uids or key.uids[0].invalid: return _("Incomplete")
+    return _("Unknown")
+
+def subvalid2str(subkey):
+    "Create a string representing validity of a subkey"
+    if subkey.revoked: return _("Revoked")
+    if subkey.expired: return _("Expired")
+    if subkey.disabled: return _("Disabled")
+    if subkey.invalid: return _("Unsigned")
+    return _("Valid")
+
+def signstat2str(sig):
+    "Create a string representing validity of a signature"
+    status = _("Unknown")
+    if sig.status == 1: status = _("Valid")
+    elif sig.status == 2: status = _("Bad")
+    if sig.expired: status = _("Expired")
+    elif sig.revoked: status = _("Revoked")
+    return status
+
+def sigsum2str(summary):
+    if summary & sigsum.VALID: return _("Valid")
+    if summary & sigsum.RED: return _("Bad")
+    if summary & sigsum.KEY_MISSING: return _("Unknown Key")
+    if summary & sigsum.KEY_REVOKED: return _("Revoked Key")
+    if summary & sigsum.KEY_EXPIRED: return _("Expired Key")
+    return _("Key NOT valid")
+
+def class2str(cls):
+    "Convert signature class integer into a human understandable string"    
+    if cls==0x10: return _("Generic")
+    if cls==0x11: return _("Persona")
+    if cls==0x12: return _("Casual")
+    if cls==0x13: return _("Positive")
+    return _("Unknown")
+
+def algo2str(algo):
+    "Convert algorithm integer into a human understandable string"
+    return pubkey_algo_name(algo)
+
+def fpr2str(fpr):
+    "Convert fpr string in a sparsely spaced string for easy reading"
+    result = []
+    while fpr:
+        result.append(fpr[:4])
+        fpr = fpr[4:]
+    return " ".join(result)
+
+# Helper functions for tasks unrelated to any class
+def obj2model(objs, columns):
+    "Create a model from the obj (key, subkey, or signature) using columns"
+    model = gtk.ListStore(*[x.ctype for x in columns])
+    for obj in objs:
+        model.append([x.cfunc(obj) for x in columns])
+    return model
+
+def labels2table(key_labels):
+    "Create a gtk.Table from an array of 2-tuples of strings"
+    table = gtk.Table(len(key_labels), 2)
+    for i, row in enumerate(key_labels):
+        if len(row) != 2:
+            raise ValueError("Unexpected number of rows in labels2table call")
+        label1 = gtk.Label(row[0])
+        label1.set_alignment(1.0, 0.5)
+        label2 = gtk.Label(row[1])
+        label2.set_alignment(0.0, 0.5)
+        label2.set_padding(5, 0)
+        table.attach(label1, 0, 1, i, i+1, gtk.FILL, gtk.FILL)
+        table.attach(label2, 1, 2, i, i+1, gtk.FILL, gtk.FILL)
+    return table
+
+status2str = {}
+for name in dir(status):
+    if not name.startswith('__') and name != "util":
+        status2str[getattr(status, name)] = name
+
+def editor_func(status, args, val_dict):
+    prompt = "%s %s" % (val_dict["state"], args)
+    if prompt in val_dict:
+        val_dict["state"] = val_dict[prompt][0]
+        return val_dict[prompt][1]
+    elif args and "ignore %s" % status2str[status] not in val_dict:
+        for error in ["error %s" % status2str[status], "error %s" % prompt]:
+            if error in val_dict:
+                raise errors.GPGMEError(val_dict[error])
+        sys.stderr.write(_("Unexpected status and prompt in editor_func: " +
+                           "%s %s\n") % (status2str[status], prompt))
+        raise EOFError()
+    return ""
+
+common_dict = {
+        "state": "start",
+        "quit keyedit.save.okay": ("save", "Y"),
+        "ignore NEED_PASSPHRASE": None,
+        "ignore NEED_PASSPHRASE_SYM": None,
+        "ignore BAD_PASSPHRASE": None,
+        "ignore USERID_HINT": None
+        }  
+
+def change_key_expire(context, key, date):
+    "Change key's expiration date to date"
+    val_dict = common_dict.copy()
+    val_dict.update({
+        "start keyedit.prompt": ("expire", "expire"),
+        "expire keygen.valid": ("date", date),
+        "date keyedit.prompt": ("quit", "quit")
+        })
+    out = Data()
+    context.op_edit(key, editor_func, val_dict, out)
+
+def change_key_trust(context, key, new_trust):
+    "Change key's trust to new_trust"
+    val_dict = common_dict.copy()
+    val_dict.update({
+        "start keyedit.prompt": ("trust", "trust"),
+        "trust edit_ownertrust.value": ("value", "%d" % new_trust),
+        "value edit_ownertrust.set_ultimate.okay": ("value", "Y"),
+        "value keyedit.prompt": ("quit", "quit")
+        })
+    out = Data()
+    context.op_edit(key, editor_func, val_dict, out)
+
+def sign_key(context, key, sign_key, local):
+    "Sign key using sign_key. Signature is exportable if local is False"
+    # Values copied from <gpg-error.h>
+    GPG_ERR_CONFLICT = 70
+    GPG_ERR_UNUSABLE_PUBKEY = 53
+    val_dict = common_dict.copy()
+    val_dict.update({
+        "start keyedit.prompt": ("sign", (local and "lsign") or "sign"),
+        "sign keyedit.sign_all.okay": ("sign", "Y"),
+        "sign sign_uid.expire": ("sign", "Y"),
+        "sign sign_uid.class": ("sign", "0"),
+        "sign sign_uid.okay": ("okay", "Y"),
+        "okay keyedit.prompt": ("quit", "quit"),
+        "error ALREADY_SIGNED": GPG_ERR_CONFLICT,
+        "error sign keyedit.prompt": GPG_ERR_UNUSABLE_PUBKEY
+        })
+    out = Data()
+    context.signers_clear()
+    context.signers_add(sign_key)
+    context.op_edit(key, editor_func, val_dict, out)
+
+def trigger_change_password(context, key):
+    "Trigger sequence of passphrase_cb callbacks to change password of the key"
+    val_dict = common_dict.copy()
+    val_dict.update({
+        "start keyedit.prompt": ("passwd", "passwd"),
+        "passwd keyedit.prompt": ("quit", "quit")
+        })
+    out = Data()
+    context.op_edit(key, editor_func, val_dict, out)
+
+# Helper classes whose instances are used in the major PyGpa class
+class KeyInfo:
+    """Helper class to represent key information in different views.
+    If KeyInfo instance is initialized with an integer as a key the views
+    correspond to a state when multiple or no keys are selected"""
+    def __init__(self, key, secret=None):
+        self.key = key
+        self.secret = secret
+
+    def key_print_labels(self, fpr=False):
+        "Create an array of 2-tuples for 'User Name' and 'Key ID' fields"
+        labels = []
+        if type(self.key) != int:
+            if self.key.uids:
+                labels.append((_("User Name:"), self.key.uids[0].uid))
+		for uid in self.key.uids[1:]:
+                    labels.append(("", uid.uid))
+            if fpr:
+                labels += [(_("Fingerprint:"), fpr2str(self.key.subkeys[0].fpr))]
+            else:
+                labels += [(_("Key ID:"), self.key.subkeys[0].keyid[-8:])]
+        return labels
+
+    def key_expires_label(self):
+        return sec2str(self.key.subkeys[0].expires,_("never expires"))
+
+    def details(self):
+        "Create a widget for 'Details' notebook tab"
+        if type(self.key) == int:
+            if self.key:
+                details=gtk.Label(_("%d keys selected") % self.key)
+            else:
+                details=gtk.Label(_("No keys selected"))
+            details.set_alignment(0.5, 0)
+            return details
+        
+        if self.secret:
+            header = _("The key has both a private and a public part")
+        else:
+            header = _("The key has only a public part")
+        key_info_labels = [("", header)]
+
+        if self.key.can_certify:
+            if self.key.can_sign:
+                if self.key.can_encrypt:
+                    ability = _("The key can be used for certification, " +
+                                "signing and encryption.")
+                else:
+                    ability = _("The key can be used for certification and " +
+                                "signing, but not for encryption.")
+            else:
+                if self.key.can_encrypt:
+                    ability = _("The key can be used for certification and " +
+                                "encryption.")
+                else:
+                    ability = _("The key can be used only for certification.")
+        else:
+            if self.key.can_sign:
+                if self.key.can_encrypt:
+                    ability = _("The key can be used only for signing and " +
+                                "encryption, but not for certification.")
+                else:
+                    ability = _("The key can be used only for signing.")
+            else:
+                if self.key.can_encrypt:
+                    ability = _("The key can be used only for encryption.")
+                else:
+                    ability = _("This key is useless.")
+        key_info_labels.append(("", ability))
+
+        key_info_labels += self.key_print_labels() + [
+            (_("Fingerprint:"), fpr2str(self.key.subkeys[0].fpr)),
+            (_("Expires at:"), self.key_expires_label()),
+            (_("Owner Trust:"), validity2str(self.key.owner_trust)),
+            (_("Key Validity:"), keyvalid2str(self.key)),
+            (_("Key Type:"), _("%s %u bits") % \
+             (algo2str(self.key.subkeys[0].pubkey_algo),self.key.subkeys[0].length)),
+            (_("Created at:"), sec2str(self.key.subkeys[0].timestamp))
+            ]
+
+        return labels2table(key_info_labels)
+
+    def sign_model(self):
+        "Create a model for ComboBox of uids in 'Signatures' notebook tab"
+        model = gtk.ListStore(str, gtk.ListStore)
+        if type(self.key) != int:
+            for uid in self.key.uids:
+                model.append([uid.uid, obj2model(uid.signatures,sign_columns)])
+        return model
+
+    def subkey_model(self):
+        "Create a model for TreeView in 'Subkeys' notebook tab"
+        if type(self.key) == int:
+            return gtk.ListStore(*[x.ctype for x in subkey_columns])
+        else:
+            return obj2model(self.key.subkeys, subkey_columns)
+
+class Column:
+    "Helper class to represent a column in a TreeView"
+    def __init__(self, name, ctype, cfunc, detail=False):
+        """Column(name, ctype, cfunc):
+        name  - Name to use as a column header
+        ctype - type to use in a model definition for this column
+        cfunc - function retrieving column's infromation from an object
+        detail- indicate if it's a detail visible only in detailed view"""
+        self.name = name
+        self.ctype = ctype
+        self.cfunc = cfunc
+        self.detail = detail
+
+# Columns for the list of keys which can be used as default
+def_keys_columns = [
+    Column(_("Key ID"), str, lambda x,y: x.subkeys[0].keyid[-8:]),
+    Column(_("User Name"), str,
+           lambda x,y: (x.uids and x.uids[0].uid) or _("[Unknown user ID]")),
+    Column(None, gobject.TYPE_PYOBJECT, lambda x,y: KeyInfo(x,y))
+    ]
+
+# Columns for the list of all keys in the keyring
+keys_columns = [
+    Column("", str, lambda x,y: (y and "sec") or "pub"),
+    def_keys_columns[0],
+    Column(_("Expiry Date"), str,
+           lambda x,y: sec2str(x.subkeys[0].expires, _("never expires")), True),
+    Column(_("Owner Trust"),str,lambda x,y:validity2str(x.owner_trust),True),
+    Column(_("Key Validity"), str, lambda x,y: keyvalid2str(x), True)
+    ] + def_keys_columns[1:]
+
+# Columns for the list of signatures on a uid
+sign_columns = [
+    Column(_("Key ID"), str, lambda x: x.keyid[-8:]),
+    Column(_("Status"), str, lambda x: signstat2str(x)),
+    Column(_("Level"), str, lambda x: class2str(x.sig_class)),
+    Column(_("Local"), type(True), lambda x: x.exportable==0),
+    Column(_("User Name"), str, lambda x: x.uid or _("[Unknown user ID]"))
+    ]
+
+# Columns for the list of subkeys
+subkey_columns = [
+    Column(_("Subkey ID"), str, lambda x: x.keyid[-8:]),
+    Column(_("Status"), str, lambda x: subvalid2str(x)),
+    Column(_("Algorithm"), str, lambda x: algo2str(x.pubkey_algo)),
+    Column(_("Size"), str, lambda x: _("%u bits") % x.length),
+    Column(_("Expiry Date"), str,
+           lambda x: sec2str(x.expires, _("never expires"))),
+    Column(_("Can sign"), type(True), lambda x: x.can_sign),
+    Column(_("Can certify"), type(True), lambda x: x.can_certify),
+    Column(_("Can encrypt"), type(True), lambda x: x.can_encrypt),
+    Column(_("Can authenticate"), type(True), lambda x: x.can_authenticate)
+    ]
+
+file_columns = [
+    Column(_("File"), str, lambda x: x)
+    ]
+
+class PyGpa:
+    "Major class representing PyGpa application"
+    def popup(self, dialog, parent=None, title=None):
+        "Common way to popup a dialog defined in Glade"
+        dialog.set_transient_for(parent or self.main_window)
+        if title: dialog.set_title(title)
+        result = dialog.run()
+        dialog.hide()
+        return result
+
+    def file_popup(self, dialog, parent=None, title=None):
+        return self.popup(dialog, parent or self.filemanager_window, title)
+        
+    def error_message(self, text, parent=None, title=_("Warning")):
+        "Pop up an error message dialog"
+        if type(text) == int:
+            text = errors.GPGMEError(text).getstring()
+            title = "GPGME error"
+        elif isinstance(text, errors.GPGMEError):
+            text = text.getstring()
+            title = "GPGME error"
+        self.error_label.set_text(text)
+        self.popup(self.error_dialog, parent, title)
+
+    def file_error_message(self, text, parent=None, title=_("Warning")):
+        self.error_message(text, parent or self.filemanager_window, title)
+
+    def info_message(self, text, parent=None, title=_("Information")):
+        "Pop up an information dialog"
+        self.info_label.set_text(text)
+        self.popup(self.info_dialog, parent, title)
+
+    def yesno_message(self, text, parent=None):
+        "Pop up a dialog requiring yes/no answer"
+        self.yesno_label.set_text(text)
+        return self.popup(self.yesno_dialog, parent,
+                          _("Warning")) == gtk.RESPONSE_YES
+
+    def on_uid_list_changed(self, uid_list):
+        "this callback is called when uid selection is changed"
+        index = uid_list.get_active()
+        if index == -1:
+            self.sign_treeview.set_model(KeyInfo(0).sign_model())
+        else:
+            self.sign_treeview.set_model(uid_list.get_model()[index][1])
+
+    def get_selected_keys(self, treeview=None):
+        "Helper function to get all selected rows in a treeview"
+        if not treeview:
+            treeview = self.keys_treeview
+        model, rows = treeview.get_selection().get_selected_rows()
+        return [model[path] for path in rows]
+
+    def on_keys_changed(self, keys_treeview):
+        "this callback is called when key selection is changed"
+        selection = keys_treeview.get_selection()
+        count = selection.count_selected_rows()
+        if count == 1:
+            key_info = self.get_selected_keys()[0][-1]
+        else:
+            key_info = KeyInfo(count)
+
+        self.update_menu(key_info)
+
+        # Update Details tab of the notebook
+        old_child = self.details_view.get_child()
+        if old_child: self.details_view.remove(old_child)
+        self.details_view.add(key_info.details())
+        self.details_view.show_all()
+
+        # Update Subkeys tab of the notebook
+        self.subkeys_treeview.set_model(key_info.subkey_model())
+
+        # Update Signatures tab of the notebook
+        sign_model = key_info.sign_model()
+        self.uid_list.set_model(sign_model)
+        if len(sign_model) < 2:
+            self.uid_list_box.hide()
+        else:
+            self.uid_list_box.show_all()
+        self.uid_list.set_active(0)
+        self.on_uid_list_changed(self.uid_list)
+
+    def on_keys_button_press(self, obj, event):
+        "callback on a mouse press in the keys_treeview"
+        if event.button == 3:
+            self.popup_menu.popup(None, None, None, event.button, event.time)
+            return True
+        return False
+
+    def create_popup_menu(self):
+        "create the popup menu shown on right mouse click"
+        self.items = [
+            (gtk.ImageMenuItem(gtk.STOCK_COPY), self.on_copy_activate),
+            (gtk.ImageMenuItem(gtk.STOCK_PASTE), self.on_paste_activate),
+            (gtk.ImageMenuItem(gtk.STOCK_DELETE), self.on_delete_activate),
+            (gtk.SeparatorMenuItem(), None),
+            (gtk.MenuItem(_("_Sign Keys...")), self.on_sign_keys_activate),
+            (gtk.MenuItem(_("Set _Owner Trust...")),
+             self.on_set_owner_trust_activate),
+            (gtk.MenuItem(_("_Edit Private Key...")),
+             self.on_edit_private_key_activate),
+            (gtk.SeparatorMenuItem(), None),
+            (gtk.MenuItem(_("E_xport Keys...")), self.on_export_keys_activate)
+            ]
+        self.popup_menu = gtk.Menu()
+        for item, callback in self.items:
+            if callback: item.connect("activate", callback)
+            self.popup_menu.append(item)
+        self.popup_menu.show_all()        
+    
+    def update_menu(self, key_info):
+        "update sensitivity of menu items depending on what keys are selected"
+        #                  copy, delete, sign, trust, edit, export
+        if key_info.secret == None:
+            if key_info.key:            # more than one key selected
+                values = ( True,  True,  True, False, False,  True)
+            else:                       # no keys selected
+                values = (False, False, False, False, False, False)
+        elif key_info.secret:
+            if key_info.key == self.default_key: # default key seleted
+                values = ( True,  True, False,  True,  True,  True)
+            else:                       # secret (not default) key selected
+                values = ( True,  True,  True,  True,  True,  True)
+        else:                           # public key selected
+            values   =   ( True,  True,  True,  True, False,  True)
+
+        for w,v in zip((self.copy, self.delete, self.sign_keys,
+                        self.set_owner_trust, self.edit_private_key,
+                        self.export_keys), values):
+            w.set_sensitive(v)
+        for w,v in zip((self.items[0][0], self.items[2][0], self.items[4][0],
+                        self.items[5][0], self.items[6][0], self.items[8][0]),
+                       values):
+            w.set_sensitive(v)                
+    
+    def setup_columns(self):
+        "Helper function to setup columns of different treeviews"
+        for treeview, columns in \
+                [(self.keys_treeview, keys_columns),
+                 (self.sign_treeview, sign_columns),
+                 (self.subkeys_treeview, subkey_columns),
+                 (self.def_keys_treeview, def_keys_columns),
+                 (self.sign_with_keys_treeview, def_keys_columns),
+                 (self.encrypt_with_keys_treeview, def_keys_columns),
+                 (self.files_treeview, file_columns)]:
+            for index, item in enumerate([x for x in columns if x.name!=None]):
+                if item.ctype == str:
+                    renderer = gtk.CellRendererText()
+                    attrs = {"text": index}
+                else:
+                    renderer = gtk.CellRendererToggle()
+                    attrs = {"active": index}
+                column = treeview.insert_column_with_attributes(
+                    index, item.name, renderer, **attrs)
+                column.set_sort_column_id(index)
+                column.set_visible(not item.detail)
+
+        for index,item in enumerate([x for x in keys_columns if x.name!=None]):
+            if item.name and not item.detail:
+                renderer = gtk.CellRendererText()
+                column = gtk.TreeViewColumn(item.name, renderer, text=index)
+                column.set_sort_column_id(index)
+                self.encrypt_for_keys_treeview.append_column(column)
+
+        for treeview in [self.encrypt_with_keys_treeview, self.keys_treeview,
+                         self.encrypt_for_keys_treeview, self.files_treeview,
+                         self.sign_with_keys_treeview]:
+            treeview.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
+        self.def_keys_treeview.get_selection().set_mode(gtk.SELECTION_SINGLE)
+
+        cell = gtk.CellRendererText()
+        self.uid_list.pack_start(cell, True)
+        self.uid_list.add_attribute(cell, 'text', 0)
+
+        model = gtk.ListStore(str, str)
+        for lines in [(_("days"), "d"), (_("weeks"), "w"),
+                      (_("months"), "m"), (_("years"), "y")]:
+            model.append(lines)
+        self.new_expire_unit_combo.set_model(model)
+        self.new_expire_unit_combo.child.set_editable(False)
+        self.new_algorithm_combo.child.set_editable(False)
+
+        self.files_treeview.set_model(gtk.ListStore(str))
+
+    def setup_default_views(self):
+        "Setup initial values for different views"
+        self.update_default_keys()
+        self.on_advanced_mode_toggled(self.advanced_mode_rb)
+        self.create_popup_menu()
+        self.on_keys_changed(self.keys_treeview)
+
+    def load_keys(self):
+        "Download keys from the keyring"
+        context = Context()
+        sec_keys = {}
+        for key in context.op_keylist_all(None, 1):
+            sec_keys[key.subkeys[0].fpr] = 1
+        model = gtk.ListStore(*[x.ctype for x in keys_columns])
+        encrypt_model = gtk.ListStore(*[x.ctype for x in keys_columns])
+        context.set_keylist_mode(keylist.mode.SIGS)
+        for key in context.op_keylist_all(None, 0):
+            secret = key.subkeys[0].fpr in sec_keys
+            data = [x.cfunc(key, secret) for x in keys_columns]
+            if key.can_encrypt: encrypt_model.append(data)
+            model.append(data)
+        self.keys_treeview.set_model(model)
+        self.encrypt_for_keys_treeview.set_model(encrypt_model)
+
+    def set_default_key(self, key):
+        "Setup default key and update status bar with it"
+        self.default_key = key
+        self.status_uid.set_text((key.uids and key.uids[0].uid) or \
+                                 _("[Unknown user ID]"))
+        self.status_keyid.set_text(key.subkeys[0].keyid[-8:])
+
+    def on_default_keys_changed(self, treeview):
+        "This callback is called when default key is changed in Preferences"
+        model, rows = treeview.get_selection().get_selected_rows()
+        if model and rows:
+            self.set_default_key(model[rows[0]][-1].key)
+
+    def add_default_key(self, model, path, iter, def_model):
+        "Helper function to add secret keys to the list of possible defaults"
+        key = model[path][-1]
+        if key.secret:
+            def_model.append([x.cfunc(key.key,True) for x in def_keys_columns])
+
+    def add_sig_key(self, model, path, iter, sign_model):
+        "Helper function to add secret keys to the list of possible defaults"
+        key = model[path][-1].key
+        if key.can_sign:
+            sign_model.append([x.cfunc(key,True) for x in def_keys_columns])
+
+    def select_default_key(self, model, path, iter):
+        "Helper function to select current default key from the available list"
+        if model[path][-1].key == self.default_key:
+            self.def_keys_treeview.get_selection().select_path(path)
+
+    def update_default_keys(self):
+        "Update list of default keys"
+        model = gtk.ListStore(*[x.ctype for x in def_keys_columns])
+        self.keys_treeview.get_model().foreach(self.add_default_key, model)
+        self.def_keys_treeview.set_model(model)
+        model.foreach(self.select_default_key)
+        selection = self.def_keys_treeview.get_selection()
+        if selection.count_selected_rows() != 1:
+            selection.select_path((0,))
+            self.on_default_keys_changed(self.def_keys_treeview)
+        model = gtk.ListStore(*[x.ctype for x in def_keys_columns])
+        self.def_keys_treeview.get_model().foreach(self.add_sig_key, model)
+        self.sign_with_keys_treeview.set_model(model)
+        self.encrypt_with_keys_treeview.set_model(model)
+
+    def on_select_all_activate(self, obj):
+        "This callback is called when SelectAll menu item is selected"
+        self.keys_treeview.get_selection().select_all()
+
+    def on_file_preferences_activate(self, obj):
+        "Callback called when Preferences menu item is selected in filemanager"
+        self.show_preferences(self.filemanager_window)
+
+    def on_preferences_activate(self, obj):
+        "Callback called when Preferences menu item is selected in key editor"
+        self.show_preferences(None)
+
+    def show_preferences(self, parent):
+        "Show preferences positioning its window in the middle of the parent"
+        self.popup(self.preferences_dialog, parent)
+        self.def_keyserver = self.default_keyserver_combox.child.get_text()
+
+    def on_advanced_mode_toggled(self, radiobutton):
+        "This callback is called when Advanced Mode selection is changed"
+        if radiobutton.get_active():
+            self.subkeys_notebook_tab.show()
+            self.get_generate_params = self.get_advanced_generate_params
+        else:
+            self.subkeys_notebook_tab.hide()
+            self.get_generate_params = self.get_novice_generate_params
+
+    def popup_progress_dialog(self, label, parent):
+        self.progress_dialog.set_transient_for(parent)
+        self.progress_label.set_text(label)
+        self.progress_dialog.show_all()
+        gobject.timeout_add(100, self.update_progress)
+
+    def on_progress_cancel_clicked(self, obj):
+        self.progress_context.cancel()
+
+    def update_progress(self):
+        "Helper function to show progress while a work on a key is being done"
+        try:
+            status = self.progress_context.wait(0)
+            if status == None or self.progress_func(status):
+                self.new_progressbar.pulse()
+                return True
+        except errors.GPGMEError as exc:
+            self.error_message(exc)
+        
+        self.progress_context = None
+        self.progress_func = None
+        self.progress_dialog.hide()
+
+        # Let callback to be removed.
+        return False
+
+    def key_generate_done(self, status):
+        "Helper function called on the completion of a key generation"
+        if status == 0:
+            fpr = self.progress_context.op_genkey_result().fpr
+            self.progress_context.set_keylist_mode(keylist.mode.SIGS)
+            key = self.progress_context.get_key(fpr, 0)
+            data = [x.cfunc(key, True) for x in keys_columns]
+            self.keys_treeview.get_model().append(data)
+            if key.can_encrypt:
+                self.encrypt_for_keys_treeview.get_model().append(data)
+            self.update_default_keys()
+        else:
+            self.error_message(status)
+        return False
+
+    def on_new_activate(self, obj):
+        "Callback for 'New Key' menu item"
+        params = self.get_generate_params()
+        if params == None:
+            return
+
+        (key_algo, subkeys, size, userid, email,
+         comment, expire, password, backup) = params
+
+        gen_string = "<GnupgKeyParms format=\"internal\">\n" + \
+                         "Key-Type: %s\n" % key_algo + \
+                         "Key-Length: %d\n" % size
+        if subkeys:
+            gen_string += "Subkey-Type: %s\n" % subkeys + \
+                          "Subkey-Length: %d\n" % size
+        gen_string += "Name-Real: %s\n" % userid
+        if email:
+            gen_string += "Name-Email: %s\n" % email
+        if comment:
+            gen_string += "Name-Comment: %s\n" % comment
+        if expire:
+            gen_string += "Expire-Date: %s\n" % expire
+        if password:
+            gen_string += "Passphrase: %s\n" % password
+        gen_string += "</GnupgKeyParms>\n"
+
+        self.progress_context = Context()
+        self.progress_context.op_genkey_start(gen_string, None, None)
+        self.progress_func = self.key_generate_done
+        self.popup_progress_dialog(_("Generating Key..."), self.main_window)
+
+    def check_passphrase(self, passphrase, repeat_passphrase, parent):
+        """Helper function to check that enetered password satisfies our
+        requirements"""
+        if not passphrase:
+            self.error_message(_('You did not enter a passphrase.\n' +
+                                 'It is needed to protect your private key.'),
+                               parent)
+        elif repeat_passphrase != passphrase:
+            self.error_message(_('In "Passphrase" and "Repeat passphrase",\n' +
+                                 'you must enter the same passphrase.'),
+                               parent)
+        else:
+            return True
+        return False
+
+    def get_novice_generate_params(self):
+        "Helper function to get generate key parameter in Novice mode"
+        dialogs = [self.generate_userid_dialog,
+                   self.generate_email_dialog,
+                   self.generate_comment_dialog,
+                   self.generate_passphrase_dialog,
+                   self.generate_backup_dialog]
+        step = 0
+        params = None
+        while step>=0:
+            dialog = dialogs[step]
+            dialog.set_transient_for(self.main_window)
+            result = dialog.run()
+            newstep = step
+            if result == 2:
+                if step == 0:
+                    userid = self.generate_novice_userid_entry.get_text()
+                    if userid: newstep = step + 1
+                    else: self.error_message(_("Please insert your name."))
+                elif step == 1:
+                    email = self.generate_novice_email_entry.get_text()
+                    if email: newstep = step + 1
+                    else:
+                        self.error_message(_("Please insert your email address"))
+                elif step == 2:
+                    comment = self.generate_novice_comment_entry.get_text()
+                    newstep = step + 1
+                elif step == 3:
+                    passphrase=self.generate_novice_passphrase_entry.get_text()
+                    if self.check_passphrase(
+                        passphrase,
+                        self.generate_novice_repeat_passphrase_entry.get_text(),
+                        dialog):
+                        newstep = step + 1
+                elif step == 4:
+                    backup = self.generate_novice_backup_rb.get_active()
+                    params = ("DSA", "ELG-E", 1024, userid, email,
+                              comment, "", passphrase, backup)
+                    newstep = -1
+            elif result == 1:
+                newstep = step - 1
+            else:
+                newstep = -1
+
+            if newstep != step:
+                dialog.hide()
+                step = newstep
+
+        self.generate_novice_userid_entry.set_text("")
+        self.generate_novice_email_entry.set_text("")
+        self.generate_novice_comment_entry.set_text("")
+        self.generate_novice_passphrase_entry.set_text("")
+        self.generate_novice_repeat_passphrase_entry.set_text("")
+        return params
+
+    def on_new_expire_on_rb_toggled(self, expireon_rb):
+        self.new_expire_calendar.set_sensitive(expireon_rb.get_active())
+
+    def on_new_expire_after_rb_toggled(self, expireafter_rb):
+        active = expireafter_rb.get_active()
+        self.new_expire_count_entry.set_sensitive(active)
+        self.new_expire_unit_combo.set_sensitive(active)
+
+    def get_advanced_generate_params(self):
+        "Helper function to get generate key parameter in Advanced mode"
+        params = None
+        self.new_expire_unit_combo.set_active(0)
+        self.new_algorithm_combo.set_active(0)
+        self.new_key_size_combo.set_active(1)
+        self.generate_dialog.set_transient_for(self.main_window)
+        while params == None and self.generate_dialog.run() == gtk.RESPONSE_OK:
+            passphrase = self.new_passphrase_entry.get_text()
+            if not self.check_passphrase(
+                passphrase,
+                self.new_repeat_passphrase_entry.get_text(),
+                self.generate_dialog):
+                continue
+            key_algo, subkeys = {
+                'DSA and ElGamal (default)': ("DSA", "ELG-E"),
+                'DSA (sign only)': ("DSA", ""),
+                'RSA (sign only)': ("RSA", "")
+                }[self.new_algorithm_combo.child.get_text()]
+            try:
+                size = int(self.new_key_size_combo.child.get_text())
+            except ValueError:
+                self.new_key_size_combo.child.grab_focus()
+                continue
+            userid = self.new_userid_entry.get_text()
+            email = self.new_email_entry.get_text()
+            comment = self.new_comment_entry.get_text()
+            expire = ""
+            if self.new_expire_after_rb.get_active():
+                model = self.new_expire_unit_combo.get_model()
+                unit = model[(self.new_expire_unit_combo.get_active(),)][1]
+                try:
+                    value = int(self.new_expire_count_entry.get_text())
+                except ValueError:
+                    self.new_expire_count_entry.grab_focus()
+                    continue
+                expire = "%d%s" % (value, unit)
+            elif self.new_expire_on_rb.get_active():
+                (year, month, day) = self.new_expire_calendar.get_date()
+                expire = "%04d-%02d-%02d" % (year, month+1, day)
+            params = (key_algo, subkeys, size, userid, email,
+                      comment, expire, passphrase, False)
+        self.generate_dialog.hide()
+        self.new_passphrase_entry.set_text("")
+        self.new_repeat_passphrase_entry.set_text("")
+        return params
+
+    def del_key(self, key, treeview):
+        "Helper function to delete a key from a treeview list"
+        row_list = []
+        treeview.get_model().foreach(lambda m,p,i,l: l.append(m[p]), row_list)
+        for row in row_list:
+            if row[-1].key.subkeys[0].fpr == key.subkeys[0].fpr:
+                row.model.remove(row.iter)
+
+    def on_delete_activate(self, obj):
+        "Callback for 'Delete Keys' menu item"
+        message = {
+            True:  _("This key has a secret key. Deleting this key cannot be"+
+                     " undone, unless you have a backup copy."),
+            False: _("This key is a public key. Deleting this key cannot be "+
+                     "undone easily, although you may be able to get a new " +
+                     "copy  from the owner or from a key server.")
+            }
+        keytag = self.delete_key_keyinfo
+        for row in self.get_selected_keys():
+            self.delete_key_label.set_text(message[row[-1].secret])
+            table = labels2table(row[-1].key_print_labels())
+            keytag.add(table)
+            keytag.show_all()
+            if self.popup(self.delete_key_dialog) == gtk.RESPONSE_YES:
+                context = Context()
+                context.op_delete(row[-1].key, 1)
+                if row[-1].key.can_encrypt:
+                    self.del_key(row[-1].key, self.encrypt_for_keys_treeview)
+                row.model.remove(row.iter)
+                self.update_default_keys()
+                self.on_keys_changed(self.keys_treeview)
+            keytag.remove(table)
+
+    def password_cb(self, hint, desc, prev_bad, hook=None):
+        "Callback to setup verification of a passphrase"
+        if prev_bad:
+            header = _("Wrong passphrase, please try again:")
+        else:
+            header = _("Please enter the passphrase for the following key:")
+        self.password_prompt_label.set_text(header)
+        keyid, userid = hint.split(" ", 1)
+        table = labels2table([(_("User Name:"), userid),
+                              (_("Key ID:"), keyid[-8:])])
+        self.password_prompt_keyinfo.add(table)
+        self.password_prompt_keyinfo.show_all()
+        password = None
+        if self.popup(self.password_prompt_dialog) == gtk.RESPONSE_OK:
+            password = self.password_prompt_entry.get_text()
+        self.password_prompt_keyinfo.remove(table)
+        self.password_prompt_entry.set_text("")
+        if not password:
+            GPG_ERR_CANCELED = 99
+            raise errors.GPGMEError(GPG_ERR_CANCELED)
+        return password
+
+    def password_change_cb(self, hint, desc, prev_bad, hook):
+        "Callback to setup for passphrase change"
+        if not prev_bad:
+            hook["count"] += 1
+            
+        if hook["count"] == 1:
+            return self.password_cb(hint, desc, prev_bad)
+        else:
+            password = None
+            self.password_change_dialog.set_transient_for(self.main_window)
+            while password == None and \
+                      self.password_change_dialog.run() == gtk.RESPONSE_OK:
+                password = self.password_change_passphrase.get_text()
+                if not self.check_passphrase(
+                    password,
+                    self.password_change_repeat_passphrase.get_text(),
+                    self.password_change_dialog):
+                    password = None
+            self.password_change_dialog.hide()
+            self.password_change_passphrase.set_text("")
+            self.password_change_repeat_passphrase.set_text("")
+            if not password:
+                GPG_ERR_CANCELED = 99
+                raise errors.GPGMEError(GPG_ERR_CANCELED)
+            return password
+
+    def on_sign_keys_activate(self, obj):
+        "Callback for 'Sign keys' menu item"
+        context = Context()
+        context.set_passphrase_cb(self.password_cb)
+        context.set_keylist_mode(keylist.mode.SIGS)
+        keytag = self.sign_key_keyinfo
+        for row in self.get_selected_keys():
+            if row[-1].key == self.default_key:
+                continue
+            if len(row[-1].key.uids) > 1:
+                self.sign_manyuids_label.show()
+            else:
+                self.sign_manyuids_label.hide()
+            table = labels2table(row[-1].key_print_labels(True))
+            keytag.add(table)
+            keytag.show_all()
+            if self.popup(self.sign_key_dialog) == gtk.RESPONSE_YES:
+                try:
+                    sign_key(context, row[-1].key, self.default_key,
+                             self.sign_locally_cb.get_active())
+                    row[-1].key=context.get_key(row[-1].key.subkeys[0].fpr,0)
+                    self.on_keys_changed(self.keys_treeview)
+                except errors.GPGMEError as exc:
+                    self.error_message(exc)
+            keytag.remove(table)
+
+    def on_change_passphrase_clicked(self, obj, key_info):
+        "Callback for 'Change passphrase' button in editor for a private key"
+        try:
+            context = Context()
+            context.set_passphrase_cb(self.password_change_cb, {"count": 0})
+            trigger_change_password(context, key_info.key)
+        except errors.GPGMEError as exc:
+            self.error_message(exc)
+
+    def on_change_expiry_expireon_rb_toggled(self, expire_rb):
+        "Callback for 'never expire' radiobutton in editor for a private key"
+        self.change_expiry_calendar.set_sensitive(expire_rb.get_active())
+
+    def on_change_expiration_clicked(self, obj, key_info):
+        "Callback for 'Change expiration' button in editor for a private key"
+        if key_info.key.subkeys[0].expires:
+            year, month, day = time.localtime(key_info.key.subkeys[0].expires)[:3]
+            self.change_expiry_calendar.select_month(month-1, year)
+            self.change_expiry_calendar.select_day(day)
+            self.change_expiry_expireon_rb.set_active(True)
+        else:
+            self.change_expiry_never_rb.set_active(True)
+        if self.popup(self.change_expiry_dialog,
+                      self.edit_key_dialog) == gtk.RESPONSE_OK:
+            year, month, day = self.change_expiry_calendar.get_date()
+            expire = "%04d-%02d-%02d" % (year, month+1, day)
+            try:
+                context = Context()
+                context.set_passphrase_cb(self.password_cb)
+                change_key_expire(context, key_info.key, expire)
+                context.set_keylist_mode(keylist.mode.SIGS)
+                key_info.key=context.get_key(key_info.key.subkeys[0].fpr,0)
+                self.on_keys_changed(self.keys_treeview)
+                self.edit_key_date_label.set_text(key_info.key_expires_label())
+            except errors.GPGMEError as exc:
+                self.error_message(exc)
+
+    def on_edit_private_key_activate(self, obj):
+        "Callback for 'Edit Private Key' menu item"
+        keys = self.get_selected_keys()
+        if len(keys) != 1 or not keys[0][-1].secret:
+            return
+        
+        key_info = keys[0][-1]
+        table = labels2table(key_info.key_print_labels())
+        self.edit_key_date_label.set_text(key_info.key_expires_label())
+        self.edit_key_keyinfo.add(table)
+        self.edit_key_keyinfo.show_all()
+        connect1_id = self.edit_key_change_expiration.connect(
+            "clicked", self.on_change_expiration_clicked, key_info)
+        connect2_id = self.edit_key_change_passphrase.connect(
+            "clicked", self.on_change_passphrase_clicked, key_info)
+        self.popup(self.edit_key_dialog)
+        self.edit_key_change_expiration.disconnect(connect1_id)
+        self.edit_key_change_passphrase.disconnect(connect2_id)
+        self.edit_key_keyinfo.remove(table)
+
+    def on_set_owner_trust_activate(self, obj):
+        "Callback for 'Set Owner Trust' menu item"
+        keys = self.get_selected_keys()
+        if len(keys) != 1:
+            return
+
+        key_info = keys[0][-1]
+        table = labels2table(key_info.key_print_labels())
+        self.ownertrust_key.add(table)
+        self.ownertrust_key.show_all()
+        trust = key_info.key.owner_trust
+        if trust < 0 or trust not in trusts:
+            trust = validity.UNDEFINED
+        getattr(self, "ownertrust_"+trusts[trust]).set_active(True)
+        if self.popup(self.ownertrust_dialog) == gtk.RESPONSE_OK:
+            for trust, name in trusts.items():
+                if getattr(self, "ownertrust_"+name).get_active():
+                    try:
+                        context = Context()
+                        change_key_trust(context, key_info.key, trust)
+                        key_info.key.owner_trust = trust
+                        self.on_keys_changed(self.keys_treeview)
+                    except errors.GPGMEError as exc:
+                        self.error_message(exc)            
+                    break
+        self.ownertrust_key.remove(table)
+
+    def import_keys_from_data(self, data):
+        "Helper function to import keys into application from a Data() object"
+        context = Context()
+        status = context.op_import(data)
+        if status:
+            self.error_message(status)
+        else:
+            result = context.op_import_result()
+            if result.considered == 0:
+                self.error_message(_("No keys were found."))
+            else:
+                self.load_keys()
+                self.info_message(_("%i public keys read\n" +
+                                    "%i public keys imported\n" +
+                                    "%i public keys unchanged\n" +
+                                    "%i secret keys read\n" +
+                                    "%i secret keys imported\n" +
+                                    "%i secret keys unchanged") % \
+                                  (result.considered,
+                                   result.imported,
+                                   result.unchanged,
+                                   result.secret_read,
+                                   result.secret_imported,
+                                   result.secret_unchanged))
+
+    def import_from_clipboard(self, clipboard, text, data):
+        "Callback to setup extraction of data from a clipboard"
+        if text:
+            self.import_keys_from_data(Data(text))
+
+    def on_paste_activate(self, obj):
+        "Callback for 'Paste' menu item"
+        gtk.clipboard_get().request_text(self.import_from_clipboard)
+
+    def on_import_keys_activate(self, obj):
+        "Callback for 'Import Keys' menu item"
+        import_file = None
+        dialog = self.import_file_dialog
+        dialog.set_transient_for(self.main_window)
+        while import_file == None and dialog.run() == gtk.RESPONSE_OK:
+            try:
+                import_file = open(dialog.get_filename(), "rb")
+            except IOError as strerror:
+                self.error_message(strerror, dialog)
+                import_file = None
+        dialog.hide()
+        if import_file != None:
+            self.import_keys_from_data(Data(file=import_file))
+            import_file.close()
+
+    def export_selected_keys(self, armor):
+        "Helper function to export selected keys into a Data() object"
+        context = Context()
+        context.set_armor(armor)
+        export_keys = Data()
+        for row in self.get_selected_keys():
+            context.op_export(row[-1].key.subkeys[0].fpr, 0, export_keys)
+        export_keys.seek(0,0)
+        return export_keys
+        
+    def on_copy_activate(self, obj):
+        "Callback for 'Copy' menu item"
+        if self.keys_treeview.get_selection().count_selected_rows() > 0:
+            export_keys = self.export_selected_keys(True)
+            gtk.clipboard_get().set_text(export_keys.read())
+
+    def verify_output(self, filename, parent):
+        "Helper function to verify that user can write into the filename"
+        if os.path.exists(filename):
+            if os.path.isdir(filename):
+                self.error_message(_("%s is a directory")%filename, parent)
+                return False
+            else:
+                return self.yesno_message(_("The file %s already exists.\n" +
+                                            "Do you want to overwrite it?") %
+                                          filename, parent)
+        return True
+        
+    def on_export_keys_activate(self, obj):
+        "Callback for 'Export Keys' menu item"
+        if self.keys_treeview.get_selection().count_selected_rows() < 1:
+            return
+
+        export_file = None
+        dialog = self.export_file_dialog
+        dialog.set_transient_for(self.main_window)
+        while export_file == None and dialog.run() == gtk.RESPONSE_OK:
+            filename = dialog.get_filename()
+            if self.verify_output(filename, dialog):
+                try:
+                    export_file = open(filename, "wb")
+                except IOError as strerror:
+                    self.error_message(strerror, dialog)
+                    export_file = None
+        dialog.hide()
+        if export_file == None:
+            return
+
+        export_keys = self.export_selected_keys(export_armor_cb.get_active())
+        export_file.write(export_keys.read())
+        export_file.close()                
+
+    def on_files_changed(self, obj):
+        "Callback called when selection of files in filemanager is changed"
+        if self.files_treeview.get_selection().count_selected_rows() < 1:
+            value = False
+        else:
+            value = True
+        for item in (self.sign, self.verify, self.encrypt, self.decrypt):
+            item.set_sensitive(value)
+
+    def open(self, filename, complain=False):
+        "Helper function to add a file into filemanager treeview"
+        model = self.files_treeview.get_model()
+        row_list = []
+        model.foreach(lambda m,p,i,l: l.append(m[p][0]), row_list)
+        if filename in row_list:
+            if complain:
+                self.file_error_message(_("The file is already open."))
+        else:
+            item = model.append([filename])
+            self.files_treeview.get_selection().select_iter(item)
+            self.on_files_changed(None)        
+
+    def on_open_activate(self, obj):
+        "Callback for 'Open' menu item"
+        if self.file_popup(self.open_file_dialog) == gtk.RESPONSE_OK:
+            self.add_file(self.open_file_dialog.get_filename(), True)
+        self.open_file_dialog.unselect_all()
+
+    def get_selected_files(self):
+        "Helper function to return selected rows in filemanager treeview"
+        return self.get_selected_keys(self.files_treeview)
+
+    def on_clear_activate(self, obj):
+        "Callback for 'Clear' menu item"
+        for row in self.get_selected_files():
+            row.model.remove(row.iter)
+
+    def process_file_start(self, in_name, out_name):
+        "Helper function to start asynchronous processing of one file"
+        if self.verify_output(out_name, self.filemanager_window):
+            try:
+                self.in_data = Data(file=in_name)
+                self.out_data = Data()
+                self.out_name = out_name
+                self.file_func(self.in_data, self.out_data)
+            except errors.GPGMEError as exc:
+                self.file_error_message(exc)
+
+    def process_file_done(self, status):
+        "The function called when asynchronous processing of the file is done."
+        try:
+            errors.errorcheck(status)
+            self.out_data.seek(0,0)
+            out_file = file(self.out_name, "wb")
+            out_file.write(self.out_data.read())
+            out_file.close()
+            self.add_file(self.out_name)
+            if self.file_list:
+                self.process_file_start(*(self.file_list.pop(0)))
+                return True
+        except (errors.GPGMEError, IOError) as exc:
+            self.file_error_message(exc)
+
+        # Let python to free the memory.
+        self.out_data = None
+        self.in_data = None
+        self.out_name = None
+        self.file_list = []
+        self.file_func = None
+        return False
+
+    def process_files_async(self, file_list, func, label):
+        "Helper function to initialize async processing of the file list"
+        self.file_list = file_list
+        self.file_func = func
+        self.progress_func = self.process_file_done
+        self.process_file_start(*(self.file_list.pop(0)))
+        self.popup_progress_dialog(label, self.filemanager_window)
+
+    def on_sign_activate(self, obj):
+        "Callback for 'Sign' menu item"
+        files = self.get_selected_files()
+        if not files: return
+        
+        if self.file_popup(self.sign_dialog) == gtk.RESPONSE_OK:
+            context = Context()
+            context.set_passphrase_cb(self.password_cb)
+            context.set_armor(self.sign_armor_cb.get_active())
+            for rw in self.get_selected_keys(self.sign_with_keys_treeview):
+                context.signers_add(rw[-1].key)
+            for cb,md,ext in [(self.sign_normal, sig.mode.NORMAL, ".gpg"),
+                              (self.sign_clear, sig.mode.CLEAR, ".asc"),
+                              (self.sign_separate,sig.mode.DETACH,".sig")]:
+                if cb.get_active():
+                    sigmode = md
+                    sigext = ext
+                    break
+            self.progress_context = context
+            def sign(x,y):self.progress_context.op_sign_start(x,y,sigmode)
+            self.process_files_async([(f[0], f[0]+sigext) for f in files],
+                                     sign, _("Signing..."))
+
+    def verify_file_start(self, in_name, out_name):
+        "Helper function to start file signature verification process"
+        try:
+            self.in_name = in_name
+            self.out_name = out_name
+            self.signed = Data(file=self.in_name)
+            if out_name:
+                self.plain1 = Data(file=self.out_name)
+                self.plain2 = None
+            else:
+                self.plain1 = None
+                self.plain2 = Data()
+            self.progress_context.op_verify_start(self.signed, self.plain1,
+                                                  self.plain2)
+        except errors.GPGMEError as exc:
+            self.file_error_message(exc)
+
+    def verify_file_done(self, status):
+        "The function called when asynchronous file signature verify is done."
+        try:
+            errors.errorcheck(status)
+            result = self.progress_context.op_verify_result()
+
+            model = gtk.ListStore(str, str, str)
+            treeview = gtk.TreeView(model)
+            treeview.set_rules_hint(True)
+            for index, title in enumerate([_("Key ID"), _("Status"),
+                                           _("User Name")]):
+                treeview.append_column(gtk.TreeViewColumn(
+                    title, gtk.CellRendererText(), text=index))
+            for sign in result.signatures:
+                key = self.progress_context.get_key(sign.fpr, 0)
+                if key and key.uids:
+                    keyid = key.subkeys[0].keyid[-8:]
+                    userid = key.uids[0].uid
+                else:
+                    keyid = sign.fpr[-8:]
+                    userid = _("[Unknown user ID]")
+                model.append([keyid, sigsum2str(sign.summary), userid])
+                    
+            vbox = gtk.VBox()
+            if self.out_name:
+                vbox.add(gtk.Label(_("Verified data in file: %s") %
+                                   self.out_name))
+            label = gtk.Label(_("Signatures:"))
+            label.set_alignment(0, 1)
+            vbox.add(label)
+            vbox.add(treeview)
+            self.verified.append((vbox, gtk.Label(self.in_name)))
+            if self.file_list:
+                self.verify_file_start(*(self.file_list.pop(0)))
+                return True
+        except errors.GPGMEError as exc:
+            self.file_error_message(exc)
+
+        # Let python to free the memory.
+        self.signed = None
+        self.plain1 = None
+        self.plain2 = None
+        self.in_name = None
+        self.out_name = None
+        self.file_list = []
+        self.progress_dialog.hide()
+        
+        if self.verified:
+            notebook = gtk.Notebook()
+            for page in self.verified: notebook.append_page(*page)
+            self.verify_result.add(notebook)
+            self.verify_result.show_all()
+            self.file_popup(self.verify_dialog)
+            self.verify_result.remove(notebook)
+            self.verified = []
+        
+        return False
+
+    def on_verify_activate(self, obj):
+        "Callback for 'Verify' menu item"
+        files = self.get_selected_files()
+        if not files: return
+        
+        self.file_list = []
+        for onefile in files:
+            in_name = onefile[0]
+            if in_name[-4:] == ".sig":
+                out_name = in_name[:-4]
+            elif in_name[-5:] == ".sign":
+                out_name = in_name[:-5]
+            else:
+                out_name = None
+            self.file_list.append((in_name, out_name))
+        self.verified = []
+        self.progress_context = Context()
+        self.progress_func = self.verify_file_done
+        self.verify_file_start(*(self.file_list.pop(0)))
+        self.popup_progress_dialog(_("Verifying..."), self.filemanager_window)
+
+    def on_encrypt_sign_toggled(self, cb):
+        "Callback for change of the 'Sign' check box in 'Encrypt files' dialog"
+        self.encrypt_with_keys_treeview.set_sensitive(cb.get_active())
+
+    def on_encrypt_activate(self, obj):
+        "Callback for 'Encrypt' menu item"
+        files = self.get_selected_files()
+        if not files: return
+        
+        self.on_encrypt_sign_toggled(self.encrypt_sign_cb)
+        if self.file_popup(self.encrypt_dialog) == gtk.RESPONSE_OK:
+            context = Context()
+            context.set_passphrase_cb(self.password_cb)
+            if self.encrypt_armor_cb.get_active():
+                context.set_armor(True)
+                ext = ".asc"
+            else:
+                context.set_armor(False)
+                ext = ".gpg"
+            keylist = [row[-1].key for row in self.get_selected_keys(
+                self.encrypt_for_keys_treeview)]
+            if self.encrypt_sign_cb.get_active():
+                for row in self.get_selected_keys(
+                    self.encrypt_with_keys_treeview):
+                    context.signers_add(row[-1].key)
+                def encrypt(x,y):
+                    self.progress_context.op_encrypt_sign_start(
+                        keylist, 1, x, y)
+            else:
+                def encrypt(x,y):
+                    self.progress_context.op_encrypt_start(
+                        keylist, 1, x, y)
+            self.progress_context = context
+            self.process_files_async([(f[0], f[0]+sigext) for f in files],
+                                     encrypt, _("Encrypting..."))
+                
+    def on_decrypt_activate(self, obj):
+        "Callback for 'Decrypt' menu item"
+        files = self.get_selected_files()
+        if not files: return
+        
+        file_list = []
+        for onefile in self.get_selected_files():
+            in_name = onefile[0]
+            if in_name[-4:] in [".asc", ".gpg", ".pgp"]:
+                out_name = in_name[:-4]
+            else:
+                out_name = in_name + ".txt"
+            file_list.append((in_name, out_name))
+        self.process_context = Context()
+        self.process_files_async(file_list,
+                                 self.process_context.op_decrypt_start,
+                                 _("Decrypting..."))
+
+    def on_select_all_files_activate(self, obj):
+        "Callback for 'Select All' menu item in filemanager"
+        self.files_treeview.get_selection().select_all()
+
+    def on_keyring_editor_activate(self, obj):
+        "Callback for 'Keyring Editor' menu item"
+        self.main_window.show()
+
+    def on_keyring_editor_close_activate(self, obj, event=None):
+        "Callback for 'Close' menu item in Keyring Editor"
+        if self.filemanager_window.get_property("visible"):
+            self.main_window.hide()
+            return True
+        else:
+            self.on_quit_activate(None)    
+
+    def on_filemanager_activate(self, obj):
+        "Callback for 'Filemanager' menu item"
+        self.on_files_changed(None)
+        self.filemanager_window.show()
+
+    def on_filemanager_close_activate(self, obj, event=None):
+        "Callback for 'Close' menu item in Filemanager"
+        if self.main_window.get_property("visible"):
+            self.filemanager_window.hide()
+            return True
+        else:
+            self.on_quit_activate(None)
+
+    def on_about_activate(self, obj):
+        "Callback for 'About' menu item"
+        self.popup(self.about_dialog)
+
+    def __repr__(self):
+        return self.__class__.__name__
+
+    def __getattr__(self, name):
+        "Dynamic retrieval of widgets from the glade XML"
+        if name.startswith("on_"):
+            self.__dict__[name] = lambda x: sys.stderr.write(
+                _("Callback %s is not implimented yet\n") % name)
+        elif name.startswith("_"):
+            return None
+        else:
+            self.__dict__[name] = self.wtree.get_widget(name)
+            return self.__dict__[name]
+        
+    def __init__(self, path):
+        "PyGpa(path) - path is where pygpa.glade file can be found"
+        gladefile = os.path.join(path, "pygpa.glade")
+        self.wtree = gtk.glade.XML(gladefile, None, gtk.glade.textdomain())
+        self.wtree.signal_autoconnect(self)
+
+        self.default_key = None
+        self.load_keys()
+        self.setup_columns()
+        self.setup_default_views()
+        self.in_progress = {}
+        
+        gtk.main()
+
+    def on_quit_activate(self, obj):
+        gtk.main_quit()
+
+PyGpa(os.path.dirname(sys.argv[0]))
diff --git a/lang/py3-pyme/examples/sign.py b/lang/py3-pyme/examples/sign.py
new file mode 100755
index 0000000..a0572fc
--- /dev/null
+++ b/lang/py3-pyme/examples/sign.py
@@ -0,0 +1,31 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2002 John Goerzen
+# <jgoerzen at complete.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+from pyme import core, callbacks
+from pyme.constants.sig import mode
+
+core.check_version(None)
+
+plain = core.Data("Test message")
+sig = core.Data()
+c = core.Context()
+c.set_passphrase_cb(callbacks.passphrase_stdin, 'for signing')
+c.op_sign(plain, sig, mode.CLEAR)
+sig.seek(0,0)
+print(sig.read())
diff --git a/lang/py3-pyme/examples/signverify.py b/lang/py3-pyme/examples/signverify.py
new file mode 100755
index 0000000..20c9181
--- /dev/null
+++ b/lang/py3-pyme/examples/signverify.py
@@ -0,0 +1,78 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+# Sample of unattended signing/verifying of a message.
+# It uses keys for joe at foo.bar generated by genkey.pl script
+
+import sys
+from pyme import core, callbacks
+from pyme.constants.sig import mode
+
+core.check_version(None)
+
+plain = core.Data("Test message")
+sig = core.Data()
+c = core.Context()
+user = "joe at foo.bar"
+
+c.signers_clear()
+# Add joe at foo.bar's keys in the list of signers
+for sigkey in c.op_keylist_all(user, 1):
+    if sigkey.can_sign:
+        c.signers_add(sigkey)
+if not c.signers_enum(0):
+    print("No secret %s's keys suitable for signing!" % user)
+    sys.exit(0)
+
+# This is a map between signer e-mail and its password
+passlist = {
+    "<joe at foo.bar>": "abcdabcdfs"
+    }
+    
+# callback will return password based on the e-mail listed in the hint.
+c.set_passphrase_cb(lambda x,y,z: passlist[x[x.rindex("<"):]])
+
+c.op_sign(plain, sig, mode.CLEAR)
+
+# Print out the signature (don't forget to rewind since signing put sig at EOF)
+sig.seek(0,0)
+signedtext = sig.read()
+print(signedtext)
+
+# Create Data with signed text.
+sig2 = core.Data(signedtext)
+plain2 = core.Data()
+
+# Verify.
+c.op_verify(sig2, None, plain2)
+result = c.op_verify_result()
+
+# List results for all signatures. Status equal 0 means "Ok".
+index = 0
+for sign in result.signatures:
+    index += 1
+    print("signature", index, ":")
+    print("  summary:    ", sign.summary)
+    print("  status:     ", sign.status)
+    print("  timestamp:  ", sign.timestamp)
+    print("  fingerprint:", sign.fpr)
+    print("  uid:        ", c.get_key(sign.fpr, 0).uids[0].uid)
+
+# Print "unsigned" text. Rewind since verify put plain2 at EOF.
+plain2.seek(0,0)
+print("\n", plain2.read())
diff --git a/lang/py3-pyme/examples/simple.py b/lang/py3-pyme/examples/simple.py
new file mode 100755
index 0000000..ceda3d9
--- /dev/null
+++ b/lang/py3-pyme/examples/simple.py
@@ -0,0 +1,52 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2005 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+import sys
+from pyme import core, constants, errors
+import pyme.constants.validity
+
+core.check_version(None)
+
+# Set up our input and output buffers.
+
+plain = core.Data('This is my message.')
+cipher = core.Data()
+
+# Initialize our context.
+
+c = core.Context()
+c.set_armor(1)
+
+# Set up the recipients.
+
+sys.stdout.write("Enter name of your recipient: ")
+name = sys.stdin.readline().strip()
+c.op_keylist_start(name, 0)
+r = c.op_keylist_next()
+
+if r == None:
+    print("The key for user \"%s\" was not found" % name)
+else:
+    # Do the encryption.
+    try:
+        c.op_encrypt([r], 1, plain, cipher)
+        cipher.seek(0,0)
+        print(cipher.read())
+    except errors.GPGMEError as ex:
+        print(ex.getstring())
diff --git a/lang/py3-pyme/examples/t-edit.py b/lang/py3-pyme/examples/t-edit.py
new file mode 100644
index 0000000..24d36d3
--- /dev/null
+++ b/lang/py3-pyme/examples/t-edit.py
@@ -0,0 +1,59 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2005 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+import os
+from pyme import core
+from pyme.core import Data, Context
+
+core.check_version(None)
+
+class KeyEditor:
+    def __init__(self):
+        self.steps = ["fpr", "expire", "1", "primary", "quit"]
+        self.step = 0
+
+    def edit_fnc(self, status, args, out):
+        print("[-- Response --]")
+        out.seek(0,0)
+        print(out.read(), end=' ')
+        print("[-- Code: %d, %s --]" % (status, args))
+    
+        if args == "keyedit.prompt":
+            result = self.steps[self.step]
+            self.step += 1
+        elif args == "keyedit.save.okay":
+            result = "Y"
+        elif args == "keygen.valid":
+            result = "0"
+        else:
+            result = None
+
+        return result
+
+if not os.getenv("GNUPGHOME"):
+    print("Please, set GNUPGHOME env.var. pointing to GPGME's tests/gpg dir")
+else:
+    c = Context()
+    c.set_passphrase_cb(lambda x,y,z: "abc")
+    out = Data()
+    c.op_keylist_start("Alpha", 0)
+    key = c.op_keylist_next()
+    c.op_edit(key, KeyEditor().edit_fnc, out, out)
+    print("[-- Last response --]")
+    out.seek(0,0)
+    print(out.read(), end=' ')
diff --git a/lang/py3-pyme/examples/testCMSgetkey.py b/lang/py3-pyme/examples/testCMSgetkey.py
new file mode 100644
index 0000000..b0d3eb7
--- /dev/null
+++ b/lang/py3-pyme/examples/testCMSgetkey.py
@@ -0,0 +1,45 @@
+#!/usr/bin/env python3
+# initial 20080124 bernhard at intevation.de
+# 20080124-2: removed some superflous imports
+# 20080703: adapted for pyme-0.8.0
+# This script is Free Software under GNU GPL v>=2.
+"""A test applicaton for gpg_get_key() protocol.CMS.
+
+Tested on Debian Etch with
+    pyme           0.8.0 (manually compiled)
+    libgpgme11     1.1.6-0kk2
+    gpgsm          2.0.9-0kk2
+"""
+
+import sys
+from pyme import core
+from pyme.constants import protocol
+
+def printgetkeyresults(keyfpr):
+    """Run gpgme_get_key()."""
+
+    # gpgme_check_version() necessary for initialisation according to 
+    # gogme 1.1.6 and this is not done automatically in pyme-0.7.0
+    print("gpgme version:", core.check_version(None))
+    c = core.Context()
+    c.set_protocol(protocol.CMS)
+
+    key = c.get_key(keyfpr, False)
+
+    print("got key: ", key.subkeys[0].fpr)
+
+    for uid in key.uids:
+        print(uid.uid)
+
+def main():
+    if len(sys.argv) < 2:
+        print("fingerprint or unique key ID for gpgme_get_key()")
+        sys.exit(1)
+
+    printgetkeyresults(sys.argv[1])
+
+
+if __name__ == "__main__":
+    main()
+
+ 	  	 
diff --git a/lang/py3-pyme/examples/verifydetails.py b/lang/py3-pyme/examples/verifydetails.py
new file mode 100755
index 0000000..8784487
--- /dev/null
+++ b/lang/py3-pyme/examples/verifydetails.py
@@ -0,0 +1,100 @@
+#!/usr/bin/env python3
+# initial 20080123 build from the example:
+#   very simple - probably INCOMPLETE
+# 20080703 Bernhard
+#   added second usage for detached signatures.
+#   added output of signature.summary (another bitfield)
+#   printing signature bitfield in hex format
+#
+# $Id$
+#
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (c) 2008 Bernhard Reiter <bernhard at intevation.de>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+import sys
+from pyme import core, callbacks, constants
+from pyme.constants.sig import mode
+from pyme.constants import protocol
+
+def print_engine_infos():
+    print("gpgme version:", core.check_version(None))
+    print("engines:")
+
+    for engine in core.get_engine_info():
+        print(engine.file_name, engine.version)
+
+    for proto in [protocol.OpenPGP, protocol.CMS]:
+        print(core.get_protocol_name(proto), core.engine_check_version(proto))
+
+
+def verifyprintdetails(sigfilename, filefilename=None):
+    """Verify a signature, print a lot of details."""
+    c = core.Context()
+
+    # Create Data with signed text.
+    sig2 = core.Data(file=sigfilename)
+    if filefilename:
+        file2 = core.Data(file=filefilename)
+        plain2 = None
+    else:
+        file2 = None
+        plain2 = core.Data()
+
+    # Verify.
+    c.op_verify(sig2, file2, plain2)
+    result = c.op_verify_result()
+
+    # List results for all signatures. Status equal 0 means "Ok".
+    index = 0
+    for sign in result.signatures:
+        index += 1
+        print("signature", index, ":")
+        print("  summary:     %#0x" % (sign.summary))
+        print("  status:      %#0x" % (sign.status))
+        print("  timestamp:  ", sign.timestamp)
+        print("  fingerprint:", sign.fpr)
+        print("  uid:        ", c.get_key(sign.fpr, 0).uids[0].uid)
+
+    # Print "unsigned" text if inline signature
+    if plain2:
+        #Rewind since verify put plain2 at EOF.
+        plain2.seek(0,0)
+        print("\n", plain2.read())
+
+def main():
+    print_engine_infos()
+
+    print()
+
+    argc= len(sys.argv)
+    if argc < 2 or argc > 3:
+        print("need a filename for inline signature")
+        print("or two filename for detached signature and file to check")
+        sys.exit(1)
+
+    if argc == 2:
+        print("trying to verify file: " + sys.argv[1])
+        verifyprintdetails(sys.argv[1])
+    if argc == 3:
+        print("trying to verify signature %s for file %s" \
+                    % (sys.argv[1], sys.argv[2]))
+
+        verifyprintdetails(sys.argv[1], sys.argv[2])
+
+if __name__ == "__main__":
+    main()
+
+ 	  	 
diff --git a/lang/py3-pyme/gpgme-h-clean.py b/lang/py3-pyme/gpgme-h-clean.py
new file mode 100755
index 0000000..5313a83
--- /dev/null
+++ b/lang/py3-pyme/gpgme-h-clean.py
@@ -0,0 +1,42 @@
+#!/usr/bin/env python3
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+import sys, re
+
+if len(sys.argv) < 2:
+    sys.stderr.write("Usage: %s gpgme.h\n" % sys.argv[0])
+    sys.exit(1)
+
+deprec_func=re.compile('^(.*typedef.*|.*\(.*\))\s*_GPGME_DEPRECATED;\s*',re.S)
+line_break=re.compile(';|\\$|\\x0c|^\s*#');
+try:
+    gpgme = open(sys.argv[1])
+    tmp = gpgme.readline()
+    text = ''
+    while tmp:
+        text += re.sub(' class ', ' _py_obsolete_class ', tmp)
+        if line_break.search(tmp):
+            if not deprec_func.search(text):
+                sys.stdout.write(text)
+            text = ''
+        tmp = gpgme.readline()
+    sys.stdout.write(text)
+    gpgme.close()
+except IOError as errmsg:
+    sys.stderr.write("%s: %s\n" % (sys.argv[0], errmsg))
+    sys.exit(1)
diff --git a/lang/py3-pyme/gpgme.i b/lang/py3-pyme/gpgme.i
new file mode 100644
index 0000000..0115caf
--- /dev/null
+++ b/lang/py3-pyme/gpgme.i
@@ -0,0 +1,267 @@
+/*
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+*/
+%module pygpgme
+%include "cpointer.i"
+%include "cstring.i"
+
+// Generate doc strings for all methods.
+%feature("autodoc", "0");
+
+// Allow use of None for strings.
+
+%typemap(in) const char * {
+  if ($input == Py_None)
+    $1 = NULL;
+  else if (PyBytes_Check($input))
+    $1 = PyBytes_AsString($input);
+  else {
+    PyErr_Format(PyExc_TypeError,
+                 "arg %d: expected string or None, got %s",
+		 $argnum, $input->ob_type->tp_name);
+    return NULL;
+  }
+}
+%typemap(freearg) const char * "";
+
+// Release returned buffers as necessary.
+%typemap(newfree) char * "free($1);";
+%newobject gpgme_data_release_and_get_mem;
+
+%{
+/* Convert object to a pointer to gpgme type */
+PyObject* object_to_gpgme_t(PyObject* input, const char* objtype, int argnum) {
+  PyObject *pyname = NULL, *pypointer = NULL;
+  pyname = PyObject_CallMethod(input, "_getctype", NULL);
+  if (pyname == NULL) {
+    PyErr_Format(PyExc_TypeError,
+		 "arg %d: Expected an instance of type %s, but got %s",
+		 argnum, objtype,
+		 input == Py_None ? "None" : input->ob_type->tp_name);
+    return NULL;
+  }
+  if (strcmp(PyBytes_AsString(pyname), objtype) != 0) {
+    PyErr_Format(PyExc_TypeError,
+		 "arg %d: Expected value of type %s, but got %s",
+		 argnum, objtype, PyBytes_AsString(pyname));
+    Py_DECREF(pyname);
+    return NULL;
+  }
+  Py_DECREF(pyname);
+  pypointer = PyObject_GetAttrString(input, "wrapped");
+  if (pypointer == NULL) {
+    PyErr_Format(PyExc_TypeError,
+		 "arg %d: Use of uninitialized Python object %s",
+		 argnum, objtype);
+    return NULL;
+  }
+  return pypointer;
+}
+%}
+
+%typemap(arginit) gpgme_key_t [] {
+  $1 = NULL;
+}
+
+%typemap(in) gpgme_key_t [] {
+  int i, numb = 0;
+  if (!PySequence_Check($input)) {
+    PyErr_Format(PyExc_ValueError, "arg %d: Expected a list of gpgme_key_t",
+		 $argnum);
+    return NULL;
+  }
+  if((numb = PySequence_Length($input)) != 0) {
+    $1 = (gpgme_key_t*)malloc((numb+1)*sizeof(gpgme_key_t));
+    for(i=0; i<numb; i++) {
+      PyObject *pypointer = PySequence_GetItem($input, i);
+
+      /* input = $input, 1 = $1, 1_descriptor = $1_descriptor */
+      /* &1_descriptor = $&1_descriptor *1_descriptor = $*1_descriptor */
+
+      // Following code is from swig's python.swg
+      if ((SWIG_ConvertPtr(pypointer,(void **) &$1[i], $*1_descriptor,SWIG_POINTER_EXCEPTION | $disown )) == -1) {
+	Py_DECREF(pypointer);
+	return NULL;
+      }
+      Py_DECREF(pypointer);
+    }
+    $1[numb] = NULL;
+  }
+}
+%typemap(freearg) gpgme_key_t [] {
+  if ($1) free($1);
+}
+
+// Special handling for references to our objects.
+%typemap(in) gpgme_data_t DATAIN {
+  if ($input == Py_None)
+    $1 = NULL;
+  else {
+    PyObject *pypointer = NULL;
+
+    if((pypointer=object_to_gpgme_t($input, "$1_ltype", $argnum)) == NULL)
+      return NULL;
+
+    /* input = $input, 1 = $1, 1_descriptor = $1_descriptor */
+
+    // Following code is from swig's python.swg
+
+    if ((SWIG_ConvertPtr(pypointer,(void **) &$1, $1_descriptor,
+         SWIG_POINTER_EXCEPTION | $disown )) == -1) {
+      Py_DECREF(pypointer);
+      return NULL;
+    }
+    Py_DECREF(pypointer);
+  }
+}
+
+%apply gpgme_data_t DATAIN {gpgme_data_t plain, gpgme_data_t cipher,
+			gpgme_data_t sig, gpgme_data_t signed_text,
+			gpgme_data_t plaintext, gpgme_data_t keydata,
+			gpgme_data_t pubkey, gpgme_data_t seckey,
+			gpgme_data_t out};
+
+// SWIG has problem interpreting ssize_t, off_t or gpgme_error_t in gpgme.h
+%typemap(out) ssize_t, off_t, gpgme_error_t, gpgme_err_code_t, gpgme_err_source_t, gpg_error_t {
+  $result = PyLong_FromLong($1);
+}
+%typemap(in) ssize_t, off_t, gpgme_error_t, gpgme_err_code_t, gpgme_err_source_t, gpg_error_t {
+  $1 = PyLong_AsLong($input);
+}
+
+// Those are for gpgme_data_read() and gpgme_strerror_r()
+%typemap(in) (void *buffer, size_t size), (char *buf, size_t buflen) {
+   $2 = PyLong_AsLong($input);
+   if ($2 < 0) {
+     PyErr_SetString(PyExc_ValueError, "Positive integer expected");
+     return NULL;
+   }
+   $1 = ($1_ltype) malloc($2+1);
+}
+%typemap(argout) (void *buffer, size_t size), (char *buf, size_t buflen) {
+  Py_XDECREF($result);   /* Blow away any previous result */
+  if (result < 0) {      /* Check for I/O error */
+    free($1);
+    return NULL;
+  }
+  $result = PyBytes_FromStringAndSize($1,result);
+  free($1);
+}
+
+// Make types containing 'next' field to be lists
+%ignore next;
+%typemap(out) gpgme_sig_notation_t, gpgme_engine_info_t, gpgme_subkey_t, gpgme_key_sig_t,
+	gpgme_user_id_t, gpgme_invalid_key_t, gpgme_recipient_t, gpgme_new_signature_t,
+	gpgme_signature_t, gpgme_import_status_t, gpgme_conf_arg_t, gpgme_conf_opt_t,
+	gpgme_conf_comp_t {
+  int i;
+  int size = 0;
+  $1_ltype curr;
+  for (curr = $1; curr != NULL; curr = curr->next) {
+    size++;
+  }
+  $result = PyList_New(size);
+  for (i=0,curr=$1; i<size; i++,curr=curr->next) {
+    PyObject *o = SWIG_NewPointerObj(SWIG_as_voidptr(curr), $1_descriptor, %newpointer_flags);
+    PyList_SetItem($result, i, o);
+  }
+}
+
+// Include mapper for edit callbacks
+%typemap(in) (gpgme_edit_cb_t fnc, void *fnc_value) {
+  $1 = (gpgme_edit_cb_t) pyEditCb;
+  if ($input == Py_None)
+    $2 = NULL;
+  else
+    $2 = $input;
+}
+
+// Include the header file both for cc (first) and for swig (second)
+// Include for swig locally since we need to fix 'class' usage there.
+%{
+#include <gpgme.h>
+%}
+%include "gpgme.h"
+
+%constant long EOF = GPG_ERR_EOF;
+
+// Generating and handling pointers-to-pointers.
+
+%pointer_functions(gpgme_ctx_t, gpgme_ctx_t_p);
+%pointer_functions(gpgme_data_t, gpgme_data_t_p);
+%pointer_functions(gpgme_key_t, gpgme_key_t_p);
+%pointer_functions(gpgme_error_t, gpgme_error_t_p);
+%pointer_functions(gpgme_trust_item_t, gpgme_trust_item_t_p);
+%pointer_functions(gpgme_engine_info_t, gpgme_engine_info_t_p);
+%pointer_functions(PyObject *, PyObject_p_p);
+%pointer_functions(void *, void_p_p);
+
+// Helper functions.
+
+%{
+#include <stdio.h>
+%}
+FILE *fdopen(int fildes, const char *mode);
+
+%{
+#include "helpers.h"
+%}
+%include "helpers.h"
+
+%{
+gpgme_error_t pyEditCb(void *opaque, gpgme_status_code_t status,
+		       const char *args, int fd) {
+  PyObject *func = NULL, *dataarg = NULL, *pyargs = NULL, *retval = NULL;
+  PyObject *pyopaque = (PyObject *) opaque;
+  gpgme_error_t err_status = 0;
+
+  pygpgme_exception_init();
+
+  if (PyTuple_Check(pyopaque)) {
+    func = PyTuple_GetItem(pyopaque, 0);
+    dataarg = PyTuple_GetItem(pyopaque, 1);
+    pyargs = PyTuple_New(3);
+  } else {
+    func = pyopaque;
+    pyargs = PyTuple_New(2);
+  }
+  
+  PyTuple_SetItem(pyargs, 0, PyLong_FromLong((long) status));
+  PyTuple_SetItem(pyargs, 1, PyBytes_FromString(args));
+  if (dataarg) {
+    Py_INCREF(dataarg);		/* Because GetItem doesn't give a ref but SetItem taketh away */
+    PyTuple_SetItem(pyargs, 2, dataarg);
+  }
+  
+  retval = PyObject_CallObject(func, pyargs);
+  Py_DECREF(pyargs);
+  if (PyErr_Occurred()) {
+    err_status = pygpgme_exception2code();
+  } else {
+    if (fd>=0 && retval) {
+      write(fd, PyBytes_AsString(retval), PyBytes_Size(retval));
+      write(fd, "\n", 1);
+    }
+  }
+
+  Py_XDECREF(retval);
+  return err_status;
+}
+%}
+
diff --git a/lang/py3-pyme/helpers.c b/lang/py3-pyme/helpers.c
new file mode 100644
index 0000000..b53dbdd
--- /dev/null
+++ b/lang/py3-pyme/helpers.c
@@ -0,0 +1,154 @@
+/*
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+*/
+#include <stdio.h>
+#include <gpgme.h>
+#include <stdlib.h>
+#include <string.h>
+#include "Python.h"
+#include "helpers.h"
+
+static PyObject *GPGMEError = NULL;
+
+void pygpgme_exception_init(void) {
+  if (GPGMEError == NULL) {
+    PyObject *errors;
+    errors = PyImport_ImportModule("errors");
+    if (errors) {
+      GPGMEError=PyDict_GetItemString(PyModule_GetDict(errors), "GPGMEError");
+      Py_XINCREF(GPGMEError);
+    }
+  }
+}
+
+gpgme_error_t pygpgme_exception2code(void) {
+  gpgme_error_t err_status = gpg_error(GPG_ERR_GENERAL);
+  if (GPGMEError && PyErr_ExceptionMatches(GPGMEError)) {
+    PyObject *type = 0, *value = 0, *traceback = 0;
+    PyObject *error = 0;
+    PyErr_Fetch(&type, &value, &traceback);
+    PyErr_NormalizeException(&type, &value, &traceback);
+    error = PyObject_GetAttrString(value, "error");
+    err_status = PyLong_AsLong(error);
+    Py_DECREF(error);
+    PyErr_Restore(type, value, traceback);
+  }
+  return err_status;
+}
+
+void pygpgme_clear_generic_cb(PyObject **cb) {
+  Py_DECREF(*cb);
+}
+
+static gpgme_error_t pyPassphraseCb(void *hook,
+				    const char *uid_hint,
+				    const char *passphrase_info,
+				    int prev_was_bad,
+				    int fd) {
+  PyObject *pyhook = (PyObject *) hook;
+  PyObject *func = NULL;
+  PyObject *args = NULL;
+  PyObject *retval = NULL;
+  PyObject *dataarg = NULL;
+  gpgme_error_t err_status = 0;  
+
+  pygpgme_exception_init();
+
+  if (PyTuple_Check(pyhook)) {
+    func = PyTuple_GetItem(pyhook, 0);
+    dataarg = PyTuple_GetItem(pyhook, 1);
+    args = PyTuple_New(4);
+  } else {
+    func = pyhook;
+    args = PyTuple_New(3);
+  }
+
+  PyTuple_SetItem(args, 0, PyBytes_FromString(uid_hint));
+  PyTuple_SetItem(args, 1, PyBytes_FromString(passphrase_info));
+  PyTuple_SetItem(args, 2, PyBool_FromLong((long)prev_was_bad));
+  if (dataarg) {
+    Py_INCREF(dataarg);		/* Because GetItem doesn't give a ref but SetItem taketh away */
+    PyTuple_SetItem(args, 3, dataarg);
+  }
+
+  retval = PyObject_CallObject(func, args);
+  Py_DECREF(args);
+  if (PyErr_Occurred()) {
+    err_status = pygpgme_exception2code();
+  } else {
+    if (!retval) {
+      write(fd, "\n", 1);
+    } else {
+      write(fd, PyBytes_AsString(retval), PyBytes_Size(retval));
+      write(fd, "\n", 1);
+      Py_DECREF(retval);
+    }
+  }
+
+  return err_status;
+}
+
+void pygpgme_set_passphrase_cb(gpgme_ctx_t ctx, PyObject *cb,
+			       PyObject **freelater) {
+  if (cb == Py_None) {
+    gpgme_set_passphrase_cb(ctx, NULL, NULL);
+    return;
+  }
+  Py_INCREF(cb);
+  *freelater = cb;
+  gpgme_set_passphrase_cb(ctx, (gpgme_passphrase_cb_t)pyPassphraseCb, (void *) cb);
+}
+
+static void pyProgressCb(void *hook, const char *what, int type, int current,
+			 int total) {
+  PyObject *func = NULL, *dataarg = NULL, *args = NULL, *retval = NULL;
+  PyObject *pyhook = (PyObject *) hook;
+  
+  if (PyTuple_Check(pyhook)) {
+    func = PyTuple_GetItem(pyhook, 0);
+    dataarg = PyTuple_GetItem(pyhook, 1);
+    args = PyTuple_New(5);
+  } else {
+    func = pyhook;
+    args = PyTuple_New(4);
+  }
+
+  PyTuple_SetItem(args, 0, PyBytes_FromString(what));
+  PyTuple_SetItem(args, 1, PyLong_FromLong((long) type));
+  PyTuple_SetItem(args, 2, PyLong_FromLong((long) current));
+  PyTuple_SetItem(args, 3, PyLong_FromLong((long) total));
+  if (dataarg) {
+    Py_INCREF(dataarg);		/* Because GetItem doesn't give a ref but SetItem taketh away */
+    PyTuple_SetItem(args, 4, dataarg);
+  }
+  
+  retval = PyObject_CallObject(func, args);
+  Py_DECREF(args);
+  Py_XDECREF(retval);
+}
+
+void pygpgme_set_progress_cb(gpgme_ctx_t ctx, PyObject *cb, PyObject **freelater){
+  if (cb == Py_None) {
+    gpgme_set_progress_cb(ctx, NULL, NULL);
+    return;
+  }
+  Py_INCREF(cb);
+  *freelater = cb;
+  gpgme_set_progress_cb(ctx, (gpgme_progress_cb_t) pyProgressCb, (void *) cb);
+}
diff --git a/lang/py3-pyme/helpers.h b/lang/py3-pyme/helpers.h
new file mode 100644
index 0000000..12d7cfa
--- /dev/null
+++ b/lang/py3-pyme/helpers.h
@@ -0,0 +1,36 @@
+/*
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+*/
+
+#include <gpgme.h>
+#include "Python.h"
+
+#ifdef _WIN32
+#include <windows.h>
+#define write(fd, str, sz) {DWORD written; WriteFile((HANDLE) fd, str, sz, &written, 0);}
+#endif
+
+void pygpgme_exception_init(void);
+gpgme_error_t pygpgme_exception2code(void);
+
+void pygpgme_clear_generic_cb(PyObject **cb);
+
+void pygpgme_set_passphrase_cb(gpgme_ctx_t ctx, PyObject *cb,
+			       PyObject **freelater);
+void pygpgme_set_progress_cb(gpgme_ctx_t ctx, PyObject *cb, PyObject **freelater);
diff --git a/lang/py3-pyme/pyme/__init__.py b/lang/py3-pyme/pyme/__init__.py
new file mode 100644
index 0000000..4934afe
--- /dev/null
+++ b/lang/py3-pyme/pyme/__init__.py
@@ -0,0 +1,137 @@
+# $Id$
+"""
+Pyme: GPGME Interface for Python
+Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+Welcome to PyME, the GPGME Interface for Python.  "Pyme", when prounced,
+rhymes with "Pine".
+
+The latest release of this package may be obtained from
+http://pyme.sourceforge.net
+Previous releases of this package can be obtained from
+http://quux.org/devel/pyme/
+
+FEATURES
+--------
+
+ * Feature-rich, full implementation of the GPGME library.  Supports
+   all GPGME features except interactive editing (coming soon).
+   Callback functions may be written in pure Python.
+
+ * Ability to sign, encrypt, decrypt, and verify data.
+
+ * Ability to list keys, export and import keys, and manage the keyring.
+
+ * Fully object-oriented with convenient classes and modules.
+
+GENERAL OVERVIEW
+----------------
+
+For those of you familiar with GPGME, you will be right at home here.
+
+Pyme is, for the most part, a direct interface to the C GPGME
+library.  However, it is re-packaged in a more Pythonic way --
+object-oriented with classes and modules.  Take a look at the classes
+defined here -- they correspond directly to certain object types in GPGME
+for C.  For instance, the following C code:
+
+gpgme_ctx_t context;
+
+gpgme_new(&context);
+
+...
+gpgme_op_encrypt(context, recp, 1, plain, cipher);
+
+Translates into the following Python code:
+
+context = core.Context()
+...
+context.op_encrypt(recp, 1, plain, cipher)
+
+The Python module automatically does error-checking and raises Python
+exception pyme.errors.GPGMEError when GPGME signals an error. getcode()
+and getsource() of this exception return code and source of the error.
+
+IMPORTANT NOTE
+--------------
+This documentation only covers a small subset of available GPGME functions and
+methods.  Please consult the documentation for the C library
+for comprehensive coverage.
+
+This library uses Python's reflection to automatically detect the methods
+that are available for each class, and as such, most of those methods
+do not appear explicitly anywhere. You can use dir() python built-in command
+on an object to see what methods and fields it has but their meaning can
+be found only in GPGME documentation.
+
+QUICK START SAMPLE PROGRAM
+--------------------------
+This program is not for serious encryption, but for example purposes only!
+
+import sys
+from pyme import core, constants
+
+# Set up our input and output buffers.
+
+plain = core.Data('This is my message.')
+cipher = core.Data()
+
+# Initialize our context.
+
+c = core.Context()
+c.set_armor(1)
+
+# Set up the recipients.
+
+sys.stdout.write("Enter name of your recipient: ")
+name = sys.stdin.readline().strip()
+c.op_keylist_start(name, 0)
+r = c.op_keylist_next()
+
+# Do the encryption.
+
+c.op_encrypt([r], 1, plain, cipher)
+cipher.seek(0,0)
+print cipher.read()
+
+Note that although there is no explicit error checking done here, the
+Python GPGME library is automatically doing error-checking, and will
+raise an exception if there is any problem.
+
+This program is in the Pyme distribution as examples/simple.py.  The examples
+directory contains more advanced samples as well.
+
+FOR MORE INFORMATION
+--------------------
+PYME homepage: http://pyme.sourceforge.net
+GPGME documentation: http://pyme.sourceforge.net/doc/gpgme/index.html
+GPGME homepage: http://www.gnupg.org/gpgme.html
+
+Base classes: pyme.core (START HERE!)
+Error classes: pyme.errors
+Constants: pyme.constants
+Version information: pyme.version
+Utilities: pyme.util
+
+Base classes are documented at pyme.core.
+Classes of pyme.util usually are not instantiated by users
+directly but return by methods of base classes.
+
+"""
+
+__all__ = ['core', 'errors', 'constants', 'util', 'callbacks', 'version']
diff --git a/lang/py3-pyme/pyme/callbacks.py b/lang/py3-pyme/pyme/callbacks.py
new file mode 100644
index 0000000..e3c810c
--- /dev/null
+++ b/lang/py3-pyme/pyme/callbacks.py
@@ -0,0 +1,47 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from getpass import getpass
+
+def passphrase_stdin(hint, desc, prev_bad, hook=None):
+    """This is a sample callback that will read a passphrase from
+    the terminal.  The hook here, if present, will be used to describe
+    why the passphrase is needed."""
+    why = ''
+    if hook != None:
+        why = ' ' + hook
+    if prev_bad:
+        why += ' (again)'
+    print("Please supply %s' password%s:" % (hint, why))
+    return getpass()
+
+def progress_stdout(what, type, current, total, hook=None):
+    print("PROGRESS UPDATE: what = %s, type = %d, current = %d, total = %d" %\
+          (what, type, current, total))
+    
+def readcb_fh(count, hook):
+    """A callback for data.  hook should be a Python file-like object."""
+    if count:
+        # Should return '' on EOF
+        return hook.read(count)
+    else:
+        # Wants to rewind.
+        if not hasattr(hook, 'seek'):
+            return None
+        hook.seek(0, 0)
+        return None
diff --git a/lang/py3-pyme/pyme/constants/__init__.py b/lang/py3-pyme/pyme/constants/__init__.py
new file mode 100644
index 0000000..b557da8
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/__init__.py
@@ -0,0 +1,7 @@
+# $Id$
+
+from pyme import util
+util.process_constants('GPGME_', globals())
+
+__all__ = ['data', 'event', 'import', 'keylist', 'md', 'pk',
+           'protocol', 'sig', 'sigsum', 'status', 'validity']
diff --git a/lang/py3-pyme/pyme/constants/data/__init__.py b/lang/py3-pyme/pyme/constants/data/__init__.py
new file mode 100644
index 0000000..f172e0c
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/data/__init__.py
@@ -0,0 +1,4 @@
+# $Id$
+
+from . import encoding
+__all__ = ['encoding']
diff --git a/lang/py3-pyme/pyme/constants/data/encoding.py b/lang/py3-pyme/pyme/constants/data/encoding.py
new file mode 100644
index 0000000..d1485ad
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/data/encoding.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_DATA_ENCODING_', globals())
diff --git a/lang/py3-pyme/pyme/constants/event.py b/lang/py3-pyme/pyme/constants/event.py
new file mode 100644
index 0000000..1a4fac6
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/event.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_EVENT_', globals())
diff --git a/lang/py3-pyme/pyme/constants/import.py b/lang/py3-pyme/pyme/constants/import.py
new file mode 100644
index 0000000..628177d
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/import.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_IMPORT_', globals())
diff --git a/lang/py3-pyme/pyme/constants/keylist/__init__.py b/lang/py3-pyme/pyme/constants/keylist/__init__.py
new file mode 100644
index 0000000..2f2152a
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/keylist/__init__.py
@@ -0,0 +1,4 @@
+# $Id$
+
+from . import mode
+__all__ = ['mode']
diff --git a/lang/py3-pyme/pyme/constants/keylist/mode.py b/lang/py3-pyme/pyme/constants/keylist/mode.py
new file mode 100644
index 0000000..137ce17
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/keylist/mode.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_KEYLIST_MODE_', globals())
diff --git a/lang/py3-pyme/pyme/constants/md.py b/lang/py3-pyme/pyme/constants/md.py
new file mode 100644
index 0000000..2db01a5
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/md.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_MD_', globals())
diff --git a/lang/py3-pyme/pyme/constants/pk.py b/lang/py3-pyme/pyme/constants/pk.py
new file mode 100644
index 0000000..5f39235
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/pk.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_PK_', globals())
diff --git a/lang/py3-pyme/pyme/constants/protocol.py b/lang/py3-pyme/pyme/constants/protocol.py
new file mode 100644
index 0000000..3d3c790
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/protocol.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_PROTOCOL_', globals())
diff --git a/lang/py3-pyme/pyme/constants/sig/__init__.py b/lang/py3-pyme/pyme/constants/sig/__init__.py
new file mode 100644
index 0000000..2f2152a
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/sig/__init__.py
@@ -0,0 +1,4 @@
+# $Id$
+
+from . import mode
+__all__ = ['mode']
diff --git a/lang/py3-pyme/pyme/constants/sig/mode.py b/lang/py3-pyme/pyme/constants/sig/mode.py
new file mode 100644
index 0000000..fa090ab
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/sig/mode.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_SIG_MODE_', globals())
diff --git a/lang/py3-pyme/pyme/constants/sigsum.py b/lang/py3-pyme/pyme/constants/sigsum.py
new file mode 100644
index 0000000..7be40ae
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/sigsum.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_SIGSUM_', globals())
diff --git a/lang/py3-pyme/pyme/constants/status.py b/lang/py3-pyme/pyme/constants/status.py
new file mode 100644
index 0000000..60c0c90
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/status.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_STATUS_', globals())
diff --git a/lang/py3-pyme/pyme/constants/validity.py b/lang/py3-pyme/pyme/constants/validity.py
new file mode 100644
index 0000000..9590b27
--- /dev/null
+++ b/lang/py3-pyme/pyme/constants/validity.py
@@ -0,0 +1,20 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from pyme import util
+util.process_constants('GPGME_VALIDITY_', globals())
diff --git a/lang/py3-pyme/pyme/core.py b/lang/py3-pyme/pyme/core.py
new file mode 100644
index 0000000..b03cedb
--- /dev/null
+++ b/lang/py3-pyme/pyme/core.py
@@ -0,0 +1,463 @@
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+# import generators for portability with python2.2
+
+
+from . import pygpgme
+from .errors import errorcheck
+from . import errors
+from .util import GpgmeWrapper
+
+class Context(GpgmeWrapper):
+    """From the GPGME C documentation:
+
+    * All cryptographic operations in GPGME are performed within a
+    * context, which contains the internal state of the operation as well as
+    * configuration parameters.  By using several contexts you can run
+    * several cryptographic operations in parallel, with different
+    * configuration.
+
+    Thus, this is the place that you will usually start."""
+
+    def _getctype(self):
+        return 'gpgme_ctx_t'
+    
+    def _getnameprepend(self):
+        return 'gpgme_'
+
+    def _errorcheck(self, name):
+        """This function should list all functions returning gpgme_error_t"""
+        if (name.startswith('gpgme_op_') and \
+            not name.endswith('_result')) or \
+            name == 'gpgme_signers_add' or \
+            name == 'gpgme_set_locale' or \
+            name == 'gpgme_set_keylist_mode' or \
+            name == 'gpgme_set_protocol':
+            return 1
+        return 0
+
+    def __init__(self, wrapped=None):
+        if wrapped:
+            self.wrapped = wrapped
+            self.own = False
+        else:
+            tmp = pygpgme.new_gpgme_ctx_t_p()
+            errorcheck(pygpgme.gpgme_new(tmp))
+            self.wrapped = pygpgme.gpgme_ctx_t_p_value(tmp)
+            pygpgme.delete_gpgme_ctx_t_p(tmp)
+            self.own = True
+        self.last_passcb = None
+        self.last_progresscb = None
+
+    def __del__(self):
+        self._free_passcb()
+        self._free_progresscb()
+        if self.own:
+            pygpgme.gpgme_release(self.wrapped)
+
+    def _free_passcb(self):
+        if self.last_passcb != None:
+            pygpgme.pygpgme_clear_generic_cb(self.last_passcb)
+            pygpgme.delete_PyObject_p_p(self.last_passcb)
+            self.last_passcb = None
+
+    def _free_progresscb(self):
+        if self.last_progresscb != None:
+            pygpgme.pygpgme_clear_generic_cb(self.last_progresscb)
+            pygpgme.delete_PyObject_p_p(self.last_progresscb)
+            self.last_progresscb = None
+
+    def op_keylist_all(self, *args, **kwargs):
+        self.op_keylist_start(*args, **kwargs)
+        key = self.op_keylist_next()
+        while key:
+            yield key
+            key = self.op_keylist_next()
+
+    def op_keylist_next(self):
+        """Returns the next key in the list created
+        by a call to op_keylist_start().  The object returned
+        is of type Key."""
+        ptr = pygpgme.new_gpgme_key_t_p()
+        try:
+            errorcheck(pygpgme.gpgme_op_keylist_next(self.wrapped, ptr))
+            key = pygpgme.gpgme_key_t_p_value(ptr)
+        except errors.GPGMEError as excp:
+            key = None
+            if excp.getcode() != errors.EOF:
+                raise excp
+        pygpgme.delete_gpgme_key_t_p(ptr)
+        if key:
+            key.__del__ = lambda self: pygpgme.gpgme_key_unref(self)
+            return key
+    
+    def get_key(self, fpr, secret):
+        """Return the key corresponding to the fingerprint 'fpr'"""
+        ptr = pygpgme.new_gpgme_key_t_p()
+        errorcheck(pygpgme.gpgme_get_key(self.wrapped, fpr, ptr, secret))
+        key = pygpgme.gpgme_key_t_p_value(ptr)
+        pygpgme.delete_gpgme_key_t_p(ptr)
+        if key:
+            key.__del__ = lambda self: pygpgme.gpgme_key_unref(self)
+            return key
+
+    def op_trustlist_all(self, *args, **kwargs):
+        self.op_trustlist_start(*args, **kwargs)
+        trust = self.ctx.op_trustlist_next()
+        while trust:
+            yield trust
+            trust = self.ctx.op_trustlist_next()
+
+    def op_trustlist_next(self):
+        """Returns the next trust item in the list created
+        by a call to op_trustlist_start().  The object returned
+        is of type TrustItem."""
+        ptr = pygpgme.new_gpgme_trust_item_t_p()
+        try:
+            errorcheck(pygpgme.gpgme_op_trustlist_next(self.wrapped, ptr))
+            trust = pygpgme.gpgme_trust_item_t_p_value(ptr)
+        except errors.GPGMEError as excp:
+            trust = None
+            if excp.getcode() != errors.EOF:
+                raise
+        pygpgme.delete_gpgme_trust_item_t_p(ptr)
+        return trust
+
+    def set_passphrase_cb(self, func, hook=None):
+        """Sets the passphrase callback to the function specified by func.
+
+        When the system needs a passphrase, it will call func with three args:
+        hint, a string describing the key it needs the passphrase for;
+        desc, a string describing the passphrase it needs;
+        prev_bad, a boolean equal True if this is a call made after
+        unsuccessful previous attempt.
+        
+        If hook has a value other than None it will be passed into the func
+        as a forth argument.
+
+        Please see the GPGME manual for more information.
+        """
+        self._free_passcb()
+        if func == None:
+            hookdata = None
+        else:
+            self.last_passcb = pygpgme.new_PyObject_p_p()
+            if hook == None:
+                hookdata = func
+            else:
+                hookdata = (func, hook)
+        pygpgme.pygpgme_set_passphrase_cb(self.wrapped, hookdata, self.last_passcb)
+
+    def set_progress_cb(self, func, hook=None):
+        """Sets the progress meter callback to the function specified by
+
+        This function will be called to provide an interactive update of
+        the system's progress.
+
+        Please see the GPGME manual for more information."""
+        self._free_progresscb()
+        if func == None:
+            hookdata = None
+        else:
+            self.last_progresscb = pygpgme.new_PyObject_p_p()
+            if hook == None:
+                hookdata = func
+            else:
+                hookdata = (func, hook)
+        pygpgme.pygpgme_set_progress_cb(self.wrapped, hookdata, self.last_progresscb)
+
+    def get_engine_info(self):
+        """Returns this context specific engine info"""
+        return pygpgme.gpgme_ctx_get_engine_info(self.wrapped)
+
+    def set_engine_info(self, proto, file_name, home_dir=None):
+        """Changes the configuration of the crypto engine implementing the
+    protocol 'proto' for the context. 'file_name' is the file name of
+    the executable program implementing this protocol. 'home_dir' is the
+    directory name of the configuration directory (engine's default is
+    used if omitted)."""
+        errorcheck(pygpgme.gpgme_ctx_set_engine_info(self.wrapped, proto, file_name, home_dir))
+
+    def wait(self, hang):
+        """Wait for asynchronous call to finish. Wait forever if hang is True
+
+        Return:
+            On an async call completion its return status.
+            On timeout - None.
+
+        Please read the GPGME manual for more information."""
+        ptr = pygpgme.new_gpgme_error_t_p()
+        context = pygpgme.gpgme_wait(self.wrapped, ptr, hang)
+        status = pygpgme.gpgme_error_t_p_value(ptr)
+        pygpgme.delete_gpgme_error_t_p(ptr)
+        
+        if context == None:
+            errorcheck(status)
+            return None
+        else:
+            return status
+
+    def op_edit(self, key, func, fnc_value, out):
+        """Start key editing using supplied callback function"""
+        if key == None:
+            raise ValueError("op_edit: First argument cannot be None")
+        opaquedata = (func, fnc_value)
+        errorcheck(pygpgme.gpgme_op_edit(self.wrapped, key, opaquedata, out))
+    
+class Data(GpgmeWrapper):
+    """From the GPGME C manual:
+
+* A lot of data has to be exchanged between the user and the crypto
+* engine, like plaintext messages, ciphertext, signatures and information
+* about the keys.  The technical details about exchanging the data
+* information are completely abstracted by GPGME.  The user provides and
+* receives the data via `gpgme_data_t' objects, regardless of the
+* communication protocol between GPGME and the crypto engine in use.
+
+        This Data class is the implementation of the GpgmeData objects.
+
+        Please see the information about __init__ for instantiation."""
+
+    def _getctype(self):
+        return 'gpgme_data_t'
+    
+    def _getnameprepend(self):
+        return 'gpgme_data_'
+
+    def _errorcheck(self, name):
+        """This function should list all functions returning gpgme_error_t"""
+        if name == 'gpgme_data_release_and_get_mem' or \
+               name == 'gpgme_data_get_encoding' or \
+               name == 'gpgme_data_seek':
+            return 0
+        return 1
+    
+    def __init__(self, string = None, file = None, offset = None,
+                 length = None, cbs = None):
+        """Initialize a new gpgme_data_t object.
+
+        If no args are specified, make it an empty object.
+
+        If string alone is specified, initialize it with the data
+        contained there.
+
+        If file, offset, and length are all specified, file must
+        be either a filename or a file-like object, and the object
+        will be initialized by reading the specified chunk from the file.
+
+        If cbs is specified, it MUST be a tuple of the form:
+
+        ((read_cb, write_cb, seek_cb, release_cb), hook)
+
+        where func is a callback function taking two arguments (count,
+        hook) and returning a string of read data, or None on EOF.
+        This will supply the read() method for the system.
+
+        If file is specified without any other arguments, then
+        it must be a filename, and the object will be initialized from
+        that file.
+
+        Any other use will result in undefined or erroneous behavior."""
+        self.wrapped = None
+        self.last_readcb = None
+
+        if cbs != None:
+            self.new_from_cbs(*cbs)
+        elif string != None:
+            self.new_from_mem(string)
+        elif file != None and offset != None and length != None:
+            self.new_from_filepart(file, offset, length)
+        elif file != None:
+            if type(file) == type("x"):
+                self.new_from_file(file)
+            else:
+                self.new_from_fd(file)
+        else:
+            self.new()
+
+    def __del__(self):
+        if self.wrapped != None:
+            pygpgme.gpgme_data_release(self.wrapped)
+        self._free_readcb()
+
+    def _free_readcb(self):
+        if self.last_readcb != None:
+            pygpgme.pygpgme_clear_generic_cb(self.last_readcb)
+            pygpgme.delete_PyObject_p_p(self.last_readcb)
+            self.last_readcb = None
+
+    def new(self):
+        tmp = pygpgme.new_gpgme_data_t_p()
+        errorcheck(pygpgme.gpgme_data_new(tmp))
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_mem(self, string, copy = 1):
+        tmp = pygpgme.new_gpgme_data_t_p()
+        errorcheck(pygpgme.gpgme_data_new_from_mem(tmp,string,len(string),copy))
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_file(self, filename, copy = 1):
+        tmp = pygpgme.new_gpgme_data_t_p()
+        errorcheck(pygpgme.gpgme_data_new_from_file(tmp, filename, copy))
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_cbs(self, funcs, hook):
+        """Argument funcs must be a 4 element tuple with callbacks:
+        (read_cb, write_cb, seek_cb, release_cb)"""
+        tmp = pygpgme.new_gpgme_data_t_p()
+        self._free_readcb()
+        self.last_readcb = pygpgme.new_PyObject_p_p()
+        hookdata = (funcs, hook)
+        pygpgme.pygpgme_data_new_from_cbs(tmp, hookdata, self.last_readcb)
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_filepart(self, file, offset, length):
+        """This wraps the GPGME gpgme_data_new_from_filepart() function.
+        The argument "file" may be:
+
+        1. a string specifying a file name, or
+        3. a a file-like object. supporting the fileno() call and the mode
+           attribute."""
+
+        tmp = pygpgme.new_gpgme_data_t_p()
+        filename = None
+        fp = None
+
+        if type(file) == type("x"):
+            filename = file
+        else:
+            fp = pygpgme.fdopen(file.fileno(), file.mode)
+            if fp == None:
+                raise ValueError("Failed to open file from %s arg %s" % \
+                      (str(type(file)), str(file)))
+
+        errorcheck(pygpgme.gpgme_data_new_from_filepart(tmp, filename, fp,
+                                                      offset, length))
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_fd(self, file):
+        """This wraps the GPGME gpgme_data_new_from_fd() function.
+        The argument "file" may be a file-like object, supporting the fileno()
+        call and the mode attribute."""
+        
+        tmp = pygpgme.new_gpgme_data_t_p()
+        fp = pygpgme.fdopen(file.fileno(), file.mode)
+        if fp == None:
+            raise ValueError("Failed to open file from %s arg %s" % \
+                  (str(type(file)), str(file)))
+        errorcheck(gpgme_data_new_from_fd(tmp, fp))
+        self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
+        pygpgme.delete_gpgme_data_t_p(tmp)
+
+    def new_from_stream(self, file):
+        """This wrap around gpgme_data_new_from_stream is an alias for
+        new_from_fd() method since in python there's not difference
+        between file stream and file descriptor"""
+        self.new_from_fd(file)
+    
+    def write(self, buffer):
+        errorcheck(pygpgme.gpgme_data_write(self.wrapped, buffer, len(buffer)))
+
+    def read(self, size = -1):
+        """Read at most size bytes, returned as a string.
+        
+        If the size argument is negative or omitted, read until EOF is reached.
+
+        Returns the data read, or the empty string if there was no data
+        to read before EOF was reached."""
+        
+        if size == 0:
+            return ''
+
+        if size > 0:
+            return pygpgme.gpgme_data_read(self.wrapped, size)
+        else:
+            retval = ''
+            while 1:
+                result = pygpgme.gpgme_data_read(self.wrapped, 10240)
+                if len(result) == 0:
+                    break
+                retval += result
+            return retval
+
+def pubkey_algo_name(algo):
+    return pygpgme.gpgme_pubkey_algo_name(algo)
+
+def hash_algo_name(algo):
+    return pygpgme.gpgme_hash_algo_name(algo)
+
+def get_protocol_name(proto):
+    return pygpgme.gpgme_get_protocol_name(proto)
+
+def check_version(version=None):
+    return pygpgme.gpgme_check_version(version)
+
+def engine_check_version (proto):
+    try:
+        errorcheck(pygpgme.gpgme_engine_check_version(proto))
+        return True
+    except errors.GPGMEError:
+        return False
+
+def get_engine_info():
+    ptr = pygpgme.new_gpgme_engine_info_t_p()
+    try:
+        errorcheck(pygpgme.gpgme_get_engine_info(ptr))
+        info = pygpgme.gpgme_engine_info_t_p_value(ptr)
+    except errors.GPGMEError:
+        info = None
+    pygpgme.delete_gpgme_engine_info_t_p(ptr)
+    return info
+
+def set_engine_info(proto, file_name, home_dir=None):
+    """Changes the default configuration of the crypto engine implementing
+    the protocol 'proto'. 'file_name' is the file name of
+    the executable program implementing this protocol. 'home_dir' is the
+    directory name of the configuration directory (engine's default is
+    used if omitted)."""
+    errorcheck(pygpgme.gpgme_set_engine_info(proto, file_name, home_dir))
+
+def set_locale(category, value):
+    """Sets the default locale used by contexts"""
+    errorcheck(pygpgme.gpgme_set_locale(None, category, value))
+
+def wait(hang):
+    """Wait for asynchronous call on any Context  to finish.
+    Wait forever if hang is True.
+    
+    For finished anynch calls it returns a tuple (status, context):
+        status  - status return by asnynchronous call.
+        context - context which caused this call to return.
+        
+    Please read the GPGME manual of more information."""
+    ptr = pygpgme.new_gpgme_error_t_p()
+    context = pygpgme.gpgme_wait(None, ptr, hang)
+    status = pygpgme.gpgme_error_t_p_value(ptr)
+    pygpgme.delete_gpgme_error_t_p(ptr)
+    if context == None:
+        errorcheck(status)
+    else:
+        context = Context(context)
+    return (status, context)
+
diff --git a/lang/py3-pyme/pyme/errors.py b/lang/py3-pyme/pyme/errors.py
new file mode 100644
index 0000000..0ad22f2
--- /dev/null
+++ b/lang/py3-pyme/pyme/errors.py
@@ -0,0 +1,46 @@
+# $Id$
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from . import pygpgme
+
+class GPGMEError(Exception):
+    def __init__(self, error = None, message = None):
+        self.error = error
+        self.message = message
+    
+    def getstring(self):
+        message = "%s: %s" % (pygpgme.gpgme_strsource(self.error),
+                              pygpgme.gpgme_strerror(self.error))
+        if self.message != None:
+            message = "%s: %s" % (self.message, message)
+        return message
+
+    def getcode(self):
+        return pygpgme.gpgme_err_code(self.error)
+
+    def getsource(self):
+        return pygpgme.gpgme_err_source(self.error)
+    
+    def __str__(self):
+        return "%s (%d,%d)"%(self.getstring(), self.getsource(), self.getcode())
+
+EOF = getattr(pygpgme, "EOF")
+
+def errorcheck(retval, extradata = None):
+    if retval:
+        raise GPGMEError(retval, extradata)
diff --git a/lang/py3-pyme/pyme/util.py b/lang/py3-pyme/pyme/util.py
new file mode 100644
index 0000000..c5f02a9
--- /dev/null
+++ b/lang/py3-pyme/pyme/util.py
@@ -0,0 +1,72 @@
+# $Id$
+# Copyright (C) 2004,2008 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+from . import pygpgme
+from .errors import errorcheck
+
+def process_constants(starttext, dict):
+    """Called by the constant libraries to load up the appropriate constants
+    from the C library."""
+    index = len(starttext)
+    for identifier in dir(pygpgme):
+        if not identifier.startswith(starttext):
+            continue
+        name = identifier[index:]
+        dict[name] = getattr(pygpgme, identifier)
+        
+class GpgmeWrapper(object):
+    """Base class all Pyme wrappers for GPGME functionality.  Not to be
+    instantiated directly."""
+    def __repr__(self):
+        return '<instance of %s.%s with GPG object at %s>' % \
+               (__name__, self.__class__.__name__,
+                self.wrapped)
+
+    def __str__(self):
+        return repr(self)
+
+    def __hash__(self):
+        return hash(repr(self.wrapped))
+
+    def __eq__(self, other):
+        if other == None:
+            return False
+        else:
+            return repr(self.wrapped) == repr(other.wrapped)
+
+    def _getctype(self):
+        raise NotImplementedException
+    
+    def __getattr__(self, name):
+        """On-the-fly function generation."""
+        if name[0] == '_' or self._getnameprepend() == None:
+            return None
+        name = self._getnameprepend() + name
+        if self._errorcheck(name):
+            def _funcwrap(*args, **kwargs):
+                args = [self.wrapped] + list(args)
+                return errorcheck(getattr(pygpgme, name)(*args, **kwargs),
+                                  "Invocation of " + name)
+        else:
+            def _funcwrap(*args, **kwargs):
+                args = [self.wrapped] + list(args)
+                return getattr(pygpgme, name)(*args, **kwargs)
+
+        _funcwrap.__doc__ = getattr(getattr(pygpgme, name), "__doc__")
+        return _funcwrap
+
diff --git a/lang/py3-pyme/pyme/version.py b/lang/py3-pyme/pyme/version.py
new file mode 100644
index 0000000..3dd8d3a
--- /dev/null
+++ b/lang/py3-pyme/pyme/version.py
@@ -0,0 +1,43 @@
+# $Id$
+
+productname = 'pyme'
+versionstr = "0.9.1"
+revno = int('$Rev: 281 $'[6:-2])
+revstr = "Rev %d" % revno
+datestr = '$Date$'
+
+versionlist = versionstr.split(".")
+major = versionlist[0]
+minor = versionlist[1]
+patch = versionlist[2]
+copyright = "Copyright (C) 2015 Ben McGinnes, 2014-2015 Martin Albrecht, 2004-2008 Igor Belyi, 2002 John Goerzen"
+author = "Ben McGinnes"
+author_email = "ben at adversary.org"
+description = "Python 3 support for GPGME GnuPG cryptography library"
+bigcopyright = """%(productname)s %(versionstr)s (%(revstr)s)
+%(copyright)s <%(author_email)s>""" % locals()
+
+banner = bigcopyright + """
+This software comes with ABSOLUTELY NO WARRANTY; see the file
+COPYING for details.  This is free software, and you are welcome
+to distribute it under the conditions laid out in COPYING."""
+
+homepage = "https://gnupg.org"
+license = """Copyright (C) 2015 Ben McGinnes <ben at adversary.org>
+Copyright (C) 2014, 2015 Martin Albrecht <martinralbrecht at googlemail.com>
+Copyright (C) 2004, 2008 Igor Belyi <belyi at users.sourceforge.net>
+Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA"""
diff --git a/lang/py3-pyme/setup.py b/lang/py3-pyme/setup.py
new file mode 100755
index 0000000..b0ed3b2
--- /dev/null
+++ b/lang/py3-pyme/setup.py
@@ -0,0 +1,113 @@
+#!/usr/bin/env python3
+
+# $Id$
+
+# Module: installer
+# COPYRIGHT #
+# Copyright (C) 2004 Igor Belyi <belyi at users.sourceforge.net>
+# Copyright (C) 2002 John Goerzen <jgoerzen at complete.org>
+#
+#    This library is free software; you can redistribute it and/or
+#    modify it under the terms of the GNU Lesser General Public
+#    License as published by the Free Software Foundation; either
+#    version 2.1 of the License, or (at your option) any later version.
+#
+#    This library is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#    Lesser General Public License for more details.
+#
+#    You should have received a copy of the GNU Lesser General Public
+#    License along with this library; if not, write to the Free Software
+#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+# END OF COPYRIGHT #
+
+
+from distutils.core import setup, Extension
+from distutils.command.build_ext import build_ext
+import os, os.path, sys
+import subprocess
+
+sys.path.append("pyme")
+import version
+
+def getconfig(what):
+    try:
+        process = subprocess.Popen(["gpgme-config", "--%s" % what],
+                                   stdout=subprocess.PIPE)
+        confdata = process.communicate()[0]
+    except OSError as e:
+         if e.errno == os.errno.ENOENT:
+             raise RuntimeError("Could not call gpgme-config, perhaps install libgpgme-dev")
+         else:
+             raise
+    return [x for x in confdata.decode('utf-8').split() if x != '']
+
+include_dirs = [os.getcwd()]
+define_macros = []
+library_dirs = []
+libs = getconfig('libs')
+for item in getconfig('cflags'):
+    if item.startswith("-I"):
+        include_dirs.append(item[2:])
+    elif item.startswith("-D"):
+        defitem = item[2:].split("=", 1)
+        if len(defitem)==2:
+            define_macros.append((defitem[0], defitem[1]))
+        else:
+            define_macros.append((defitem[0], None))
+
+# Adjust include and library locations in case of win32
+uname_s = os.popen("uname -s").read()
+if uname_s.startswith("MINGW32"):
+   mnts = [x.split()[0:3:2] for x in os.popen("mount").read().split("\n") if x] 
+   tmplist = sorted([(len(x[1]), x[1], x[0]) for x in mnts])
+   tmplist.reverse()
+   extra_dirs = []
+   for item in include_dirs:
+       for ln, mnt, tgt in tmplist:
+           if item.startswith(mnt):
+               item = os.path.normpath(item[ln:])
+               while item[0] == os.path.sep:
+                   item = item[1:]
+               extra_dirs.append(os.path.join(tgt, item))
+               break
+   include_dirs += extra_dirs
+   for item in [x[2:] for x in libs if x.startswith("-L")]:
+       for ln, mnt, tgt in tmplist:
+           if item.startswith(mnt):
+               item = os.path.normpath(item[ln:])
+               while item[0] == os.path.sep:
+                   item = item[1:]
+               library_dirs.append(os.path.join(tgt, item))
+               break
+
+try:
+    subprocess.call("swig")
+except OSError as e:
+    if e.errno == os.errno.ENOENT:
+        raise RuntimeError("Could not call swig, perhaps install swig.")
+    else:
+        raise
+    
+subprocess.call(["make swig"], shell=True)
+               
+swige = Extension("pyme._pygpgme", ["gpgme_wrap.c", "helpers.c"],
+                  include_dirs = include_dirs,
+                  define_macros = define_macros,
+                  library_dirs = library_dirs,
+                  extra_link_args = libs)
+
+setup(name = "pyme",
+      version = version.versionstr,
+      description = version.description,
+      author = version.author,
+      author_email = version.author_email,
+      url = version.homepage,
+      ext_modules=[swige],
+      packages = ['pyme', 'pyme.constants', 'pyme.constants.data',
+                  'pyme.constants.keylist', 'pyme.constants.sig'], 
+      license = version.copyright + \
+                ", Licensed under the GPL version 2 and the LGPL version 2.1"
+)
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list