Provided by: parcimonie_0.12.0-2_all bug

NAME

       App::Parcimonie - tools for the parcimonie program

SYNOPSIS

       See bin/parcimonie :)

EXPORT

SUBROUTINES

   pickRandomItems(N, @list)
       Returns a list of N unique items picked at random from the input list.

   gpg_is_v21()
       Detects the version of the gpg binary in the $PATH.  Returns true iff. it is 2.1 or newer.

   gpgPublicKeys()
       Returns the list of key fingerprints found in the public keyring.

       Args:
         - $gnupg_options: reference to a hash passed to ->hash_init

   gpgRecvKeys( $keyids, $gnupg_options )
       Imports the keys with the given key IDs from a keyserver.

       Args:
         - $keyids: reference to an array of key IDs
         - $gnupg_options: reference to a hash passed to ->hash_init

   checkGpgHasDefinedKeyserver
       Throws an exception if no keyserver is defined in GnuPG configuration.

       When using GnuPG 2.x, a keyserver can be defined either in dirmngr's configuration or in
       good old gpg.conf, so we check both.

   averageLapseTime
       Argument: number of public keys in the keyring.  Returns the desirable average lapse time
       (in seconds) between two key fetches.