Hallo, Am Fre, 17 Jul 2009, Kyek, Andreas, VF-DE schrieb:
Wenn man in das GnuPG.pm reinschaut, das bastelt er die Argumente für GnuPG hier mit push @options, "--recipient" => $args{recipient};
Und auch mit Tricks bekommt man da leider nicht mehr rein. Mach's dir einfach und ruf gpg selber auf (so wie's GnuPG machen würde) ('strace -f -eprocess perl dein_script.pl' ist hilfreich ;) Ha, hab's: ==== use GnuPG; my $gpg = new GnuPG(); my @options = qw( --recipient foo --recipient bar --armor ); $gpg->options(\@options); $gpg->{input} = "input.txt"; $gpg->{output} = "input.txt.gpg"; $gpg->command("encrypt"); $gpg->args([]); $gpg->run_gnupg(); $gpg->end_gnupg(); ==== Die Fehlerbehandlung, wenn gpg was zu meckern hat fehlt aber. HTH, -dnh -- Keep your fights clean and your sex dirty. -- Kevin Bacon on keeping a successful marriage -- Um die Liste abzubestellen, schicken Sie eine Mail an: opensuse-de+unsubscribe@opensuse.org Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: opensuse-de+help@opensuse.org