Imported Upstream version 6.12.0.200

Former-commit-id: 5d37e871f1f079ba2c8f4f56b825b1472165f061
This commit is contained in:
Xamarin Public Jenkins (auto-signing) 2023-07-11 19:15:35 +00:00
parent 97681d1ee7
commit 4319d145d2
52 changed files with 778 additions and 757 deletions

View File

@ -1 +1 @@
2f4d54ed09ae5f6f1808dd0d764757b3ffc643fa
e9c659d22140300fc0a43f322bf970c3e5a61d97

View File

@ -1 +1 @@
f65eb9b2fd7e3a4605fb9c0b8ca79515353435fa
758460764e4c318dac2a4067aeb789a680d543b5

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
## Platform. ##
## --------- ##
hostname = az-ubuntu-general0e7990
hostname = az-ubuntu-general32b303
uname -m = x86_64
uname -r = 4.15.0-1113-azure
uname -s = Linux
@ -747,7 +747,7 @@ generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_COMMANDS =
$ ./config.status
on az-ubuntu-general0e7990
on az-ubuntu-general32b303
config.status:1238: creating Makefile
config.status:1238: creating bdw-gc.pc

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
3fefc62670ea5c190ed1f0186112f1b076a65e0b
5df9dfbfada3961c57064ca492ca4f05af9eec05

View File

@ -41,7 +41,7 @@ static partial class Consts
// Use these assembly version constants to make code more maintainable.
//
public const string MonoVersion = "6.12.0.199";
public const string MonoVersion = "6.12.0.200";
public const string MonoCompany = "Mono development team";
public const string MonoProduct = "Mono Common Language Infrastructure";
public const string MonoCopyright = "(c) Various Mono authors";

View File

@ -356,6 +356,27 @@ namespace Mono.Security.Authenticode {
}
}
// validate Extended Key Usage extension contains OID for code signing
bool hasCodeSigningEKU = false;
X509Extension ekuExtension = coll.Count > 0 ? coll[0].Extensions["2.5.29.37"] : null;
if (ekuExtension == null)
return false;
ASN1 extensionValue = new ASN1(ekuExtension.Value.Value);
if (extensionValue.Tag != 0x30)
return false;
for (int i = 0; i < extensionValue.Count; i++) {
string oid = ASN1Convert.ToOid (extensionValue[i]);
if (oid == "1.3.6.1.5.5.7.3.3") {
hasCodeSigningEKU = true;
break;
}
}
if (!hasCodeSigningEKU)
return false;
// timestamp signature is optional
if (sd.SignerInfo.UnauthenticatedAttributes.Count == 0) {
trustedTimestampRoot = true;

View File

@ -1 +1 @@
6f8ba3f9487a456d059933c04c71bef0bf4704d2
f15e745cae0bd0226a95100b7bfe1add9582fc58

View File

@ -1 +1 @@
8cb29cd4caf33a76a996f05dfb49b7e330c00ad2
af2bcff37c0f24112087149e301fb261fabc4412

View File

@ -1 +1 @@
f29c0d5cb29d6ab046b902dc767e45662096a37f
062d6fe85357b5830582825c31d9ef579f04de66

View File

@ -1 +1 @@
fd2692f5a0042a169d1d61655c2e94e325b0a442
2c34f8b56659f040269bf0ad39b348362b98e299

View File

@ -1 +1 @@
9ff3b043d253f2333d1a10c7d539005627aee4fc
08d65ee8bc37fafe3f3f6eea97e9d96fa2d8199f

View File

@ -1 +1 @@
2bde8d0538bd251051db31f3462594710ddceebe
8791d56d91ca424d66773e6417afe1da9b4a4fe2

View File

@ -1 +1 @@
2e25b08b0dcf30257d82df1e52096395051643f6
11a1d444bacc62641b7924139a08c66c27439b89

View File

@ -1 +1 @@
edcfe9b22e92bdcbae67cba65c0b6a18e5c9bf50
0a59df1b27576f527c5d19ca2c997c14b9c419c4

View File

@ -1 +1 @@
6f8ba3f9487a456d059933c04c71bef0bf4704d2
f15e745cae0bd0226a95100b7bfe1add9582fc58

View File

@ -1 +1 @@
8cb29cd4caf33a76a996f05dfb49b7e330c00ad2
af2bcff37c0f24112087149e301fb261fabc4412

View File

@ -1 +1 @@
f29c0d5cb29d6ab046b902dc767e45662096a37f
062d6fe85357b5830582825c31d9ef579f04de66

View File

@ -1 +1 @@
fd2692f5a0042a169d1d61655c2e94e325b0a442
2c34f8b56659f040269bf0ad39b348362b98e299

Some files were not shown because too many files have changed in this diff Show More