Update ExpectedAuthorizeCodeSessionJSONFromFuzzing.

We stared at this very carefully and we don't think there are any structural changes. Maybe something small happened to get the RNG off by one?

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-12-17 15:14:20 -06:00
parent 3e15e184ef
commit 8db9331fed
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D
2 changed files with 142 additions and 142 deletions

View File

@ -170,31 +170,31 @@ func (e *errSerializationFailureWithCause) Error() string {
const ExpectedAuthorizeCodeSessionJSONFromFuzzing = `{ const ExpectedAuthorizeCodeSessionJSONFromFuzzing = `{
"active": true, "active": true,
"request": { "request": {
"id": "嫎l蟲aƖ啘艿", "id": "曑x螠Gæ鄋楨",
"requestedAt": "2082-11-10T18:36:11.627253638Z", "requestedAt": "2082-11-10T18:36:11.627253638Z",
"client": { "client": {
"id": "!ſɄĈp[述齛ʘUȻ.5ȿE", "id": ":NJ¸Ɣ8(黋馛ÄRɴJa¶z",
"client_secret": "UQ==", "client_secret": "UQ==",
"redirect_uris": [ "redirect_uris": [
"ǣ珑 ʑ飶畛Ȳ螤Yɫüeɯ紤邥翔勋\\", "ǖ枭kʍ切厦ȳ箦;¥ʊXĝ奨誷傥祩d",
"Bʒ;", "zŇZ",
"鿃攴Ųęʍ鎾ʦ©cÏN,Ġ/_" "優蒼ĊɌț訫DŽǽeʀO2ƚ&N"
], ],
"grant_types": [ "grant_types": [
"憉sHĒ尥窘挼Ŀʼn" "唐W6ɻ橩斚薛ɑƐ"
], ],
"response_types": [ "response_types": [
"4", "w",
"ʄÔ@}i{絧遗Ū^ȝĸ谋Vʋ鱴閇T" "ǔŭe[u@阽羂ŷ-Ĵ½輢OÅ濲喾H"
], ],
"scopes": [ "scopes": [
"R鴝順諲ŮŚ节ȭŀȋc剠鏯ɽÿ¸" "G螩歐湡ƙı唡ɸğƎ&胢輢Ƈĵƚ"
], ],
"audience": [ "audience": [
" "
], ],
"public": true, "public": false,
"jwks_uri": "BA瘪囷ɫCʄɢ雐譄uée'", "jwks_uri": "o*泞羅ʘ Ⱦķ瀊垰7ã\")",
"jwks": { "jwks": {
"keys": [ "keys": [
{ {
@ -233,95 +233,95 @@ const ExpectedAuthorizeCodeSessionJSONFromFuzzing = `{
} }
] ]
}, },
"token_endpoint_auth_method": "ŚǗƳȕ暭Q0ņP羾,塐", "token_endpoint_auth_method": "ƿʥǟȒ伉<x¹T鼓c吏",
"request_uris": [ "request_uris": [
"lj翻LH^俤µDzɹ@©|\u003eɃ", "Ć捘j]=谅ʑɑɮ$Ól4Ȟ",
"[:c顎疻紵D" ",Q7钎漡臧n"
], ],
"request_object_signing_alg": "m1Ì恣S@T嵇LJV,Æ櫔袆鋹奘", "request_object_signing_alg": "3@¡廜+v,淬Ʋ4Dʧ呩锏緍场",
"token_endpoint_auth_signing_alg": "Fãƻʚ肈ą8O+a駣" "token_endpoint_auth_signing_alg": "(ưƓǴ罷ǹ~]ea胠"
}, },
"scopes": [ "scopes": [
"ɼk瘸'鴵yſǮŁ±\u003eFA曎餄FxD溪", "ĩv絹b垇IŕĩǀŻQ'k頂箨J-a稆",
"綻N镪p赌h%桙dĽ" "啶#昏Q遐*\\髎bŸ"
], ],
"grantedScopes": [ "grantedScopes": [
"癗E]Ņʘʟ車s" "慂UFƼĮǡ鑻Z"
], ],
"form": { "form": {
"蹬器ķ8ŷ萒寎廭#疶昄Ą-Ƃƞ轵": [ "褾攚ŝlĆ厦駳骪l拁乖¡J¿Ƈ妔": [
"熞ĝƌĆ1ȇyǴ濎=Tʉȼʁŀ\u003c", "懧¥ɂĵ~Čyʊ恀c\"NJřðȿ/",
"耡q戨稞R÷mȵg釽[ƞ@", "裢?霃谥vƘ:ƿ/濔Aʉ<",
"đ[嬧鱒Ȁ彆媚杨嶒ĤGÀ吧Lŷ" "ȭ$奍囀Dž悷鵱民撲ʓeŘ嬀j¤"
], ],
"餟": [ "诞": [
"蒍z\u0026(K鵢Kj ŏ9Q韉Ķ%", "狲N<Cq罉ZPſĝEK郊©l",
"輫ǘ(¨Ƞ亱6ě#嫀^xz ", "餚LJ/ɷȑ潠[ĝU噤'pX ",
"@耢ɝ^¡!犃ĹĐJí¿ō擫" "Y妶ǵ!ȁu狍ɶȳsčɦƦ"
] ]
}, },
"session": { "session": {
"Claims": { "Claims": {
"JTI": "懫砰¿C筽娴ƓaPu镈賆ŗɰ", "JTI": "攬林Ñz焁糳¿o>Q鱙翑ȲŻ",
"Issuer": "皶竇瞍涘¹焕iǢǽɽĺŧ", "Issuer": "锰劝旣樎Ȱ鍌#ȳńƩŴȭ",
"Subject": "矠M6ɡǜg炾ʙ$%o6肿Ȫ", "Subject": "绝TFNJĆw宵ɚeY48珎²",
"Audience": [ "Audience": [
"ƌÙ鯆GQơ鮫R嫁ɍUƞ9+u!Ȱ踾$" "éã越|j¦鲶H股ƲLŋZ-{5£踉4"
], ],
"Nonce": "us旸Ť/Õ薝隧;綡,鼞", "Nonce": "5^驜Ŗ~ů崧軒q腟u尿",
"ExpiresAt": "2065-11-30T13:47:03.613000626Z", "ExpiresAt": "2065-11-30T13:47:03.613000626Z",
"IssuedAt": "1976-02-22T09:57:20.479850437Z", "IssuedAt": "1976-02-22T09:57:20.479850437Z",
"RequestedAt": "2016-04-13T04:18:53.648949323Z", "RequestedAt": "2016-04-13T04:18:53.648949323Z",
"AuthTime": "2098-07-12T04:38:54.034043015Z", "AuthTime": "2098-07-12T04:38:54.034043015Z",
"AccessTokenHash": "滮]", "AccessTokenHash": "嫯R",
"AuthenticationContextClassReference": "°3\u003eÙ", "AuthenticationContextClassReference": "¤'+ʣ",
"AuthenticationMethodsReference": "k?µ鱔ǤÂ", "AuthenticationMethodsReference": "L&ɽ艄ʬʏ",
"CodeHash": "Țƒ1v¸KĶ跭};", "CodeHash": "ğǫ\\aȊ4ț髄Al",
"Extra": { "Extra": {
"=ſ氆": { "PƢ曰": {
"Ƿī,廖ʡ彑V\\廳蟕Ț": [ "ĸŴB岺Ð嫹Sx镯荫ő": [
843216989 843216989
], ],
"蔯ʠ浵Ī": { "疂ư墫ɓ": {
"H\"nǕ=rlƆ褡{ǏSȳŅ": { "\\BRë_g\"ʎ啴SƇMǃļ": {
"Žg": false "ʦ4": false
}, },
"枱鰧ɛ鸁A渇": null "鶡萷ɵ啜s攦": null
} }
}, },
"斻遟a衪荖舃9闄岈锘肺ńʥƕU}j%": 2520197933 "曓蓳n匟鯘磹*金爃鶴滱ůĮǐ_c3#": 2520197933
} }
}, },
"Headers": { "Headers": {
"Extra": { "Extra": {
"熒ɘȏıȒ諃龟ŴŠ'耐Ƭ扵ƹ玄ɕwL": { "寱ĊƑ÷Ƒ螞费Ďğ~劰û橸ɽ銐ƭ?}": {
"ýÏʥZq7烱藌\\捀¿őŧQ": { "ȜʁɁ;Bd謺錳4帳ŅǃĊd": {
"微'X焌襱ǭɕņ殥!_": null, "翢砜Fȏl鐉诳DT=3骜": {
"荇届UȚ?戋璖$9\u00269舋": { "ų厷ɁOƪ穋嶿鳈恱va|载ǰɱ汶C": false
"ɕ餦ÑEǰ哤癨浦浏1Rk頓ć§蚲6": true
}
}, },
"鲒鿮禗O暒aJP鐜?ĮV嫎h譭ȉ]DĘ": [ "鸨EJ毕懴řĬń戹%c": null
},
"室癑勦e骲v0H晦XŘO溪V蔓Ȍ+~ē": [
954647573 954647573
] ]
}, },
"皩Ƭ}Ɇ.雬Ɨ´唁": 1572524915 "麈ƵDǀ\\郂üţ垂": 1572524915
} }
}, },
"ExpiresAt": { "ExpiresAt": {
"\u003cqċ譈8ŪɎP绿MÅ": "2031-10-18T22:07:34.950803105Z", "'=ĸ闒NȢȰ.醋fʜ": "2031-10-18T22:07:34.950803105Z",
"ȸěaʜD捛?½ʀ+Ċ偢镳ʬÍɷȓ\u003c": "2049-05-13T15:27:20.968432454Z" "ɦüHêQ仏1őƖ2Ė暮唍ǞʜƢú4": "2049-05-13T15:27:20.968432454Z"
}, },
"Username": "1藍殙菥趏酱Nʎ\u0026^横懋ƶ峦Fïȫƅw", "Username": "+韁臯氃妪婝rȤ\"h丬鎒ơ娻}ɼƟȥE",
"Subject": "檾ĩĆ爨4犹|v炩f柏ʒ鴙*鸆偡" "Subject": "龳ǽÙ龦O亾EW莛8嘶×姮c恭企"
}, },
"requestedAudience": [ "requestedAudience": [
"肯Ûx穞Ƀ", "邖ɐ5檄¬",
"ź蕴3ǐ薝Ƅ腲=ʐ诂鱰屾Ê窢ɋ鄊qɠ谫" "Ĭ葜SŦ餧Ĭ倏4ĵ嶼仒篻ɥ闣ʬ橳(ý綃"
], ],
"grantedAudience": [ "grantedAudience": [
"ǵƕ牀1鞊\\ȹ)}鉍商OɄƣ圔,xĪ", "ʚƟ覣k眐4ĈtC嵽痊w©Ź榨Q|ô",
"悾xn冏裻摼0Ʈ蚵Ȼ塕»£#稏扟X" "猊Ia瓕巈環_ɑƍ蛊ʚ£:設虝2"
] ]
}, },
"version": "1" "version": "1"

View File

@ -391,5 +391,5 @@ func TestFuzzAndJSONNewValidEmptyAuthorizeCodeSession(t *testing.T) {
// while the fuzzer will panic if AuthorizeRequest changes in a way that cannot be fuzzed, // while the fuzzer will panic if AuthorizeRequest changes in a way that cannot be fuzzed,
// if it adds a new field that can be fuzzed, this check will fail // if it adds a new field that can be fuzzed, this check will fail
// thus if AuthorizeRequest changes, we will detect it here (though we could possibly miss an omitempty field) // thus if AuthorizeRequest changes, we will detect it here (though we could possibly miss an omitempty field)
require.Equal(t, ExpectedAuthorizeCodeSessionJSONFromFuzzing, authorizeCodeSessionJSONFromFuzzing) require.JSONEq(t, ExpectedAuthorizeCodeSessionJSONFromFuzzing, authorizeCodeSessionJSONFromFuzzing)
} }