Open bprosnitz opened 9 years ago
Is this on Mac, Linux or both? On Jun 30, 2015 10:05 AM, "Benjamin Prosnitz" notifications@github.com wrote:
Java VOM seemed to hang while decoding the following data:
805d1c020014762e696f2f7632332f756e6971756569642e496401020210e15b32060018762e696f2f7632332f73656375726974792e436176656174010200024964012fe10008506172616d566f6d0127e1e1590403012ee1611c000016762e696f2f7632332f73656375726974792e486173680103e15f4206001b762e696f2f7632332f73656375726974792e5369676e617475726501040007507572706f73650127e10004486173680131e10001520127e10001530127e1e1575906001d762e696f2f7632332f73656375726974792e436572746966696361746501040009457874656e73696f6e0103e100095075626c69634b65790127e1000743617665617473012de100095369676e61747572650130e1e1550403012ce1530403012be1513b06001f762e696f2f7632332f73656375726974792e57697265426c657373696e6773010100114365727469666963617465436861696e73012ae1e152fe059900010400086465762e762e696f015b3059301306072a8648ce3d020106082a8648ce3d03010703420004eb88302f087ac18bfe2aa3982f8722f7ec9aedacd0327ec7cb87ac57e2d506712f5be17e44e96169ed367eb887dbe946dd605b94663d153406dae7a9048ac3e603000142010653484132353602208a358cec9250b16928f1a141adef22073169bbbe69d04de8aebe64a6478dc4ba0320aeedf26155038d91c36beda9e6f204a4d35041c849486282a21d50150a6bdc73e1e1000175015b3059301306072a8648ce3d020106082a8648ce3d030107034200048b6e7ec9217b66db45502436d8e8dc187cd186cadd3342ffc93330765bc5a4a69eee8a709666682de37c9cf1262886b26770b982a3aa0e7f6e27c130c5c5dda502010000000000000000000000000000000000000103800201e1030001420106534841323536022090b105ad8d9ee3cbbee1230b2c1c9eec208b88502408073dfe92b8ad6fb0acb70320a7e51e4be716d08b0c8a078099e1f87b209756357f2f602624fceed7581f4970e1e1001a6e6576656e616740676f6f676c652e636f6d2f616e64726f6964015b3059301306072a8648ce3d020106082a8648ce3d030107034200047d13caafef127eb8d295251ffadaf68164e97ab9341be6838653754cde09f5187d43faf69f4e81fc6b582f98b0d0f06f1279d6ee36b3a035e5510e1b0e31ae8d020100007972ce174a7ba93f79547d769c91800001fe024280531f020017762e696f2f7632332f73656375726974792e6e6f6e636501020210e1591c020014762e696f2f7632332f756e6971756569642e496401020210e15732060018762e696f2f7632332f73656375726974792e436176656174010200024964012de10008506172616d566f6d0127e1e1550403012ce15b64060028762e696f2f7632332f73656375726974792e54686972645061727479526571756972656d656e74730103000c5265706f72745365727665720101e1000c5265706f72744d6574686f640101e1000f5265706f7274417267756d656e74730101e1e151ff90060030762e696f2f7632332f73656375726974792e7075626c69634b657954686972645061727479436176656174506172616d010500054e6f6e6365012ae1000743617665617473012be1000d446973636861726765724b65790127e10012446973636861726765724c6f636174696f6e0103e1001644697363686172676572526571756972656d656e7473012ee1e152ffcc0000e85af646b2262648b804f643c066e798010100004b465c563779d13b7ba3a7d6a53480000113804e10ce3d1d36ff6c2448a7bfca57f5e90a77e1025b3059301306072a8648ce3d020106082a8648ce3d030107034200048b6e7ec9217b66db45502436d8e8dc187cd186cadd3342ffc93330765bc5a4a69eee8a709666682de37c9cf1262886b26770b982a3aa0e7f6e27c130c5c5dda503302f6e732e6465762e762e696f3a383130312f6964656e746974792f6465762e762e696f2f752f64697363686172676572e1e10300014201065348413235360220e05af2646b18606406c990f476de12ef35a3e0a66e7cc133d2185ae8b1d1c60603201476d59b8f9a11f8cd04f8bd12082690dec32db368003be8b579efcb2fc81299e1e1001e696f2e762e6c6f636174696f6e2e4c6f636174696f6e4163746976697479015b3059301306072a8648ce3d020106082a8648ce3d030107034200044a2f962994a10d4e02e9ea2d084427b26994aa6331202025599016308956ac430d6d0130bc9e4645b4aa7140533123d1f004cd5f8f2c67890ff5f4bc0b26940902010000000000000000000000000000000000000103800201e103000142010653484132353602206f4d06d7778778eeac6101ab54981159ddb5bf5b03b18e0e8ba37175c24d1aad032100d2f317772395cc406a25257eb843a6ce9826d4cce33bce512ef750e3b70777ede1e1e1
According to the vom decode tool, this represents:
v.io/v23/security.WireBlessings struct{CertificateChains [][]v.io/v23/security.Certificate struct{Extension string;PublicKey []byte;Caveats []v.io/v23/security.Caveat struct{Id v.io/v23/uniqueid.Id [16]byte;ParamVom []byte};Signature v.io/v23/security.Signature struct{Purpose []byte;Hash v.io/v23/security.Hash string;R []byte;S []byte}}}{CertificateChains: {{{Extension: "dev.v.io", PublicKey: "0Y0\x13\x06\a\x86H\xce=\x02\x01\x06\b\x86H\xce=\x03\x01\a\x03B\x00\x04\xeb\x880/\bz\xc1\x8b\xfe\xa3\x98/\x87\"\xf7\xec\x9a\xed\xac\xd02~\xc7ˇ\xacW\xe2\xd5\x06q/[\xe1~D\xe9ai\xed6~\xb8\x87\xdb\xe9F\xdd`[\x94f=\x154\x06\xda\xe7\xa9\x04\x8a\xc3\xe6", Caveats: {}, Signature: {Purpose: "B", Hash: "SHA256", R: "\x8a5\x8c\xec\x92P\xb1i(\xf1\xa1A\xad\xef\"\a1i\xbb\xbei\xd0M设d\xa6G\x8dĺ", S: "\xae\xed\xf2aU\x03\x8d\x91\xc3k\xed\xa9\xe6\xf2\x04\xa4\xd3PA\xc8IHb\x82\xa2\x1dP\x15\nk\xdcs"}}, {Extension: "u", PublicKey: "0Y0\x13\x06\a\x86H\xce=\x02\x01\x06\b\x86H\xce=\x03\x01\a\x03B\x00\x04\x8bn~\xc9!{f\xdbEP$6\xd8\xe8\xdc\x18|ц\xca\xdd3B\xff\xc930v[Ť\xa6\x9e\xee\x8ap\x96fh-\xe3|\x9c\xf1&(\x86\xb2gp\xb9\x82\xa3\xaa\x0e\u007fn'\xc10\xc5\xc5ݥ", Caveats: {{Id: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", ParamVom: "\x80\x02\x01"}}, Signature: {Purpose: "B", Hash: "SHA256", R: "\x90\xb1\x05\xad\x8d\x9e\xe3˾\xe1#\v,\x1c\x9e\xec \x8b\x88P$\b\a=\xfe\x92\xb8\xado\xb0\xac\xb7", S: "\xa7\xe5\x1eK\xe7\x16Ћ\f\x8a\a\x80\x99\xe1\xf8{ \x97V5\u007f/`&$\xfc\xee\xd7X\x1fIp"}}, {Extension: "nevenag@google.com/android", PublicKey: "0Y0\x13\x06\a\x86H\xce=\x02\x01\x06\b\x86H\xce=\x03\x01\a\x03B\x00\x04}\x13ʯ\xef\x12~\xb8ҕ%\x1f\xfa\xda\xf6\x81d\xe9z\xb94\x1b惆SuL\xde\t\xf5\x18}C\xfa\xf6\x9fN\x81\xfckX/\x98\xb0\xd0\xf0o\x12y\xd6\xee6\xb3\xa05\xe5Q\x0e\x1b\x0e1\xae\x8d", Caveats: {{Id: "yr\xce\x17J{\xa9?yT}v\x9c\x91\x80\x00", ParamVom: "\x80S\x1f\x02\x00\x17v.io/v23/security.nonce\x01\x02\x02\x10\xe1Y\x1c\x02\x00\x14v.io/v23/uniqueid.Id\x01\x02\x02\x10\xe1W2\x06\x00\x18v.io/v23/security.Caveat\x01\x02\x00\x02Id\x01-\xe1\x00\bParamVom\x01 http://x17v.io/v23/security.nonce%5Cx01%5Cx02%5Cx02%5Cx10%5Cxe1Y%5Cx1c%5Cx02%5Cx00%5Cx14v.io/v23/uniqueid.Id%5Cx01%5Cx02%5Cx02%5Cx10%5Cxe1W2%5Cx06%5Cx00%5Cx18v.io/v23/security.Caveat%5Cx01%5Cx02%5Cx00%5Cx02Id%5Cx01-%5Cxe1%5Cx00%5CbParamVom%5Cx01'\xe1\xe1U\x04\x03\x01,\xe1[d\x06\x00(v.io/v23/security.ThirdPartyRequirements\x01\x03\x00\fReportServer\x01\x01\xe1\x00\fReportMethod\x01\x01\xe1\x00\x0fReportArguments\x01\x01\xe1\xe1Q\xff\x90\x06\x000v.io/v23/security.publicKeyThirdPartyCaveatParam\x01\x05\x00\x05Nonce\x01\xe1\x00\aCaveats\x01+\xe1\x00\rDischargerKey\x01 http://v.io/v23/security.ThirdPartyRequirements%5Cx01%5Cx03%5Cx00%5CfReportServer%5Cx01%5Cx01%5Cxe1%5Cx00%5CfReportMethod%5Cx01%5Cx01%5Cxe1%5Cx00%5Cx0fReportArguments%5Cx01%5Cx01%5Cxe1%5Cxe1Q%5Cxff%5Cx90%5Cx06%5Cx000v.io/v23/security.publicKeyThirdPartyCaveatParam%5Cx01%5Cx05%5Cx00%5Cx05Nonce%5Cx01*%5Cxe1%5Cx00%5CaCaveats%5Cx01+%5Cxe1%5Cx00%5CrDischargerKey%5Cx01'\xe1\x00\x12DischargerLocation\x01\x03\xe1\x00\x16DischargerRequirements\x01.\xe1\xe1R\xff\xcc\x00\x00\xe8Z\xf6F\xb2&&H\xb8\x04\xf6C\xc0f\xe7\x98\x01\x01\x00\x00KF\V7y\xd1;{\xa3\xa7֥4\x80\x00\x01\x13\x80N\x10\xce=\x1d6\xffl$H\xa7\xbf\xcaW\xf5\xe9\nw\xe1\x02[0Y0\x13\x06\a_\x86H\xce=\x02\x01\x06\b_\x86H\xce=\x03\x01\a\x03B\x00\x04\x8bn~\xc9!{f\xdbEP$6\xd8\xe8\xdc\x18|ц\xca\xdd3B\xff\xc930v[Ť\xa6\x9e\xee\x8ap\x96fh-\xe3|\x9c\xf1&(\x86\xb2gp\xb9\x82\xa3\xaa\x0e\u007fn'\xc10\xc5\xc5ݥ\x030/ns.dev.v.io:8101/identity/dev.v.io/u/discharger\xe1 http://ns.dev.v.io:8101/identity/dev.v.io/u/discharger%5Cxe1"}}, Signature: {Purpose: "B", Hash: "SHA256", R: "\xe0Z\xf2dk\x18`d\x06ɐ\xf4v\xde\x12\xef5\xa3\xe0\xa6n|\xc13\xd2\x18Z\xe8\xb1\xd1\xc6\x06", S: "\x14v՛\x8f\x9a\x11\xf8\xcd\x04\xf8\xbd\x12\b&\x90\xde\xc3-\xb3h\x00;\xe8\xb5y\xef\xcb/\xc8\x12\x99"}}, {Extension: "io.v.location.LocationActivity", PublicKey: "0Y0\x13\x06\a\x86H\xce=\x02\x01\x06\b\x86H\xce=\x03\x01\a\x03B\x00\x04J/\x96)\x94\xa1\rN\x02\xe9\xea-\bD'\xb2i\x94\xaac1 %Y\x90\x160\x89V\xacC\rm\x010\xbc\x9eFE\xb4\xaaq@S1#\xd1\xf0\x04\xcd_\x8f,g\x89\x0f\xf5\xf4\xbc\v&\x94\t", Caveats: {{Id: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", ParamVom: "\x80\x02\x01"}}, Signature: {Purpose: "B", Hash: "SHA256", R: "oM\x06\xd7w\x87x\xee\xaca\x01\xabT\x98\x11Yݵ\xbf[\x03\xb1\x8e\x0e\x8b\xa3qu\xc2M\x1a\xad", S: "\x00\xd2\xf3\x17w#\x95\xcc@j%%~\xb8C\xa6Θ&\xd4\xcc\xe3;\xceQ.\xf7P\xe3\xb7\aw\xed"}}}}}
— Reply to this email directly or view it on GitHub https://github.com/vanadium/issues/issues/582.
It happens on android. Not sure about other platforms.
I tried to reproduce it in tests on linux, but when I ran them several failed so I'm not sure I am running them correctly.
@nevenag
Java VOM seemed to hang while decoding the following data:
According to the vom decode tool, this represents: