Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.9

Request #21084 Redundant --list-keys when deleting/exporting a key
Submitted: 2016-06-19 07:19 UTC
From: alec Assigned:
Status: Open Package: Crypt_GPG (version 1.4.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 + 48 = ?

 
 [2016-06-19 07:19 UTC] alec (Aleksander Machniak)
Description: ------------ We call getFingerprint() when deleting/exporting a key. This is redundant if the provided key id is already know. I propose, in Crypt_GPG::getFingerprint(), to skip the search if provided argument is full key id, i.e.: if (preg_match('/^[0-9A-F]{40}$/', preg_replace('/[ :]/', '', $keyId))) { return $keyId; }

Comments