Error when trying to sign Code of Conduct

Bug #4217 reported by Gregory Petrosyan
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Medium
Unassigned

Bug Description

Oops-Id: OOPS-B660
...
can pick up where you leave off.%0D%0A-----BEGIN PGP SIGNATURE-----%0D%0AVersion
: GnuPG v1.4.1 (GNU/Linux)%0D%0AHash: SHA1%0D%0AiD8DBQFDusB6AYDKh/+stXERAholAJ4t
WOdNc7PInjfedJRuf1mAweSVTACfcpc8%0D%0AjNY1ApiNXe58ZK0WUZ5cJmE%3D%0D%0A%3DyBeL%0D
%0A-----END PGP SIGNATURE-----%0D%0A
launchpad=VIGuGeysNkL-14otcdtEHOnqQxoY0ZHPF.-DXkJ3FG0AE6hyx8XPD4
...
  Module canonical.launchpad.browser.codeofconduct, line 173, in createAndAdd
    info = sCoC_util.verifyAndStore(**kw)
  Module canonical.launchpad.database.codeofconduct, line 227, in verifyAndStore
    sig = gpghandler.getVerifiedSignature(sane_signedcode)
  Module canonical.launchpad.utilities.gpghandler, line 150, in getVerifiedSigna
ture
    if signature.status != 0:
AttributeError: 'NoneType' object has no attribute 'status'

Revision history for this message
Dafydd Harries (daf) wrote :

Can you reproduce this bug? If you do, you should get an "OOPS" ID. Pasting it to this bug will greatly help us to fix it.

Changed in launchpad:
status: New → NeedInfo
Revision history for this message
Gregory Petrosyan (gregory-petrosyan) wrote : Re: [Bug 4217] Code of Conduct signing

2006/1/3, Dafydd Harries <email address hidden>:
> Public bug report changed:
> https://launchpad.net/malone/bugs/4217
>
> Changed in: Launchpad (upstream)
> Status: New => NeedInfo
>

Unfortunately, I can't reproduse THAT bug -- now, after pasting signed
Code into the box and deleting 'Hash: SHA1' I've got
GeneralError/BadSignature

But when I try to ADD line 'Hash: SHA1' to the end of message (like this:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Hash: SHA1
iD8DBQFDusB6AYDKh/+stXERAholAJ4tWOdNc7PInjfedJRuf1mAweSVTACfcpc8
jNY1ApiNXe58ZK0WUZ5cJmE=
=yBeL
-----END PGP SIGNATURE-----

note: the third line -- it was empty, but now it's 'Hash: SHA1')

I've got an error OOPS-B660

Also such bugs occure on almost any attempt to modify this part of signature, so
'Hash: SHA1' isn't a 'magic phrase'
--
Regards, Gregory.

Changed in launchpad:
status: Needs Info → Unconfirmed
description: updated
Changed in launchpad:
status: Unconfirmed → Confirmed
Revision history for this message
Christian Reis (kiko) wrote :

https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-01-03/B660

  Module canonical.launchpad.database.codeofconduct, line 227, in verifyAndStore
    sig = gpghandler.getVerifiedSignature(sane_signedcode)
  Module canonical.launchpad.utilities.gpghandler, line 150, in getVerifiedSignature
    if signature.status != 0:
AttributeError: 'NoneType' object has no attribute 'status'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.