DOKK / manpages / debian 10 / parcimonie / App::Parcimonie.3pm.en
App::Parcimonie(3pm) User Contributed Perl Documentation App::Parcimonie(3pm)

App::Parcimonie - tools for the parcimonie program

See bin/parcimonie :)

Copyright (C) 2010-2018 intrigeri <intrigeri@boum.org>

Licensed under the same terms as Perl itself.

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

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

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.

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

2018-07-09 perl v5.26.2