/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to mandos

  • Committer: Teddy Hogeborn
  • Date: 2008-08-25 01:16:38 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080825011638-zgqej2cafhne05ay
* mandos-keygen: Strip 24-bit checksum of Radix-64 from output to make
                 output strictly base64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
415
415
    gnutls.library.functions.gnutls_openpgp_crt_verify_self\
416
416
        (crt, ctypes.c_uint(0), ctypes.byref(crtverify))
417
417
    if crtverify.value != 0:
418
 
        tmp = open("/tmp/tmp.gpg", "w")
419
 
        tmp.write(openpgp)
420
 
        tmp.close()
421
418
        gnutls.library.functions.gnutls_openpgp_crt_deinit(crt)
422
419
        raise gnutls.errors.CertificateSecurityError("Verify failed")
423
420
    # New buffer for the fingerprint