Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import rpm
- # optionally set an alternate gpg path
- #rpm.addMacro('_gpg_path', '/other/gpg/path')
- # set this macro to the key name or fingerprint
- rpm.addMacro('_gpg_name', 'my key')
- # sign it
- rpm.addSign('foo.rpm', 'super secret gpg passphrase')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement