New encrypt-files option - CVS code
Werner Koch
wk at gnupg.org
Tue Jan 8 20:46:02 CET 2002
On Tue, 8 Jan 2002 20:18:25 +0100, Roger Sondermann said:
> Hello,
> since the addition of the "encrypt-files" option (or maybe earlier),
> "default-recipient-self" is ignored together with the "encrypt"
> option. I've always used "gpg -e file" to encrypt a file just for me
Fixed.
> And what is the real difference between "--encrypt" and
> "--encrypt-files". I can read that "--encrypt" is for data now and
while (argc--) {
print_file_status(STATUS_FILE_START, *argv, 2);
if ( (rc = encode_crypt(*argv, remusr)) )
log_error("%s: encryption failed: %s\n", print_fname_stdin(*argv),
g10_errstr(rc) );
write_status( STATUS_FILE_DONE );
argv++;
}
i.e. you pass a list of filenames which will all be encrypted one
after the other and status message can be used to keep track of this.
Thanks,
Werner
--
Werner Koch Omnis enim res, quae dando non deficit, dum habetur
g10 Code GmbH et non datur, nondum habetur, quomodo habenda est.
Privacy Solutions -- Augustinus
More information about the Gnupg-devel
mailing list