View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000246 | Main CAcert Website | GPG/PGP | public | 2006-05-28 22:36 | 2013-01-14 08:47 |
Reporter | TheSourcerer | Assigned To | Sourcerer | ||
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | unable to reproduce | ||
Fixed in Version | 2007 | ||||
Summary | 0000246: gpg signing sometimes does not work | ||||
Description | Trying to get a OpenPGP key signed, sometimes gives the following error: "No emails found on your key" I tried it with exactly the same key a couple of times, sometimes I got a correctly signed key, sometimes I got that error message. I can´t reproduce it guaranteed, and I haven´t found a reason why it happens. | ||||
Additional Information | We could try to use the following debugging code to get to know why it happens in the gpg.php 0000135: } else { $fp=fopen("/tmp/gpg_errors.txt","a"); fputs($fp,"New case:\nCSR:\n") fputs($fp, $_POST['CSR']); fputs($fp,"emailaddies: is_array:".is_array($emailaddies)."\n"); fputs($fp,"emailaddies: $emailaddies\n"); fputs($fp,"count(emailaddies): ".count($emailaddies)."\n"); fputs($fp,$_SESSION['_config']['errmsg']."\n"); fputs($fp,"gpg: ".$gpg."\n"); fputs($fp,"lines: ".$lines."\n"); fputs($fp,"\n\n"); fclose($fp); $_SESSION['_config']['errmsg'] = _("No emails found on your key"); | ||||
Tags | No tags attached. | ||||
Reviewed by | |||||
Test Instructions | |||||
|
Possible fix: Line 47 of www/gpg.php; - foreach(explode("\n", $gpg) as $line) + $gpgarr = explode("\n", $gpg); + foreach($gpgarr as $line) |
|
Is that a duplicate of Bug 236? https://bugs.cacert.org/view.php?id=236 Maybe the issue is solved with https://bugs.cacert.org/view.php?id=343 Can someone still confirm this bug? |
|
Please test again now, and confirm whether the problem still exists. |
|
If anyone can reproduce the bug, please reopen it and post the used public key. |
Date Modified | Username | Field | Change |
---|---|---|---|
2006-05-28 22:36 | TheSourcerer | New Issue | |
2006-05-29 00:12 | duane | Note Added: 0000237 | |
2006-08-14 02:48 | duane | Status | new => needs work |
2006-08-14 02:48 | duane | Assigned To | => Sourcerer |
2007-03-29 13:05 | Jan | Note Added: 0000827 | |
2007-10-18 15:21 | pc | Relationship added | related to 0000447 |
2007-10-24 05:09 | evaldo | Relationship added | related to 0000460 |
2007-11-04 17:41 | Sourcerer | Relationship deleted | related to 0000447 |
2007-11-17 14:01 | Sourcerer | Note Added: 0000949 | |
2007-12-19 23:14 | Sourcerer | Status | needs work => closed |
2007-12-19 23:14 | Sourcerer | Note Added: 0000973 | |
2007-12-19 23:14 | Sourcerer | Resolution | open => unable to reproduce |
2007-12-19 23:14 | Sourcerer | Fixed in Version | => production |
2013-01-14 08:47 | Werner Dworak | Fixed in Version | => 2007 |