mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Wed Mar 22 13:50:24 CET 2000 Werner Koch
This commit is contained in:
parent
1ebcae2a92
commit
32fe5215a2
11 changed files with 111 additions and 36 deletions
|
@ -1,3 +1,10 @@
|
|||
Wed Mar 22 13:50:24 CET 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* mainproc.c (print_userid): Do UTF8 conversion before printing.
|
||||
* import.c (import_one): Ditto.
|
||||
(import_secret_one): Ditto.
|
||||
(delete_inv_parts): Ditto.
|
||||
|
||||
Thu Mar 16 16:20:23 CET 2000 Werner Koch <wk@openit.de>
|
||||
|
||||
* keylist.c (print_key_data): Handle a NULL pk gracefully.
|
||||
|
|
|
@ -19,6 +19,6 @@ compress-sigs
|
|||
run-as-shm-coprocess [request-locked-shm-size]
|
||||
# very special :-)
|
||||
# You will have to use "--status-fd" too
|
||||
# Note: This option dioes only work if given on the command line.
|
||||
# Note: This option does only work if given on the command line.
|
||||
|
||||
|
||||
|
|
12
g10/import.c
12
g10/import.c
|
@ -378,8 +378,8 @@ import_one( const char *fname, KBNODE keyblock, int fast )
|
|||
pubkey_letter( pk->pubkey_algo ),
|
||||
(ulong)keyid[1], datestr_from_pk(pk) );
|
||||
if( uidnode )
|
||||
print_string( stderr, uidnode->pkt->pkt.user_id->name,
|
||||
uidnode->pkt->pkt.user_id->len, 0 );
|
||||
print_utf8_string( stderr, uidnode->pkt->pkt.user_id->name,
|
||||
uidnode->pkt->pkt.user_id->len );
|
||||
putc('\n', stderr);
|
||||
}
|
||||
if( !uidnode ) {
|
||||
|
@ -569,8 +569,8 @@ import_secret_one( const char *fname, KBNODE keyblock )
|
|||
pubkey_letter( sk->pubkey_algo ),
|
||||
(ulong)keyid[1], datestr_from_sk(sk) );
|
||||
if( uidnode )
|
||||
print_string( stderr, uidnode->pkt->pkt.user_id->name,
|
||||
uidnode->pkt->pkt.user_id->len, 0 );
|
||||
print_utf8_string( stderr, uidnode->pkt->pkt.user_id->name,
|
||||
uidnode->pkt->pkt.user_id->len );
|
||||
putc('\n', stderr);
|
||||
}
|
||||
stats.secret_read++;
|
||||
|
@ -831,8 +831,8 @@ delete_inv_parts( const char *fname, KBNODE keyblock, u32 *keyid )
|
|||
if( opt.verbose ) {
|
||||
log_info( _("key %08lX: skipped user ID '"),
|
||||
(ulong)keyid[1]);
|
||||
print_string( stderr, node->pkt->pkt.user_id->name,
|
||||
node->pkt->pkt.user_id->len, 0 );
|
||||
print_utf8_string( stderr, node->pkt->pkt.user_id->name,
|
||||
node->pkt->pkt.user_id->len );
|
||||
fputs("'\n", stderr );
|
||||
}
|
||||
delete_kbnode( node ); /* the user-id */
|
||||
|
|
|
@ -552,8 +552,12 @@ print_userid( PACKET *pkt )
|
|||
printf("ERROR: unexpected packet type %d", pkt->pkttype );
|
||||
return;
|
||||
}
|
||||
print_string( stdout, pkt->pkt.user_id->name, pkt->pkt.user_id->len,
|
||||
opt.with_colons );
|
||||
if( opt.with_colons )
|
||||
print_string( stdout, pkt->pkt.user_id->name,
|
||||
pkt->pkt.user_id->len, ':');
|
||||
else
|
||||
print_utf8_string( stdout, pkt->pkt.user_id->name,
|
||||
pkt->pkt.user_id->len );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ verify_own_keys(void)
|
|||
if( DBG_TRUST )
|
||||
log_debug("key %08lX: checking secret key\n", (ulong)keyid[1] );
|
||||
|
||||
if( is_secret_key_protected( sk ) < 1 )
|
||||
if( !opt.quiet && is_secret_key_protected( sk ) < 1 )
|
||||
log_info(_("NOTE: secret key %08lX is NOT protected.\n"),
|
||||
(ulong)keyid[1] );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue