diff options
Diffstat (limited to 'RPM4/lib')
-rw-r--r-- | RPM4/lib/RPM4/Sign.pm | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/RPM4/lib/RPM4/Sign.pm b/RPM4/lib/RPM4/Sign.pm index 9ed3a24..13ab14c 100644 --- a/RPM4/lib/RPM4/Sign.pm +++ b/RPM4/lib/RPM4/Sign.pm @@ -149,3 +149,62 @@ sub rpmssign { } 1; + +__END__ + +=head1 NAME + +RPM4::Sign + +=head1 SYNOPSIS + +A container to massively resign packages + +=head1 DESCRIPTION + +This object retains gpg options and provides functions to easilly sign or +resign packages. It does not resign packages having already the proper +signature. + +=head1 METHODS + +=head2 new(%options) + +Create a new RPM4::Sign object. + +Options are: + +=over 4 + +=item name + +The gpg key identity to use + +=item path + +the gpg homedir where keys are located + +=item password_file + +Use passphrase contains in this files + +=item passphrase + +Use this passphrase to unlock the key + +=item checkrpms + +Set to 0 remove the signature checking on packages + +=back + +=head2 rpmssign(@filelist) + +Sign or resign the packages passed are arguments + +=head1 SEE ALSO + +L<RPM4> +L<RPM4::Header> + +=cut |