Skip Menu |

This queue is for tickets about the Module-Signature CPAN distribution.

Report information
The Basics
Id: 65257
Status: new
Priority: 0/
Queue: Module-Signature

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.66
Fixed in: (no value)



Subject: Please add can_sign() function
The presence of gpg or Crypt::OpenPGP is not enough to ensure that signing is possible. In particular, the lack of a secret key will cause sign() to fail. For the sake of module installers and CPAN authors, please add a can_sign() function to allow the toolchain to confirm that signing is possible instead of blindly trying it and dying with unfriendly error messages for the user. Thank you, David