gpg: Auto-migrate existing secring.gpg.
authorWerner Koch <wk@gnupg.org>
Thu, 5 Jun 2014 09:19:59 +0000 (11:19 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 5 Jun 2014 09:19:59 +0000 (11:19 +0200)
commit4f0625889b768eabdec52696bf15059a9e8d9c02
treef523eab5acb0666c12c067ba27a159e21f434aa7
parent09a2d4ec74d352dcb4f006aab60b07bc4f5f1a37
gpg: Auto-migrate existing secring.gpg.

* g10/migrate.c: New.
* g10/import.c (import_old_secring): New.
(import_one): Add arg silent.
(transfer_secret_keys): Add arg batch.
(import_secret_one): Add args batch and for_migration.
* g10/gpg.c (main): Call migration function.
README
doc/gpg.texi
g10/Makefile.am
g10/gpg.c
g10/import.c
g10/main.h
g10/migrate.c [new file with mode: 0644]