Subject: pkg/6396: pgp -f does not stream, and does not obey $TMPDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: Sean Doran <smd@ebone.net>
List: netbsd-bugs
Date: 11/04/1998 12:05:26
>Number:         6396
>Category:       pkg
>Synopsis:       pgp -fc does not stream, and does not obey $TMPDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov  4 03:20:01 1998
>Last-Modified:
>Originator:     Sean Doran
>Organization:
Sean Doran <smd@ebone.net>
Development Manager, Ebone Inc., Copenhagen Denmark
>Release:        NetBSD-current 19981029
>Environment:

System: NetBSD sean.ebone.net 1.3H NetBSD 1.3H (EBONE-WS) #0: Thu Oct 29 19:31:45 CET 1998 smd@sean.ebone.net:/usr/src/sys/arch/i386/compile/EBONE-WS i386

: sean.ebone.net ; pgp -v
Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses.
(c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04
International version - not for use in the USA. Does not use RSAREF.
Current time: 1998/11/04 10:59 GMT

Invalid arguments.

For a usage summary, type:  pgp -h
For more detailed help, consult the PGP User's Guide.


>Description:
        (also a pgp <argument> --> tells you what version you have and
                                    exits normally would be nice; suggest
                                    --version, -v, and/or -V)

        pgp -fc < somefile > somefile  or cat bigfile | pgp -fc | ssh ...
                generates a great big temporary file in the directory
                in which pgp is invoked

        this is bad when bigfile above is big (or is an invocation of dump or tar)

        it would be very very very cool if it actually streamed

>How-To-Repeat:

	cd /somewhere
	dump 0ubsdf 50 6000 54000 - / | gzip --best -v | \
	pgp -fc | ssh -o 'Compression no' -l smd somebox:/backups/smd/... &

	ls -latr

>Fix:
>Audit-Trail:
>Unformatted: