FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17816&edit=1

ID: 17816
Updated by: alec@alec.pl
Reported By: alec at alec dot pl
Summary: Return complete IMPORT_RES status from import
function
Status: Open
Type: Feature/Change Request
Package: Crypt_GPG
Package Version: SVN
PHP Version: Irrelevant
Roadmap Versions:
New Comment:

...or provide separate import() and importFile() methods with extended
result.


Previous Comments:
------------------------------------------------------------------------

[2010-08-25 13:30:27] alec

Description:
------------
It's sometimes good to know a complete gpg response from importing
function. E.g. when you import a revocation certs or sth.
--- GPG.old 2010-08-19 22:18:05.000000000 +0200
+++ GPG.php 2010-08-25 15:28:01.266612007 +0200
@@ -1618,6 +1641,7 @@
$result['public_unchanged'] = intval($tokens[5]);
$result['private_imported'] = intval($tokens[11]);
$result['private_unchanged'] = intval($tokens[12]);
+ $result['result'] = array_slice($tokens, 1);
break;
}
}

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedAug 25, '10 at 1:46p
activeAug 25, '10 at 1:46p
posts1
users1
websitepear.php.net

1 user in discussion

Alec: 1 post

People

Translate

site design / logo © 2022 Grokbase