1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

See ChangeLog: Mon May 31 19:41:10 CEST 1999 Werner Koch

This commit is contained in:
Werner Koch 1999-05-31 17:49:37 +00:00
parent a6a548ab56
commit c34c676958
18 changed files with 682 additions and 520 deletions

View File

@ -29,6 +29,12 @@ nh@df.lth.se
Weak key patches. Weak key patches.
GNUPG Rémi Guyomarch ????????????
Assigns changes.
rguyom@mail.dotcom.fr
Various speed up patches.
TRANSLATIONS Marco d'Itri 1997-02-22 TRANSLATIONS Marco d'Itri 1997-02-22
Disclaimer. [it] Disclaimer. [it]
md@linux.it md@linux.it
@ -61,10 +67,11 @@ jungmann@cwb.matrix.com.br
TRANSLATIONS Janusz Aleksander Urbanowicz 1999-01-09 TRANSLATIONS Janusz Aleksander Urbanowicz 1999-01-09
pl.po pl.po
alex@bofh.torun.pl
Other notes: More credits
============ ============
This program uses the zlib compression library written by This program uses the zlib compression library written by
Jean-loup Gailly and Mark Adler. Jean-loup Gailly and Mark Adler.

6
BUGS
View File

@ -42,6 +42,10 @@ and after about half a day in the rsync snapshots.
--> Solaris fixed. --> Solaris fixed.
--> IRIX bug still there --> IRIX bug still there
[ *] #18 1999-05-27 <Steffen.Zahn@icn.siemens.de> 0.9.7
rndunix hangs on hp/ux. The problme is related to my_plcose which is
not always called. (I suggest to use EGD instead of rndunix.)
Next #18
Next #19

2
TODO
View File

@ -1,4 +1,6 @@
* add keylength and type to status output.
* add some status output put for signing and encryption. * add some status output put for signing and encryption.
replace the putc in primegen with some kind of status-fd outputs. replace the putc in primegen with some kind of status-fd outputs.

View File

@ -461,12 +461,6 @@ B<--compress-algo> I<number>
i.e. the compression algorithm is selected from the i.e. the compression algorithm is selected from the
preferences. preferences.
B<--digest-algo> I<name>
Use I<name> as message digest algorithm. Running the
program with the command B<--version> yields a list of
supported algorithms.
B<--throw-keyid> B<--throw-keyid>
Do not put the keyid into encrypted packets. This option Do not put the keyid into encrypted packets. This option
hides the receiver of the message and is a countermeasure hides the receiver of the message and is a countermeasure
@ -600,7 +594,9 @@ is B<very> easy to spy out your passphrase!
=head1 BUGS =head1 BUGS
On many systems this program should be installed as setuid(root). This On many systems this program should be installed as setuid(root). This
is necessary to lock memory pages. If you get no warning message about is necessary to lock memory pages. Locking memory pages prevents the
insecure memory your OS kernel supports locking without being root. operating system from writing memory pages to disk. If you get no
The program drops root privileges as soon as locked memory is allocated. warning message about insecure memory your operating system supports
locking without being root. The program drops root privileges as soon
as locked memory is allocated.

View File

@ -1,3 +1,10 @@
Mon May 31 19:41:10 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* g10.c (main): Fix for SHM init (Michael).
* compress.c, encr-data.c, mdfilter.c,
plaintext.c, free-packet.c: Speed patches (Rémi).
Thu May 27 09:40:55 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> Thu May 27 09:40:55 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* status.c (cpr_get_answer_yes_no_quit): New. * status.c (cpr_get_answer_yes_no_quit): New.

View File

@ -566,7 +566,6 @@ find_subpkt( byte *buffer, sigsubpkttype_t reqtype,
return NULL; return NULL;
buflen = (*buffer << 8) | buffer[1]; buflen = (*buffer << 8) | buffer[1];
buffer += 2; buffer += 2;
log_debug("find_subpkt: tyoe=%d bufferlength=%d\n", reqtype, buflen );
for(;;) { for(;;) {
if( !buflen ) if( !buflen )
return NULL; /* end of packets; not found */ return NULL; /* end of packets; not found */
@ -587,7 +586,6 @@ find_subpkt( byte *buffer, sigsubpkttype_t reqtype,
buffer++; buffer++;
buflen--; buflen--;
} }
log_debug("find_subpkt: this len=%u\n", n );
if( buflen < n ) if( buflen < n )
break; break;
type = *buffer & 0x7f; type = *buffer & 0x7f;

View File

@ -132,8 +132,7 @@ do_uncompress( compress_filter_context_t *zfx, z_stream *zs,
int zrc; int zrc;
int rc=0; int rc=0;
size_t n; size_t n;
byte *p; int nread, count;
int c;
int refill = !zs->avail_in; int refill = !zs->avail_in;
if( DBG_FILTER ) if( DBG_FILTER )
@ -145,16 +144,17 @@ do_uncompress( compress_filter_context_t *zfx, z_stream *zs,
n = zs->avail_in; n = zs->avail_in;
if( !n ) if( !n )
zs->next_in = zfx->inbuf; zs->next_in = zfx->inbuf;
for( p=zfx->inbuf+n; n < zfx->inbufsize; n++, p++ ) { count = zfx->inbufsize - n;
if( (c=iobuf_get(a)) == -1 ) { nread = iobuf_read( a, zfx->inbuf + n, count );
/* If we use the undocumented feature to suppress if( nread == -1 ) nread = 0;
* the zlib header, we have to give inflate an n += nread;
* extra dummy byte to read */ /* If we use the undocumented feature to suppress
if( zfx->algo != 1 || zfx->algo1hack ) * the zlib header, we have to give inflate an
break; * extra dummy byte to read */
zfx->algo1hack = 1; if( nread < count && zfx->algo == 1 ) {
} *(zfx->inbuf + n) = 0xFF; /* is it really needed ? */
*p = c & 0xff; zfx->algo1hack = 1;
n++;
} }
zs->avail_in = n; zs->avail_in = n;
} }

View File

@ -217,16 +217,11 @@ decode_filter( void *opaque, int control, IOBUF a, byte *buf, size_t *ret_len)
decode_filter_ctx_t *fc = opaque; decode_filter_ctx_t *fc = opaque;
size_t n, size = *ret_len; size_t n, size = *ret_len;
int rc = 0; int rc = 0;
int c;
if( control == IOBUFCTRL_UNDERFLOW ) { if( control == IOBUFCTRL_UNDERFLOW ) {
assert(a); assert(a);
for(n=0; n < size; n++ ) { n = iobuf_read( a, buf, size );
if( (c = iobuf_get(a)) == -1 ) if( n == -1 ) n = 0;
break;
buf[n] = c;
}
if( n ) if( n )
cipher_decrypt( fc->cipher_hd, buf, buf, n); cipher_decrypt( fc->cipher_hd, buf, buf, n);
else else

View File

@ -229,7 +229,7 @@ free_compressed( PKT_compressed *zd )
if( zd->buf ) { /* have to skip some bytes */ if( zd->buf ) { /* have to skip some bytes */
/* don't have any information about the length, so /* don't have any information about the length, so
* we assume this is the last packet */ * we assume this is the last packet */
while( iobuf_get(zd->buf) != -1 ) while( iobuf_read( zd->buf, NULL, 1<<30 ) != -1 )
; ;
} }
m_free(zd); m_free(zd);
@ -240,12 +240,12 @@ free_encrypted( PKT_encrypted *ed )
{ {
if( ed->buf ) { /* have to skip some bytes */ if( ed->buf ) { /* have to skip some bytes */
if( iobuf_in_block_mode(ed->buf) ) { if( iobuf_in_block_mode(ed->buf) ) {
while( iobuf_get(ed->buf) != -1 ) while( iobuf_read( ed->buf, NULL, 1<<30 ) != -1 )
; ;
} }
else { else {
for( ; ed->len; ed->len-- ) /* skip the packet */ while( ed->len ) /* skip the packet */
iobuf_get(ed->buf); ed->len -= iobuf_read( ed->buf, NULL, ed->len );
} }
} }
m_free(ed); m_free(ed);
@ -257,12 +257,12 @@ free_plaintext( PKT_plaintext *pt )
{ {
if( pt->buf ) { /* have to skip some bytes */ if( pt->buf ) { /* have to skip some bytes */
if( iobuf_in_block_mode(pt->buf) ) { if( iobuf_in_block_mode(pt->buf) ) {
while( iobuf_get(pt->buf) != -1 ) while( iobuf_read( pt->buf, NULL, 1<<30 ) != -1 )
; ;
} }
else { else {
for( ; pt->len; pt->len-- ) /* skip the packet */ while( pt->len ) /* skip the packet */
iobuf_get(pt->buf); pt->len -= iobuf_read( pt->buf, NULL, pt->len );
} }
} }
m_free(pt); m_free(pt);

View File

@ -554,6 +554,11 @@ main( int argc, char **argv )
opt.shm_coprocess = 1; opt.shm_coprocess = 1;
requested_shm_size = pargs.r.ret_ulong; requested_shm_size = pargs.r.ret_ulong;
} }
else if ( pargs.r_opt == oStatusFD ) {
/* this is needed to ensure that the status-fd filedescriptor is
* initialized when init_shm_coprocessing() is called */
set_status_fd( pargs.r.ret_int );
}
#endif #endif
} }

View File

@ -42,17 +42,13 @@ md_filter( void *opaque, int control,
{ {
size_t size = *ret_len; size_t size = *ret_len;
md_filter_context_t *mfx = opaque; md_filter_context_t *mfx = opaque;
int i, c, rc=0; int i, rc=0;
if( control == IOBUFCTRL_UNDERFLOW ) { if( control == IOBUFCTRL_UNDERFLOW ) {
if( mfx->maxbuf_size && size > mfx->maxbuf_size ) if( mfx->maxbuf_size && size > mfx->maxbuf_size )
size = mfx->maxbuf_size; size = mfx->maxbuf_size;
for(i=0; i < size; i++ ) { i = iobuf_read( a, buf, size );
if( (c = iobuf_get(a)) == -1 ) if( i == -1 ) i = 0;
break;
buf[i] = c;
}
if( i ) { if( i ) {
md_write(mfx->md, buf, i ); md_write(mfx->md, buf, i );
if( mfx->md2 ) if( mfx->md2 )

View File

@ -90,41 +90,92 @@ handle_plaintext( PKT_plaintext *pt, md_filter_context_t *mfx,
if( pt->len ) { if( pt->len ) {
assert( !clearsig ); assert( !clearsig );
for( ; pt->len; pt->len-- ) { if( convert ) { // text mode
if( (c = iobuf_get(pt->buf)) == -1 ) { for( ; pt->len; pt->len-- ) {
log_error("Problem reading source (%u bytes remaining)\n", if( (c = iobuf_get(pt->buf)) == -1 ) {
(unsigned)pt->len); log_error("Problem reading source (%u bytes remaining)\n",
rc = G10ERR_READ_FILE; (unsigned)pt->len);
goto leave; rc = G10ERR_READ_FILE;
}
if( mfx->md )
md_putc(mfx->md, c );
if( convert && c == '\r' )
continue; /* fixme: this hack might be too simple */
if( fp ) {
if( putc( c, fp ) == EOF ) {
log_error("Error writing to `%s': %s\n",
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
goto leave; goto leave;
} }
if( mfx->md )
md_putc(mfx->md, c );
if( c == '\r' )
continue; /* fixme: this hack might be too simple */
if( fp ) {
if( putc( c, fp ) == EOF ) {
log_error("Error writing to `%s': %s\n",
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
goto leave;
}
}
} }
} }
} else { // binary mode
else if( !clearsig ) { byte *buffer = m_alloc( 32768 );
while( (c = iobuf_get(pt->buf)) != -1 ) { while( pt->len ) {
if( mfx->md ) int len = pt->len > 32768 ? 32768 : pt->len;
md_putc(mfx->md, c ); len = iobuf_read( pt->buf, buffer, len );
if( convert && c == '\r' ) if( len == -1 ) {
continue; /* fixme: this hack might be too simple */ log_error("Problem reading source (%u bytes remaining)\n",
if( fp ) { (unsigned)pt->len);
if( putc( c, fp ) == EOF ) { rc = G10ERR_READ_FILE;
log_error("Error writing to `%s': %s\n", m_free( buffer );
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
goto leave; goto leave;
} }
if( mfx->md )
md_write( mfx->md, buffer, len );
if( fp ) {
if( fwrite( buffer, 1, len, fp ) != len ) {
log_error("Error writing to `%s': %s\n",
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
m_free( buffer );
goto leave;
}
}
pt->len -= len;
} }
m_free( buffer );
}
}
else if( !clearsig ) {
if( convert ) { // text mode
while( (c = iobuf_get(pt->buf)) != -1 ) {
if( mfx->md )
md_putc(mfx->md, c );
if( convert && c == '\r' )
continue; /* fixme: this hack might be too simple */
if( fp ) {
if( putc( c, fp ) == EOF ) {
log_error("Error writing to `%s': %s\n",
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
goto leave;
}
}
}
}
else { // binary mode
byte *buffer = m_alloc( 32768 );
for( ;; ) {
int len = iobuf_read( pt->buf, buffer, 32768 );
if( len == -1 )
break;
if( mfx->md )
md_write( mfx->md, buffer, len );
if( fp ) {
if( fwrite( buffer, 1, len, fp ) != len ) {
log_error("Error writing to `%s': %s\n",
fname, strerror(errno) );
rc = G10ERR_WRITE_FILE;
m_free( buffer );
goto leave;
}
}
}
m_free( buffer );
} }
pt->buf = NULL; pt->buf = NULL;
} }

View File

@ -1,3 +1,9 @@
Mon May 31 19:41:10 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* de.po: New version (Walter).
* pl.po: New version (Alex).
Tue May 25 19:50:32 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> Tue May 25 19:50:32 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* fr.po: Imported new version. * fr.po: Imported new version.

681
po/de.po

File diff suppressed because it is too large Load Diff

214
po/pl.po
View File

@ -5,22 +5,16 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: gnupg-0.9.2\n" "Project-Id-Version: gnupg-0.9.7\n"
"POT-Creation-Date: 1999-05-23 15:36+0200\n" "POT-Creation-Date: 1999-05-23 15:36+0200\n"
"PO-Revision-Date: 1999-01-26 01:30+01:00\n" "PO-Revision-Date: 1999-05-30 19:08+02:00\n"
"Last-Translator: Janusz A. Urbanowicz <alex@bofh.net.pl>\n" "Last-Translator: Janusz A. Urbanowicz <alex@bofh.net.pl>\n"
"Language-Team: Polish <pl@li.org>\n" "Language-Team: Polish <pl@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Type: text/plain; charset=ISO-8859-2\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Xgettext-Options: --default-domain=gnupg --directory=.. --add-comments " "Xgettext-Options: --default-domain=gnupg --directory=.. --add-comments --keywor\\d=_ --keyword=N_ --files-from=./POTFILES.in\n"
"--keywor\\d=_ --keyword=N_ --files-from=./POTFILES.in\n" "Files: util/secmem.c util/argparse.c cipher/random.c cipher/rand-dummy.c cipher\\/rand-unix.c cipher/rand-w32.c g10/g10.c g10/pkclist.c g10/keygen.c g10/decrypt\\.c g10/encode.c g10/import.c g10/keyedit.c g10/keylist.c g10/mainproc.c g10/pas\\sphrase.c g10/plaintext.c g10/pref.c g10/seckey-cert.c g10/sig-check.c g10/sign\\.c g10/trustdb.c g10/verify.c g10/status.c g10/pubkey-enc.c\n"
"Files: util/secmem.c util/argparse.c cipher/random.c cipher/rand-dummy.c "
"cipher\\/rand-unix.c cipher/rand-w32.c g10/g10.c g10/pkclist.c g10/keygen.c "
"g10/decrypt\\.c g10/encode.c g10/import.c g10/keyedit.c g10/keylist.c "
"g10/mainproc.c g10/pas\\sphrase.c g10/plaintext.c g10/pref.c "
"g10/seckey-cert.c g10/sig-check.c g10/sign\\.c g10/trustdb.c g10/verify.c "
"g10/status.c g10/pubkey-enc.c\n"
#: util/secmem.c:76 #: util/secmem.c:76
msgid "Warning: using insecure memory!\n" msgid "Warning: using insecure memory!\n"
@ -28,11 +22,11 @@ msgstr "Ostrze
#: util/secmem.c:249 #: util/secmem.c:249
msgid "operation is not possible without initialized secure memory\n" msgid "operation is not possible without initialized secure memory\n"
msgstr "" msgstr "operacja niemożliwa do wykonania bez dostępnej pamięci bezpiecznej\n"
#: util/secmem.c:250 #: util/secmem.c:250
msgid "(you may have used the wrong program for this task)\n" msgid "(you may have used the wrong program for this task)\n"
msgstr "" msgstr "(prawdopodobnie używany program jest niewłaściwy dlatego zadania)\n"
#: util/miscutil.c:156 #: util/miscutil.c:156
msgid "yes" msgid "yes"
@ -152,7 +146,7 @@ msgstr "algorytm szyfrowania z kluczem publicznym nie jest zaimplementowany"
#: util/errors.c:81 #: util/errors.c:81
msgid "unimplemented cipher algorithm" msgid "unimplemented cipher algorithm"
msgstr "algorytm szyfrujący nie jest zaimplementowany." msgstr "algorytm szyfrujący nie jest zaimplementowany"
#: util/errors.c:82 #: util/errors.c:82
msgid "unknown signature class" msgid "unknown signature class"
@ -224,16 +218,15 @@ msgstr "niepoprawny URI"
#: util/errors.c:99 #: util/errors.c:99
msgid "unsupported URI" msgid "unsupported URI"
msgstr "URI nie obsługiwanego typu" msgstr "URI typu nie obsługiwanego"
#: util/errors.c:100 #: util/errors.c:100
msgid "network error" msgid "network error"
msgstr "b³±d sieci" msgstr "b³±d sieci"
#: util/errors.c:102 #: util/errors.c:102
#, fuzzy
msgid "not encrypted" msgid "not encrypted"
msgstr "%s zaszyfrowane dane\n" msgstr "nie zaszyfrowany"
#: util/logger.c:218 #: util/logger.c:218
#, c-format #, c-format
@ -362,13 +355,12 @@ msgid "export keys to a key server"
msgstr "eksport kluczy do serwera kluczy" msgstr "eksport kluczy do serwera kluczy"
#: g10/g10.c:187 #: g10/g10.c:187
#, fuzzy
msgid "import keys from a key server" msgid "import keys from a key server"
msgstr "eksport kluczy do serwera kluczy" msgstr "import kluczy z serwera kluczy"
#: g10/g10.c:190 #: g10/g10.c:190
msgid "import/merge keys" msgid "import/merge keys"
msgstr "dołączanie klucza do zbioru" msgstr "import/dołączenie kluczy"
#: g10/g10.c:192 #: g10/g10.c:192
msgid "list only the sequence of packets" msgid "list only the sequence of packets"
@ -396,11 +388,11 @@ msgstr "naprawa uszkodzonej Bazy Zaufania"
#: g10/g10.c:202 #: g10/g10.c:202
msgid "De-Armor a file or stdin" msgid "De-Armor a file or stdin"
msgstr "Zdjęcie opakowania ASCII pliku lub potoku" msgstr "zdjęcie opakowania ASCII pliku lub potoku"
#: g10/g10.c:203 #: g10/g10.c:203
msgid "En-Armor a file or stdin" msgid "En-Armor a file or stdin"
msgstr "Opakowanie ASCII pliku lub potoku" msgstr "opakowanie ASCII pliku lub potoku"
#: g10/g10.c:204 #: g10/g10.c:204
msgid "|algo [files]|print message digests" msgid "|algo [files]|print message digests"
@ -425,9 +417,8 @@ msgid "create ascii armored output"
msgstr "plik wynikowy w opakowaniu ASCII" msgstr "plik wynikowy w opakowaniu ASCII"
#: g10/g10.c:214 #: g10/g10.c:214
#, fuzzy
msgid "|NAME|encrypt for NAME" msgid "|NAME|encrypt for NAME"
msgstr "|NAZWA|zestaw znaków terminala NAZWA" msgstr "|NAZWA|szyfrowanie dla odbiorcy NAZWA"
#: g10/g10.c:218 #: g10/g10.c:218
msgid "use this user-id to sign or decrypt" msgid "use this user-id to sign or decrypt"
@ -458,13 +449,12 @@ msgid "force v3 signatures"
msgstr "wymuszenie trzeciej wersji formatu podpisów" msgstr "wymuszenie trzeciej wersji formatu podpisów"
#: g10/g10.c:226 #: g10/g10.c:226
#, fuzzy
msgid "always use a MDC for encryption" msgid "always use a MDC for encryption"
msgstr "użyć tego identyfikatora do szyfrowania" msgstr "do szyfrowania będzie używany MDC"
#: g10/g10.c:227 #: g10/g10.c:227
msgid "do not make any changes" msgid "do not make any changes"
msgstr "" msgstr "pozostawienie bez zmian"
#. { oInteractive, "interactive", 0, N_("prompt before overwriting") }, #. { oInteractive, "interactive", 0, N_("prompt before overwriting") },
#: g10/g10.c:229 #: g10/g10.c:229
@ -481,7 +471,7 @@ msgstr "automatyczna odpowied
#: g10/g10.c:232 #: g10/g10.c:232
msgid "add this keyring to the list of keyrings" msgid "add this keyring to the list of keyrings"
msgstr "dodać zbiór kluczy do listy" msgstr "dodać zbiór kluczy do listy używanych"
#: g10/g10.c:233 #: g10/g10.c:233
msgid "add this secret keyring to the list" msgid "add this secret keyring to the list"
@ -561,7 +551,7 @@ msgstr "|N|algorytm kompresji N"
#: g10/g10.c:256 #: g10/g10.c:256
msgid "throw keyid field of encrypted packets" msgid "throw keyid field of encrypted packets"
msgstr "usunięcie identyfikatorów kluczy pakietów" msgstr "usunięcie identyfikatorów kluczy z pakietów"
#: g10/g10.c:258 #: g10/g10.c:258
msgid "" msgid ""
@ -590,7 +580,7 @@ msgstr "B
#: g10/g10.c:331 #: g10/g10.c:331
msgid "Usage: gpg [options] [files] (-h for help)" msgid "Usage: gpg [options] [files] (-h for help)"
msgstr "Sposób użycia: gpg [opcje] [pliki] (-h podaje pomoc)" msgstr "Wywołanie: gpg [opcje] [pliki] (-h podaje pomoc)"
#: g10/g10.c:334 #: g10/g10.c:334
msgid "" msgid ""
@ -612,7 +602,7 @@ msgstr ""
#: g10/g10.c:413 #: g10/g10.c:413
msgid "usage: gpg [options] " msgid "usage: gpg [options] "
msgstr "sposób użycia: gpg [opcje]" msgstr "wywołanie: gpg [opcje]"
#: g10/g10.c:453 #: g10/g10.c:453
msgid "conflicting commands\n" msgid "conflicting commands\n"
@ -728,12 +718,12 @@ msgstr "-k[v][v][v][c] [identyfikator] [zbi
#: g10/g10.c:1083 #: g10/g10.c:1083
#, c-format #, c-format
msgid "dearmoring failed: %s\n" msgid "dearmoring failed: %s\n"
msgstr "Usunięcie opakowania ASCII nie powiodło się: %s\n" msgstr "usunięcie opakowania ASCII nie powiodło się: %s\n"
#: g10/g10.c:1091 #: g10/g10.c:1091
#, c-format #, c-format
msgid "enarmoring failed: %s\n" msgid "enarmoring failed: %s\n"
msgstr "Opakowywanie ASCII nie powiodło się: %s\n" msgstr "opakowywanie ASCII nie powiodło się: %s\n"
#: g10/g10.c:1157 #: g10/g10.c:1157
#, c-format #, c-format
@ -760,7 +750,7 @@ msgstr "opakowanie: %s\n"
#: g10/armor.c:319 #: g10/armor.c:319
msgid "invalid armor header: " msgid "invalid armor header: "
msgstr "Niepoprawny nagłówek opakowania: " msgstr "niepoprawny nagłówek opakowania: "
#: g10/armor.c:326 #: g10/armor.c:326
msgid "armor header: " msgid "armor header: "
@ -925,9 +915,9 @@ msgid "Use this key anyway? "
msgstr "U¿yæ tego klucza pomimo to? " msgstr "U¿yæ tego klucza pomimo to? "
#: g10/pkclist.c:291 #: g10/pkclist.c:291
#, fuzzy, c-format #, c-format
msgid "key %08lX: subkey has been revoked!\n" msgid "key %08lX: subkey has been revoked!\n"
msgstr "klucz %08lX: klucz został unieważniony!\n" msgstr "klucz %08lX: podklucz został unieważniony!\n"
#: g10/pkclist.c:321 #: g10/pkclist.c:321
#, c-format #, c-format
@ -942,7 +932,7 @@ msgstr "%08lX: brak informacji aby obliczy
#: g10/pkclist.c:341 #: g10/pkclist.c:341
#, c-format #, c-format
msgid "%08lX: We do NOT trust this key\n" msgid "%08lX: We do NOT trust this key\n"
msgstr "%08lX: OSTRZEŻENIE: Nie ufamy temu kluczowi!\n" msgstr "%08lX: NIE UFAMY temu kluczowi\n"
#: g10/pkclist.c:347 #: g10/pkclist.c:347
#, c-format #, c-format
@ -986,9 +976,8 @@ msgid " This could mean that the signature is forgery.\n"
msgstr " To mo¿e oznaczaæ ¿e podpis jest fa³szerstwem.\n" msgstr " To mo¿e oznaczaæ ¿e podpis jest fa³szerstwem.\n"
#: g10/pkclist.c:459 #: g10/pkclist.c:459
#, fuzzy
msgid "WARNING: This subkey has been revoked by its owner!\n" msgid "WARNING: This subkey has been revoked by its owner!\n"
msgstr "OSTRZEŻENIE: Ten klucz został unieważniony przez właściciela!\n" msgstr "OSTRZEŻENIE: Ten podklucz został unieważniony przez właściciela!\n"
#: g10/pkclist.c:480 #: g10/pkclist.c:480
msgid "Note: This key has expired!\n" msgid "Note: This key has expired!\n"
@ -1006,7 +995,7 @@ msgstr ""
#: g10/pkclist.c:505 #: g10/pkclist.c:505
msgid "WARNING: We do NOT trust this key!\n" msgid "WARNING: We do NOT trust this key!\n"
msgstr "OSTRZEŻENIE: Nie ufamy temu kluczowi!\n" msgstr "OSTRZEŻENIE: NIE UFAMY temu kluczowi!\n"
#: g10/pkclist.c:506 #: g10/pkclist.c:506
msgid " The signature is probably a FORGERY.\n" msgid " The signature is probably a FORGERY.\n"
@ -1138,16 +1127,16 @@ msgstr "D
#. * you start a discussion with Marvin about this theme and then #. * you start a discussion with Marvin about this theme and then
#. * do whatever you want. #. * do whatever you want.
#: g10/keygen.c:466 #: g10/keygen.c:466
#, fuzzy, c-format #, c-format
msgid "keysize too large; %d is largest value allowed.\n" msgid "keysize too large; %d is largest value allowed.\n"
msgstr "Długość klucza zbyt mała; minimalna dopuszczona wynosi 768 bitów.\n" msgstr "zbyt duży rozmiar klucza, ograniczenie wynosi %d.\n"
#: g10/keygen.c:471 #: g10/keygen.c:471
msgid "" msgid ""
"Keysizes larger than 2048 are not suggested because\n" "Keysizes larger than 2048 are not suggested because\n"
"computations take REALLY long!\n" "computations take REALLY long!\n"
msgstr "" msgstr ""
"Klucze dłuższe niż 2048 bitów są odradzane ponieważ obliczenia\n" "Klucze dłuższe niż 2048 bitów są odradzane, ponieważ obliczenia\n"
"trwaj± wtedy BARDZO d³ugo!\n" "trwaj± wtedy BARDZO d³ugo!\n"
#: g10/keygen.c:474 #: g10/keygen.c:474
@ -1265,7 +1254,7 @@ msgstr "Niew
#: g10/keygen.c:669 #: g10/keygen.c:669
#, c-format #, c-format
msgid "You are using the `%s' character set.\n" msgid "You are using the `%s' character set.\n"
msgstr "" msgstr "Używasz zestawu znaków %s.\n"
#: g10/keygen.c:675 #: g10/keygen.c:675
#, c-format #, c-format
@ -1315,20 +1304,18 @@ msgstr ""
"\n" "\n"
#: g10/keygen.c:775 #: g10/keygen.c:775
#, fuzzy
msgid "" msgid ""
"We need to generate a lot of random bytes. It is a good idea to perform\n" "We need to generate a lot of random bytes. It is a good idea to perform\n"
"some other action (type on the keyboard, move the mouse, utilize the\n" "some other action (type on the keyboard, move the mouse, utilize the\n"
"disks) during the prime generation; this gives the random number\n" "disks) during the prime generation; this gives the random number\n"
"generator a better chance to gain enough entropy.\n" "generator a better chance to gain enough entropy.\n"
msgstr "" msgstr ""
"Program musi wygenerować dużo losowych bajtów. Dobrze by było, zmusić " "Musimy wygenerować dużo losowych bajtów. Dobrym pomysłem podczas "
"komputer\n" "generowania\n"
"do równoległej pracy nad czymś innym (w innym oknie, wykonać jakieś ruchy\n" "liczb pierszych jest wykonanywanie w tym czasie innych działań (pisanie na\n"
"myszką, użyć sieci albo odwołać się do dysku) podczas generacji liczb\n" "klawiaturzeze, poruszanie myszką, odwołanie się do dysków); dzięki temu\n"
"pierwszych; to daje komputerowi szansę zebrania dostatecznej ilości " "generator liczb losowych ma możliwość zebrania odpowiedniej ilości "
"entropii\n" "entropii.\n"
"do zasilenia generatora liczb losowych.\n"
#: g10/keygen.c:845 #: g10/keygen.c:845
msgid "Key generation can only be used in interactive mode\n" msgid "Key generation can only be used in interactive mode\n"
@ -1448,9 +1435,9 @@ msgid "using secondary key %08lX instead of primary key %08lX\n"
msgstr "u¿ywany jest podklucz %08lX zamiast klucza g³ównego %08lX\n" msgstr "u¿ywany jest podklucz %08lX zamiast klucza g³ównego %08lX\n"
#: g10/import.c:116 #: g10/import.c:116
#, fuzzy, c-format #, c-format
msgid "can't open `%s': %s\n" msgid "can't open `%s': %s\n"
msgstr "nie mo otworzyć %s: %s\n" msgstr "nie można otworzyć %s: %s\n"
#: g10/import.c:160 #: g10/import.c:160
#, c-format #, c-format
@ -1463,9 +1450,9 @@ msgid "%lu keys so far processed\n"
msgstr "%lu kluczy przetworzonych do tej chwili\n" msgstr "%lu kluczy przetworzonych do tej chwili\n"
#: g10/import.c:172 #: g10/import.c:172
#, fuzzy, c-format #, c-format
msgid "error reading `%s': %s\n" msgid "error reading `%s': %s\n"
msgstr "błąd odczytu rekordu podpisu: %s\n" msgstr "błąd odczytu '%s': %s\n"
#: g10/import.c:175 #: g10/import.c:175
#, c-format #, c-format
@ -1551,14 +1538,12 @@ msgid "writing to `%s'\n"
msgstr "zapis do '%s'\n" msgstr "zapis do '%s'\n"
#: g10/import.c:379 g10/import.c:435 #: g10/import.c:379 g10/import.c:435
#, fuzzy
msgid "can't lock keyring `%': %s\n" msgid "can't lock keyring `%': %s\n"
msgstr "nie mo zablokować zbioru kluczy publicznych: %s\n" msgstr "nie można zablokować zbioru kluczy publicznych: %s\n"
#: g10/import.c:382 #: g10/import.c:382
#, fuzzy
msgid "error writing keyring `%': %s\n" msgid "error writing keyring `%': %s\n"
msgstr "%s: błąd zapisu numeru wersji: %s\n" msgstr "błąd zapisu zbioru kluczy '%': %s\n"
#: g10/import.c:387 #: g10/import.c:387
#, c-format #, c-format
@ -1581,9 +1566,9 @@ msgid "key %08lX: can't read original keyblock: %s\n"
msgstr "klucz %08lX: nie mo¿na odczytaæ oryginalnego bloku klucza; %s\n" msgstr "klucz %08lX: nie mo¿na odczytaæ oryginalnego bloku klucza; %s\n"
#: g10/import.c:438 g10/import.c:547 g10/import.c:648 #: g10/import.c:438 g10/import.c:547 g10/import.c:648
#, fuzzy, c-format #, c-format
msgid "error writing keyring `%s': %s\n" msgid "error writing keyring `%s': %s\n"
msgstr "%s: błąd zapisu numeru wersji: %s\n" msgstr "błąd zapisu zbioru kluczy '%s': %s\n"
#: g10/import.c:444 #: g10/import.c:444
#, c-format #, c-format
@ -1621,9 +1606,9 @@ msgid "key %08lX: not changed\n"
msgstr "klucz %08lX: bez zmian\n" msgstr "klucz %08lX: bez zmian\n"
#: g10/import.c:544 g10/import.c:645 #: g10/import.c:544 g10/import.c:645
#, fuzzy, c-format #, c-format
msgid "can't lock keyring `%s': %s\n" msgid "can't lock keyring `%s': %s\n"
msgstr "nie mogę zablokować zbioru kluczy publicznych: %s\n" msgstr "nie można zablokować zbioru kluczy publicznych '%s': %s\n"
#: g10/import.c:552 #: g10/import.c:552
#, c-format #, c-format
@ -1701,11 +1686,9 @@ msgstr "klucz %08lX: podklucz pomini
#. * the secret key used to create this signature - it #. * the secret key used to create this signature - it
#. * seems that this makes sense #. * seems that this makes sense
#: g10/import.c:798 #: g10/import.c:798
#, fuzzy, c-format #, c-format
msgid "key %08lX: non exportable signature (class %02x) - skipped\n" msgid "key %08lX: non exportable signature (class %02x) - skipped\n"
msgstr "" msgstr "klucz %08lX: podpis nieeksportowalny (klasa %02x) - pominięty\n"
"klucz %08lX: certyfikat unieważnienia umieszczony w niewłaściwym \n"
"miejscu - został pominięty\n"
#: g10/import.c:807 #: g10/import.c:807
#, c-format #, c-format
@ -1722,7 +1705,7 @@ msgstr "klucz %08lX: niepoprawny certyfikat uniewa
#: g10/import.c:915 #: g10/import.c:915
#, c-format #, c-format
msgid "key %08lX: duplicated user ID detected - merged\n" msgid "key %08lX: duplicated user ID detected - merged\n"
msgstr "" msgstr "key %08lX: powtórzony identyfikator użytkownika - dołączony\n"
#: g10/import.c:966 #: g10/import.c:966
#, c-format #, c-format
@ -1741,7 +1724,7 @@ msgstr "%s: nie znaleziono u
#: g10/keyedit.c:177 #: g10/keyedit.c:177
msgid "[revocation]" msgid "[revocation]"
msgstr "" msgstr "[unieważnienie]"
#: g10/keyedit.c:178 #: g10/keyedit.c:178
msgid "[self-signature]" msgid "[self-signature]"
@ -1809,6 +1792,8 @@ msgid ""
"The signature will be marked as non-exportable.\n" "The signature will be marked as non-exportable.\n"
"\n" "\n"
msgstr "" msgstr ""
"Podpis zostanie oznaczony jako nieeksportowalny.\n"
"\n"
#: g10/keyedit.c:321 #: g10/keyedit.c:321
msgid "Really sign? " msgid "Really sign? "
@ -1817,7 +1802,7 @@ msgstr "Na pewno podpisa
#: g10/keyedit.c:347 g10/keyedit.c:1688 g10/keyedit.c:1737 g10/sign.c:75 #: g10/keyedit.c:347 g10/keyedit.c:1688 g10/keyedit.c:1737 g10/sign.c:75
#, c-format #, c-format
msgid "signing failed: %s\n" msgid "signing failed: %s\n"
msgstr "podpisywanie nie powiodło się: %s\n" msgstr "złożenie podpisu nie powiodło się: %s\n"
#: g10/keyedit.c:400 #: g10/keyedit.c:400
msgid "This key is not protected.\n" msgid "This key is not protected.\n"
@ -1845,7 +1830,7 @@ msgid ""
"You don't want a passphrase - this is probably a *bad* idea!\n" "You don't want a passphrase - this is probably a *bad* idea!\n"
"\n" "\n"
msgstr "" msgstr ""
"Nie chcesz podać wyrażenia przejściowego (hasła) - to zły pomysł!\n" "Nie chcesz podać wyrażenia przejściowego (hasła) - to *zły* pomysł!\n"
"\n" "\n"
#: g10/keyedit.c:440 #: g10/keyedit.c:440
@ -1945,14 +1930,12 @@ msgid "s"
msgstr "p" msgstr "p"
#: g10/keyedit.c:551 #: g10/keyedit.c:551
#, fuzzy
msgid "lsign" msgid "lsign"
msgstr "podpis" msgstr "lpodpis"
#: g10/keyedit.c:551 #: g10/keyedit.c:551
#, fuzzy
msgid "sign the key locally" msgid "sign the key locally"
msgstr "złożenie podpisu na kluczu" msgstr "złożenie lokalnego podpisu na kluczu"
#: g10/keyedit.c:552 #: g10/keyedit.c:552
msgid "debug" msgid "debug"
@ -2035,28 +2018,24 @@ msgid "change the ownertrust"
msgstr "zmiana zaufania w³a¶ciciela" msgstr "zmiana zaufania w³a¶ciciela"
#: g10/keyedit.c:564 #: g10/keyedit.c:564
#, fuzzy
msgid "revsig" msgid "revsig"
msgstr "podpis" msgstr "unpod"
#: g10/keyedit.c:564 #: g10/keyedit.c:564
#, fuzzy
msgid "revoke signatures" msgid "revoke signatures"
msgstr "wymuszenie trzeciej wersji formatu podpisów" msgstr "unieważnienie podpisu"
#: g10/keyedit.c:565 #: g10/keyedit.c:565
#, fuzzy
msgid "revkey" msgid "revkey"
msgstr "klucz" msgstr "unpkl"
#: g10/keyedit.c:565 #: g10/keyedit.c:565
#, fuzzy
msgid "revoke a secondary key" msgid "revoke a secondary key"
msgstr "usunięcie podklucza" msgstr "unieważnienie podklucza"
#: g10/keyedit.c:584 #: g10/keyedit.c:584
msgid "can't do that in batchmode\n" msgid "can't do that in batchmode\n"
msgstr "operacja niemożliwa do wykonania w trybie wsadowym\n" msgstr "nie działa w trybie wsadowym\n"
#. check that they match #. check that they match
#. FIXME: check that they both match #. FIXME: check that they both match
@ -2137,14 +2116,12 @@ msgid "Do you really want to delete this key? "
msgstr "Czy na pewno chcesz usun±æ ten klucz? " msgstr "Czy na pewno chcesz usun±æ ten klucz? "
#: g10/keyedit.c:846 #: g10/keyedit.c:846
#, fuzzy
msgid "Do you really want to revoke the selected keys? " msgid "Do you really want to revoke the selected keys? "
msgstr "Czy na pewno chcesz usunąć wybrane klucze? " msgstr "Czy na pewno chcesz unieważnić wybrane klucze? "
#: g10/keyedit.c:847 #: g10/keyedit.c:847
#, fuzzy
msgid "Do you really want to revoke this key? " msgid "Do you really want to revoke this key? "
msgstr "Czy na pewno chcesz usunąć ten klucz? " msgstr "Czy na pewno chcesz unieważnić ten klucz? "
#: g10/keyedit.c:901 #: g10/keyedit.c:901
msgid "Invalid command (try \"help\")\n" msgid "Invalid command (try \"help\")\n"
@ -2185,36 +2162,34 @@ msgid "No secondary key with index %d\n"
msgstr "Brak podklucza o indeksie %d\n" msgstr "Brak podklucza o indeksie %d\n"
#: g10/keyedit.c:1566 #: g10/keyedit.c:1566
#, fuzzy
msgid "user ID: \"" msgid "user ID: \""
msgstr "Wprowadź identyfikator użytkownika (user ID): " msgstr "Identyfikator użytkownika: "
#: g10/keyedit.c:1569 #: g10/keyedit.c:1569
#, fuzzy, c-format #, c-format
msgid "" msgid ""
"\"\n" "\"\n"
"signed with your key %08lX at %s\n" "signed with your key %08lX at %s\n"
msgstr "Nie ma nic do podpisania kluczem %08lX.\n" msgstr ""
"\"\n"
"podpisano Twoim kluczem %08lX w %s\n"
#: g10/keyedit.c:1573 #: g10/keyedit.c:1573
#, fuzzy
msgid "Create a revocation certificate for this signature? (y/N)" msgid "Create a revocation certificate for this signature? (y/N)"
msgstr "generacja certyfikatu unieważnienia klucza" msgstr "Stworzyć certyfikat unieważnienia tego podpisu? (t/N)"
#: g10/keyedit.c:1653 #: g10/keyedit.c:1653
#, fuzzy
msgid "Really create the revocation certificates? (y/N)" msgid "Really create the revocation certificates? (y/N)"
msgstr "generacja certyfikatu unieważnienia klucza" msgstr "Na pewno utworzyć certyfikaty unieważnienia ? (t/N)"
#: g10/keyedit.c:1676 #: g10/keyedit.c:1676
#, fuzzy
msgid "no secret key\n" msgid "no secret key\n"
msgstr "niepoprawny klucz prywatny" msgstr "brak klucza prywatnego\n"
#: g10/mainproc.c:184 #: g10/mainproc.c:184
#, fuzzy, c-format #, c-format
msgid "public key is %08lX\n" msgid "public key is %08lX\n"
msgstr "klucz publiczny nie odnaleziony" msgstr "klucz publiczny %08lX\n"
#: g10/mainproc.c:212 #: g10/mainproc.c:212
msgid "public key encrypted data: good DEK\n" msgid "public key encrypted data: good DEK\n"
@ -2235,7 +2210,7 @@ msgstr "odszyfrowane poprawnie\n"
#: g10/mainproc.c:252 #: g10/mainproc.c:252
msgid "WARNING: encrypted message has been manipulated!\n" msgid "WARNING: encrypted message has been manipulated!\n"
msgstr "" msgstr "OSTRZEŻENIE: zaszyfrowana wiadomość była manipulowana!\n"
#: g10/mainproc.c:257 #: g10/mainproc.c:257
#, c-format #, c-format
@ -2272,9 +2247,8 @@ msgid "Good signature from \""
msgstr "Poprawny podpis z³o¿ony przez \"" msgstr "Poprawny podpis z³o¿ony przez \""
#: g10/mainproc.c:925 #: g10/mainproc.c:925
#, fuzzy
msgid " aka \"" msgid " aka \""
msgstr " dołączono do zbioru: %lu" msgstr " alias \""
#: g10/mainproc.c:975 #: g10/mainproc.c:975
#, c-format #, c-format
@ -2407,10 +2381,9 @@ msgstr ""
"wyra¿enie przej¶ciowe (has³o).\n" "wyra¿enie przej¶ciowe (has³o).\n"
#: g10/sig-check.c:187 #: g10/sig-check.c:187
#, fuzzy
msgid "assuming bad MDC due to an unknown critical bit\n" msgid "assuming bad MDC due to an unknown critical bit\n"
msgstr "" msgstr ""
"przyjęto nieważność podpisu z powonu ustawienia nieznanego bitu krytycznego\n" "przyjęto niepoprawność MDC z powonu ustawienia nieznanego bitu krytycznego\n"
#: g10/sig-check.c:283 #: g10/sig-check.c:283
msgid "" msgid ""
@ -2464,9 +2437,9 @@ msgid "can't handle text lines longer than %d characters\n"
msgstr "nie mogê obs³u¿yæ linii tekstu d³u¿szej ni¿ %d znaków\n" msgstr "nie mogê obs³u¿yæ linii tekstu d³u¿szej ni¿ %d znaków\n"
#: g10/textfilter.c:197 #: g10/textfilter.c:197
#, fuzzy, c-format #, c-format
msgid "input line longer than %d characters\n" msgid "input line longer than %d characters\n"
msgstr "błąd opakowania: linia dłuższa niż %d znaków\n" msgstr "linia dłuższa niż %d znaków\n"
#: g10/tdbio.c:116 g10/tdbio.c:1505 #: g10/tdbio.c:116 g10/tdbio.c:1505
#, c-format #, c-format
@ -2508,9 +2481,9 @@ msgid "%s: can't create: %s\n"
msgstr "%s: nie mogê utworzyæ: %s\n" msgstr "%s: nie mogê utworzyæ: %s\n"
#: g10/tdbio.c:472 g10/tdbio.c:521 #: g10/tdbio.c:472 g10/tdbio.c:521
#, fuzzy, c-format #, c-format
msgid "%s: can't create lock\n" msgid "%s: can't create lock\n"
msgstr "%s: nie mogę utworzyć: %s\n" msgstr "%s: nie mogę utworzyć blokady\n"
#: g10/tdbio.c:486 #: g10/tdbio.c:486
#, c-format #, c-format
@ -2823,14 +2796,12 @@ msgid "WARNING: can't yet handle long pref records\n"
msgstr "OSTRZE¯ENIE: d³ugie wpisy ustawieñ jeszcze nie s± obs³ugiwane.\n" msgstr "OSTRZE¯ENIE: d³ugie wpisy ustawieñ jeszcze nie s± obs³ugiwane.\n"
#: g10/trustdb.c:1654 #: g10/trustdb.c:1654
#, fuzzy
msgid "duplicated certificate - deleted" msgid "duplicated certificate - deleted"
msgstr "Podwójna kopia certyfikatu - usunięta" msgstr "podwójny certyfikat - usunięty"
#: g10/trustdb.c:1692 #: g10/trustdb.c:1692
#, fuzzy
msgid "public key not anymore available" msgid "public key not anymore available"
msgstr "klucz tajny jest niedostępny" msgstr "klucz publiczny jest już niedostępny"
#: g10/trustdb.c:1702 g10/trustdb.c:1791 #: g10/trustdb.c:1702 g10/trustdb.c:1791
msgid "Invalid certificate revocation" msgid "Invalid certificate revocation"
@ -2914,7 +2885,7 @@ msgstr "\t%lu kluczy uaktualnionych\n"
#: g10/trustdb.c:2568 #: g10/trustdb.c:2568
#, c-format #, c-format
msgid "\t%lu keys inserted\n" msgid "\t%lu keys inserted\n"
msgstr " %lu kluczy wpisanych\n" msgstr "\t%lu kluczy wpisanych\n"
#: g10/trustdb.c:2571 #: g10/trustdb.c:2571
#, c-format #, c-format
@ -3094,8 +3065,7 @@ msgstr "zaszyfrowane nieznanym algorytmem %d\n"
msgid "" msgid ""
"WARNING: message was encrypted with a weak key in the symmetric cipher.\n" "WARNING: message was encrypted with a weak key in the symmetric cipher.\n"
msgstr "" msgstr ""
"OSTRZEŻENIE: Informacje były szyfrowane słabym kluczem szyfru " "OSTRZEŻENIE: wiadomość była szyfrowana słabym kluczem szyfru symetrycznego.\n"
"symetrycznego.\n"
#: g10/seskey.c:52 #: g10/seskey.c:52
msgid "weak key created - retrying\n" msgid "weak key created - retrying\n"
@ -3135,7 +3105,7 @@ msgstr "Podaj identyfikator u
#: g10/helptext.c:66 #: g10/helptext.c:66
msgid "keygen.algo" msgid "keygen.algo"
msgstr "" msgstr ""
"Wybór algorytmu.\n" "Wybór algorytmu:\n"
"DSA (znany te¿ jako DSS) to Algorytm Podpisu Cyfrowego - u¿ywaæ go mo¿na " "DSA (znany te¿ jako DSS) to Algorytm Podpisu Cyfrowego - u¿ywaæ go mo¿na "
"tylko\n" "tylko\n"
"do tworzenia cyfrowych podpisów. Jego wybór jest sugerowany poniewa¿\n" "do tworzenia cyfrowych podpisów. Jego wybór jest sugerowany poniewa¿\n"
@ -3299,16 +3269,14 @@ msgstr "Brak pomocy o '%s'"
#~ msgid "can't write keyring: %s\n" #~ msgid "can't write keyring: %s\n"
#~ msgstr "niemo¿liwy jest zapis zbioru kluczy: %s\n" #~ msgstr "niemo¿liwy jest zapis zbioru kluczy: %s\n"
#, fuzzy
#~ msgid "encrypted message is valid\n" #~ msgid "encrypted message is valid\n"
#~ msgstr "wybrany algorytm geenracji skrótów wiadomości jest niepoprawny\n" #~ msgstr "zaszyfrowana wiadomość jest poprawna\n"
#, fuzzy
#~ msgid "Can't check MDC: %s\n" #~ msgid "Can't check MDC: %s\n"
#~ msgstr "Nie mogę sprawdzić podpisu: %s\n" #~ msgstr "Sprawdzenie MDC niemożliwe: %s\n"
#~ msgid "Usage: gpgm [options] [files] (-h for help)" #~ msgid "Usage: gpgm [options] [files] (-h for help)"
#~ msgstr "Sposób użycia: gpgm [opcje] [pliki] (-h podaje pomoc)" #~ msgstr "Wywołanie: gpgm [opcje] [pliki] (-h podaje pomoc)"
#~ msgid "" #~ msgid ""
#~ "Syntax: gpgm [options] [files]\n" #~ "Syntax: gpgm [options] [files]\n"
@ -3395,7 +3363,7 @@ msgstr "Brak pomocy o '%s'"
#~ msgstr "b³±d podczas poszukiwania wpisu katalogowego: %s\n" #~ msgstr "b³±d podczas poszukiwania wpisu katalogowego: %s\n"
#~ msgid "Hmmm, public key lost?" #~ msgid "Hmmm, public key lost?"
#~ msgstr "Hmmm, klucz publiczny starcony?" #~ msgstr "Hmmm, klucz publiczny utracony?"
#~ msgid "did not use primary key for insert_trust_record()\n" #~ msgid "did not use primary key for insert_trust_record()\n"
#~ msgstr "g³owny klucz nie zosta³ u¿yty w procedurze insert_trust_record()\n" #~ msgstr "g³owny klucz nie zosta³ u¿yty w procedurze insert_trust_record()\n"

View File

@ -16,9 +16,13 @@ Provides: gpg openpgp
BuildRoot: /tmp/rpmbuild_%{name} BuildRoot: /tmp/rpmbuild_%{name}
%changelog %changelog
* Sat May 29 1999 Fabio Coatti <cova@ferrara.linux.it>
- Some corrections in French description, thanks to
Gaël Quéri <gqueri@mail.dotcom.fr>
* Mon May 17 1999 Fabio Coatti <cova@felix.unife.it> * Mon May 17 1999 Fabio Coatti <cova@felix.unife.it>
- Added French description, provided by Christophe Labouisse <labouiss@cybercable.fr> - Added French description, provided by
Christophe Labouisse <labouiss@cybercable.fr>
* Thu May 06 1999 Fabio Coatti <cova@felix.unife.it> * Thu May 06 1999 Fabio Coatti <cova@felix.unife.it>
- Upgraded for 0.9.6 (removed gpgm) - Upgraded for 0.9.6 (removed gpgm)
@ -49,9 +53,9 @@ IDEA o RSA pu
alle specifiche OpenPGP (RFC2440). alle specifiche OpenPGP (RFC2440).
%description -l fr %description -l fr
GnuPG est remplacement complet et "libre" de PGP. Comme il n'utilise GnuPG est un remplacement complet et « libre » de PGP. Comme il n'utilise
ni IDEA ni RSA il peut être utilisé sans restriction. GnuPG est conforme ni IDEA ni RSA il peut être utilisé sans restriction. GnuPG est conforme
avec la spécification OpenPGP (RFC2440). à la spécification OpenPGP (RFC2440).
%prep %prep
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT

View File

@ -1,3 +1,7 @@
Mon May 31 19:41:10 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* iobuf.c (file_filter,block_filter): Speed patches (Rémi).
Thu May 27 09:40:55 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> Thu May 27 09:40:55 CEST 1999 Werner Koch <wk@isil.d.shuttle.de>
* miscutil.c (answer_is_yes_no_quit): New. * miscutil.c (answer_is_yes_no_quit): New.

View File

@ -89,33 +89,28 @@ file_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len)
FILE *fp = a->fp; FILE *fp = a->fp;
size_t size = *ret_len; size_t size = *ret_len;
size_t nbytes = 0; size_t nbytes = 0;
int c, rc = 0; int rc = 0;
char *p;
if( control == IOBUFCTRL_UNDERFLOW ) { if( control == IOBUFCTRL_UNDERFLOW ) {
assert( size ); /* need a buffer */ assert( size ); /* need a buffer */
for(; size; size-- ) { clearerr( fp );
if( (c=getc(fp)) == EOF ) { nbytes = fread( buf, 1, size, fp );
if( ferror(fp) && errno != EPIPE ) { if( feof(fp) && !nbytes )
log_error("%s: read error: %s\n", rc = -1; /* okay: we can return EOF now. */
a->fname, strerror(errno)); else if( ferror(fp) && errno != EPIPE ) {
rc = G10ERR_READ_FILE; log_error("%s: read error: %s\n",
} a->fname, strerror(errno));
else if( !nbytes ) rc = G10ERR_READ_FILE;
rc = -1; /* okay: we can return EOF now. */
break;
}
buf[nbytes++] = c & 0xff;
} }
*ret_len = nbytes; *ret_len = nbytes;
} }
else if( control == IOBUFCTRL_FLUSH ) { else if( control == IOBUFCTRL_FLUSH ) {
for(p=buf; nbytes < size; nbytes++, p++ ) { if( size ) {
if( putc(*p, fp) == EOF ) { clearerr( fp );
log_error("%s: write error: %s\n", nbytes = fwrite( buf, 1, size, fp );
a->fname, strerror(errno)); if( ferror(fp) ) {
log_error("%s: write error: %s\n", a->fname, strerror(errno));
rc = G10ERR_WRITE_FILE; rc = G10ERR_WRITE_FILE;
break;
} }
} }
*ret_len = nbytes; *ret_len = nbytes;
@ -149,7 +144,7 @@ block_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len)
{ {
block_filter_ctx_t *a = opaque; block_filter_ctx_t *a = opaque;
size_t size = *ret_len; size_t size = *ret_len;
int c, rc = 0; int c, needed, rc = 0;
char *p; char *p;
if( control == IOBUFCTRL_UNDERFLOW ) { if( control == IOBUFCTRL_UNDERFLOW ) {
@ -239,15 +234,20 @@ block_filter(void *opaque, int control, IOBUF chain, byte *buf, size_t *ret_len)
} }
} }
for(; !rc && size && a->size; size--, a->size-- ) { while( !rc && size && a->size ) {
if( (c=iobuf_get(chain)) == -1 ) { needed = size < a->size ? size : a->size;
c = iobuf_read( chain, p, needed );
if( c < needed ) {
if( c == -1 ) c = 0;
log_error("block_filter %p: read error (size=%lu,a->size=%lu)\n", log_error("block_filter %p: read error (size=%lu,a->size=%lu)\n",
a, (ulong)size, (ulong)a->size); a, (ulong)size+c, (ulong)a->size+c);
rc = G10ERR_READ_FILE; rc = G10ERR_READ_FILE;
} }
else { else {
*p++ = c; size -= c;
n++; a->size -= c;
p += c;
n += c;
} }
} }
} }
@ -1058,28 +1058,36 @@ iobuf_read(IOBUF a, byte *buf, unsigned buflen )
if( a->unget.buf || a->nlimit ) { if( a->unget.buf || a->nlimit ) {
/* handle special cases */ /* handle special cases */
for(n=0 ; n < buflen; n++, buf++ ) { for(n=0 ; n < buflen; n++ ) {
if( (c = iobuf_readbyte(a)) == -1 ) { if( (c = iobuf_readbyte(a)) == -1 ) {
if( !n ) if( !n )
return -1; /* eof */ return -1; /* eof */
break; break;
} }
else else
*buf = c; if( buf ) *buf = c;
if( buf ) buf++;
} }
return n; return n;
} }
n = 0; n = 0;
do { do {
for( ; n < buflen && a->d.start < a->d.len; n++ ) if( n < buflen && a->d.start < a->d.len ) {
*buf++ = a->d.buf[a->d.start++]; unsigned size = a->d.len - a->d.start;
if( size > buflen - n ) size = buflen - n;
if( buf ) memcpy( buf, a->d.buf + a->d.start, size );
n += size;
a->d.start += size;
if( buf ) buf += size;
}
if( n < buflen ) { if( n < buflen ) {
if( (c=underflow(a)) == -1 ) { if( (c=underflow(a)) == -1 ) {
a->nbytes += n; a->nbytes += n;
return n? n : -1/*EOF*/; return n? n : -1/*EOF*/;
} }
*buf++ = c; n++; if( buf ) *buf++ = c;
n++;
} }
} while( n < buflen ); } while( n < buflen );
a->nbytes += n; a->nbytes += n;
@ -1140,8 +1148,14 @@ iobuf_write(IOBUF a, byte *buf, unsigned buflen )
BUG(); BUG();
do { do {
for( ; buflen && a->d.len < a->d.size; buflen--, buf++ ) if( buflen && a->d.len < a->d.size ) {
a->d.buf[a->d.len++] = *buf; unsigned size = a->d.size - a->d.len;
if( size > buflen ) size = buflen;
memcpy( a->d.buf + a->d.len, buf, size );
buflen -= size;
buf += size;
a->d.len += size;
}
if( buflen ) { if( buflen ) {
if( iobuf_flush(a) ) if( iobuf_flush(a) )
return -1; return -1;