TclGPG  Ticket Change Details

Overview

Artifact ID: 2d90b4eb876c5082e32544fe391f6bf5b0ba2493
Ticket: c3263a9efa78054208ab45b2c7cec7a2e76aa799
User & Date: anonymous 2016-06-15 11:33:14
Changes

  1. icomment:
    "Symmetric cipher (binary input)" (encrypt-decrypt-1.7) test from changeset dcf97702ed414a66fc493252e32437f47079f40b fails on OpenBSD (-current, amd64, tcl 8.5) with rather cryptic message:
    
    ==== encrypt-decrypt-1.7 Symmetric cipher (binary input) FAILED
    ==== Contents of test case:
    
        set c [::gpg::new]
        $c set -property armor -value true
        $c set -property passphrase-callback -value pcb1
        $c set -property pinentry-mode -value loopback
        $c set -property encoding -value binary
        encoding convertfrom  [$c decrypt -input [$c encrypt -input [encoding convertto  "$message\r\n$message"]]]
    
    ---- Result was:
    plaintext {Hello ??????
    Hello ??????}
    ---- Result should have been (exact matching):
    plaintext {Hello ??????
    Hello ??????}
    ==== encrypt-decrypt-1.7 FAILED
    
    Test suit should probably provide more details about mismatch, eg. mismatching bytes.
    
  2. login: "anonymous"
  3. mimetype: "text/x-fossil-plain"
  4. private_contact changed to: "e652e8adf32c596fee95c5e468716b89df2f3291"
  5. severity changed to: "Minor"
  6. status changed to: "Open"
  7. type changed to: "Feature_Request"