[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bouncycastle-crypto-dev
Subject:    Re: [dev-crypto] Make a multi-encrypted message look like a single-encrypted message
From:       David Hook <dgh () autochthonous ! org>
Date:       2013-11-17 6:28:33
Message-ID: 52886211.5090109 () autochthonous ! org
[Download RAW message or body]

Unfortunately the only way to do this is rebuild the message. Just bare 
in mind the earlier message concerning the differences between 
ContainedPackets and InputStreamPackets.

Regards,

David

On 16/11/13 22:31, esskar . wrote:
> Hello there,
>
> i have a message that is encrypted to with multiple keys, 
> so PgpEncryptedDataList contains more than 
> one PgpPublicKeyEncryptedData packages.
>
> Before I distribute those message to the recipients I would like to 
> remove all the PgpPublicKeyEncryptedData packages that do not match 
> the recipient keys - so, the receiver will not see any additional 
> encypted data.packages, only the one he should care about.
>
> Is there a easy way to do data kind of redecoding? Examples maybe?
>
> Regards,
> esskar


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      Unfortunately the only way to do this is rebuild the message. Just
      bare in mind the earlier message concerning the differences
      between ContainedPackets and InputStreamPackets.<br>
      <br>
      Regards,<br>
      <br>
      David<br>
      <br>
      On 16/11/13 22:31, esskar . wrote:<br>
    </div>
    <blockquote
cite="mid:CAPz-4agidQ5=gi94yTqgwtkhga_5p5yinYsVXPJ5N5jem3MkJA@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span
          style="font-family:arial,sans-serif;font-size:13px">Hello
          there,</span>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">i have
          a message that is encrypted to with multiple keys,
          so PgpEncryptedDataList contains more than
          one PgpPublicKeyEncryptedData packages.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Before
          I distribute those message to the recipients I would like to
          remove all the PgpPublicKeyEncryptedData packages that do not
          match the recipient keys - so, the receiver will not see any
          additional encypted data.packages, only the one he should care
          about.</div>
        <div style="font-family:arial,sans-serif;font-size:13px"><br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Is
          there a easy way to do data kind of redecoding? Examples
          maybe?</div>
        <div style="font-family:arial,sans-serif;font-size:13px">
          <br>
        </div>
        <div style="font-family:arial,sans-serif;font-size:13px">Regards,</div>
        <div style="font-family:arial,sans-serif;font-size:13px">esskar</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic