Gnus development mailing list
 help / color / mirror / Atom feed
* "Could not identify PKCS#7 type" error
@ 2001-08-04 17:37 Vladimir Volovich
  2001-08-04 19:59 ` Simon Josefsson
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Volovich @ 2001-08-04 17:37 UTC (permalink / raw)
  Cc: Simon Josefsson

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"

(sorry for binary data)

does this mean that the contents of the encrypted part is invalid, or
the regexp is buggy?

note that these encrypted s/mime messages are viewed fine with
e.g. netscape, so it looks like a bug in gnus.

Best,
v.



^ permalink raw reply	[flat|nested] 8+ messages in thread
* "Could not identify PKCS#7 type" error
@ 2001-08-04 17:41 Vladimir Volovich
  0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Volovich @ 2001-08-04 17:41 UTC (permalink / raw)
  Cc: Simon Josefsson

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.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-08-09 19:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-04 17:37 "Could not identify PKCS#7 type" error 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
2001-08-04 17:41 Vladimir Volovich

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).