Ticket #720 (closed defect: wontfix)

Opened 4 years ago

Last modified 3 years ago

Rendering of Tiddlers breaks when Tiddler contains verbatim GnuPG encrypted code blocks

Reported by: HeX Owned by: JeremyRuston
Priority: minor Milestone:
Component: core Version: 2.4.00
Severity: medium Keywords: browsers extensions
Cc:

Description (last modified by FND) (diff)

When using the  FireGPG Firefox extension, tiddlers containing a PGP message are corrupted after saving:

  • create a tiddler with a code block similar to the following:
    {{{
    -----BEGIN PGP MESSAGE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    
    hQIOAyUb7/R5FkOHEAf+OmntOBqqmh4HhSYCByHlUWOeg/CrEyytDTJiz6jKWcP8
    NzNkPdAjqU9lsiFmhUBtNEOemqd7iYSCPPID/ALLIugE1db3EVTupX0QGwwVAoEl
    D6vV5YH/ywFsGRsPNptymzmNPH/Ak1jJN+XNemFPclk3rnCRMfoeLA9BXwqDMPN+
    DiSaNDUqx/TD8roY/N9/8r4Lkg+5tFIjs7UI/BXdO7PhTMFY1REG4SCtoroAxeIk
    ve+4bL21HnxyrYGoTiOXFsqerzPCmVEY8CVqXomOweY5Ctc2vtG6ckBVImGZOj+1
    oumJYQHi+g9GozTuULa+FGIe6D02hRBLWHhKjbFV1wgAjijsATOP/W6eOuVONUS7
    WU9nWc6sZ/Yb9q6VGM1m40y2ytoPCzMMLmTxTIpr0x3089sdGQRP91NKOlK96kRJ
    7WRM0SXj8dMSwZjzM3gHvrACs0Wj00Y44dnG17aRJ4OZ6QOCvYTq5c+WTmL61Ma1
    cRXGLl8SjwqC0cWhrydgRwNnZw4avNpXWcZ0oJQgHMjdg8LnhZz3ZrZmk+ybkLhd
    Brmc6Q6CdVtA1ndQ49f/QcQk0lQNUGUhOyrX0sNy0w1v4Jz5OyaTBor5mpmwhIaT
    YRCqlwuOcyGaSQCAbSCSsao6Hd7e1kkmOqVAojOc3kBdfG2YwySAIU4PwVWI/gOD
    rISMAwlxvIF2nyRhAQP+N/QpeesiwSoc/uhyleFG+MbfOWe6rUx+h7y4qObHEjQv
    YlqnJ1LSv+SqeQzdhocxb+VWusC+e2HJSG3yxGTK6o8qiFpAX/sv+H4GYWw4Irmz
    jq6/XB7Ji4kt8VjxIQM2BJLhgjn6i8kfDdBuCVNO6tzm8c/azFZaB0mi4OlZdGTS
    cgE3CCwih1AAtLCaCQhGEMnFZcW5ZddjIHTasKXvfdmb2Ci/S/gANqogyL1RTnRo
    ivnh/F72Cd8jMTwhiuEVHMOXVbwRBfKG9qCvLw/Kj7Ee7CZ5OdWpAG0kofxjEGGM
    rszTE2t+ZfjSgX1sapAyaUEPqg==
    =W15x
    -----END PGP MESSAGE-----
    }}}
    
  • after saving and reloading the document, the encrypted tiddler's contents will be displayed as follows:
    <iframe style="border: 0px none ; width: 100%; height: 0px;"></iframe>
    

However, the document's HTML source still contains the original encrypted source text (until overwritten by changing the respective tiddler).

This appears to be caused by FireGPG's "Inline system to detect PGP blocks in pages" functionality.

Change History

Changed 4 years ago by FND

  • keywords browsers extensions added
  • priority changed from major to minor
  • description modified (diff)
  • severity changed from critical to medium
  • milestone 2.4.1 deleted

Changed 3 years ago by JeremyRuston

It sounds like this is a problem with FireGPG, is it clear that TiddlyWiki can/should fix this?

Changed 3 years ago by JeremyRuston

  • status changed from new to closed
  • resolution set to wontfix

Changed 3 years ago by HeX

I tried to retriage it just now but the FireGPG plugin itself seems to be highly buggy (e.g., doesn't work together with FireFTP) and I couldn't get it working without deactivating all my other plugins (for which I simply can't be asked for now). So I think leaving it as won't fix is good enough.

Changed 3 years ago by HeX

FIW, I've reported this to the FireGPG devs as  FS#188.

Changed 3 years ago by FND

This is fixed in the latest version of FireGPG.

Note: See TracTickets for help on using tickets.