View Issue Details

IDProjectCategoryView StatusLast Update
0000164file[All Projects] Generalpublic2020-06-07 19:21
ReporterpombredanneAssigned Tochristos 
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionopen 
Product Version5.38 
Target VersionFixed in Version 
Summary0000164: Certificate data now reported as apple diskcopy 4.2 image
DescriptionIn previous versions the attached CERTIFICATE file (some signing public key/certificate) was reported as "data", with 5.38 is is reported as "apple diskcopy 4.2 image".
(It comes from https://github.com/nexB/scancode-toolkit/blob/develop/tests/typecode/data/contenttype/certificate/CERTIFICATE )
TagsNo tags attached.

Activities

pombredanne

2020-05-20 17:53

reporter  

CERTIFICATE (5,688 bytes)
CERTIFICATE (5,688 bytes)

christos

2020-06-07 19:21

manager   ~0003426

This file appears not to be valid? Can you test its integrity on your side?

[3:08pm] 2515>cc -DTEST_DER der.c
[3:08pm] 2516>./a.out certificate
0 0-2 U,C,gen_time,22:0000000202003082162506092a864886f70d010702a0
1 2-4 U,P,eoc,0:
1 4-6 U,P,eoc,2:0200
a.out: corrupt der
1 8-12 U,C,seq,4294967295:
[3:09pm] 2517>openssl x509 -in certificate -inform der -text
unable to load certificate
18446744073709551615:error:0D0680A8:asn1 encoding routines:asn1_check_tlen:wrong tag:/net/quasar/src-5/NetBSD/src.acl/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_dec.c:1130:
18446744073709551615:error:0D07803A:asn1 encoding routines:asn1_item_embed_d2i:nested asn1 error:/net/quasar/src-5/NetBSD/src.acl/crypto/external/bsd/openssl/dist/crypto/asn1/tasn_dec.c:290:Type=X509



Issue History

Date Modified Username Field Change
2020-05-20 17:53 pombredanne New Issue
2020-05-20 17:53 pombredanne File Added: CERTIFICATE
2020-06-07 19:20 christos Assigned To => christos
2020-06-07 19:20 christos Status new => assigned
2020-06-07 19:21 christos Status assigned => feedback
2020-06-07 19:21 christos Note Added: 0003426