This will probably require having the current rpm functionality split into two executables. This means that one can be used for parsing the command line, checking the signature, and running the --pipe operation. The other could do the real work.
How does this tie in with other uses of rpmlib - eg rpm-python or the C bindings. Most people won't be calling rpm directly.
-- Aleksey Nogin
Home Page: http://nogin.org/ E-Mail: nogin cs caltech edu (office), aleksey nogin org (personal) Office: Jorgensen 70, tel: (626) 395-2907