Gnus development mailing list
 help / color / mirror / Atom feed
From: Vladimir Volovich <vvv@vsu.ru>
Cc: Simon Josefsson <jas@extundo.com>
Subject: "Could not identify PKCS#7 type" error
Date: Sat, 04 Aug 2001 21:41:33 +0400	[thread overview]
Message-ID: <ey3d77soxe.fsf@vsu.ru> (raw)

Hi,

> when viewing s/mime encoded messages, i (still) get an error
> "Could not identify PKCS#7 type". i traced the function
> mm-view-pkcs7-get-type and it appears that it looks for the regexp
> 
> "0┌..\x06	\\*├H├В\x01\a\x03"
> 
> but the buffer " *temp*" begins with
> 
> "0─\x06	*├H├В\x01\a\x03"

namely, the raw message contains:

Content-Type: application/x-pkcs7-mime; name="smime.p7m"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7m"
Content-Description: S/MIME Encrypted Message

MIAGCSqGSIb3DQEHA6CAMIACAQAxggWyMIIC1QIBADCBvDCBtjELMAkGA1UEBhMCUlUxGjAY
BgNVBAgTEUJsYWNrIFNvaWwgUmVnaW9uMREwDwYDVQQHEwhWb3JvbmV6aDEiMCAGA1UEChMZ
Vm9yb25lemggU3RhdGUgVW5pdmVyc2l0eTEoMCYGA1UECxMfQ2VydGlmaWNhdGlvbiBTZXJ2
aWNlcyBEaXZpc2lvbjEPMA0GA1UEAxMGdnN1LnJ1MRkwFwYJKoZIhvcNAQkBFgpub2NAdnN1
LnJ1AgEBMA0GCSqGSIb3DQEBAQUABIICALZwbBJ+ebt/fCwmxpX4AsvQV5lwBpYS34aH7qKe
4IIypVSsk6suyGXXm+dKVkxFIQRm/hOyf3H15rw4NazN22Oj0Y8fAeZK8xQPH6UCkBuYZUMa

[skipped]

FiWH7P9TS2XNh1/pw5aCZdAEQBts/A92+w2eUyJZUPDYpS4/4PJXcfrMVL/+AiRRHIYxcw6j
KjeXVWaQt3IdT8jo4FqddauEUcHr2hQ/7gRp4ogECBY0YNL77sCZBDCtvqSn3JWYMttPp4RI
5LklXuSia2am69SIthMYqo9tatu/qkQE44sq5A6R1xLmKEIECBPwC4bo6FHUAAAAAAAAAAAA
AA==

if you base64-decode it, you will see the starting string.
it does not match 0\202, so the regexp is buggy.

Best,
v.



             reply	other threads:[~2001-08-04 17:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-04 17:41 Vladimir Volovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-04 17:37 Vladimir Volovich
2001-08-04 19:59 ` Simon Josefsson
2001-08-05 12:06   ` Vladimir Volovich
2001-08-09 19:41     ` Simon Josefsson
2001-08-06 19:41   ` David S. Goldberg
2001-08-07 10:32     ` Simon Josefsson
2001-08-07 18:16       ` David S. Goldberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ey3d77soxe.fsf@vsu.ru \
    --to=vvv@vsu.ru \
    --cc=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).