mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Add command --quick-gen-key
* g10/gpg.c (aQuickKeygen): New. * g10/misc.c (is_valid_user_id): New stub. * g10/keygen.c (quickgen_set_para): New. (quick_generate_keypair): New. -- Note that the validation of the specified user id has not yet been implemented.
This commit is contained in:
parent
75127bc456
commit
ea186540db
5 changed files with 171 additions and 3 deletions
|
@ -154,6 +154,7 @@ int parse_options(char *str,unsigned int *options,
|
|||
struct parse_options *opts,int noisy);
|
||||
int has_invalid_email_chars (const char *s);
|
||||
int is_valid_mailbox (const char *name);
|
||||
int is_valid_user_id (const char *uid);
|
||||
const char *get_libexecdir (void);
|
||||
int path_access(const char *file,int mode);
|
||||
|
||||
|
@ -247,6 +248,7 @@ void show_basic_key_info (KBNODE keyblock);
|
|||
u32 parse_expire_string(const char *string);
|
||||
u32 ask_expire_interval(int object,const char *def_expire);
|
||||
u32 ask_expiredate(void);
|
||||
void quick_generate_keypair (const char *uid);
|
||||
void generate_keypair (ctrl_t ctrl, const char *fname,
|
||||
const char *card_serialno, int card_backup_key);
|
||||
int keygen_set_std_prefs (const char *string,int personal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue