Re: Data protection failed. ---> System.UnauthorizedAccessException: Access to the path "/usr/share/.mono/keypairs/

nikhil sehgal <[email protected]> Mon, 13 Nov 2017 22:50:33 +0530
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAF0vV7wB8PaG-xgZMz_WfJk_OLEGW+iGVVV53SdM8DYcoewe9g@mail.gmail.com>
--===============7514106557032466015==
Content-Type: multipart/alternative; boundary="94eb2c1a5b68fd47e4055de07ce5"

--94eb2c1a5b68fd47e4055de07ce5
Content-Type: text/plain; charset="UTF-8"

Hi all,

Now I have different scenario I have mono running as a custom user
XYZ...however I am getting exception that mono can't write keypairs  to
follow in path
/root/.config/.mono/keypairs


Why it's trying to write key's to Root's path......

I am using nginx+fastcgimono ...


And this issue is very random I got 3/10 times...

Please help urgent


On Oct 5, 2017 13:03, "nikhil sehgal" <[email protected]> wrote:

HI All ,

While calling ProtectedData.Protect(Encoding.Unicode.GetBytes("XXXXXXXXXXXXXXX"),
null, DataProtectionScope.LocalMachine);


I am getting following error ....i am running my application under
fast_cgi_mono+nginx and running as non root user..

And following error is coming randomly not always.

I don't want to run my application as root user for Security reasons
.please advice

System.Security.Cryptography.CryptographicException: Data protection
failed. ---> System.UnauthorizedAccessException: Access to the path
"/usr/share/.mono/keypairs/[1][98f3a7e3-0d6e-f432-8a18-e1144b53633f][-1].xml"
is denied.
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode
mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32
bufferSize, System.Boolean anonymous, System.IO.FileOptions options)
[0x001d8] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode
mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <
77c9551943624fd18301ba6f78a841e5>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.Open (System.String path, System.IO.FileMode mode)
[0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.KeyPairPersistence.Save () [0x00006] in <
77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.OnKeyGenerated
(System.Object sender, System.EventArgs e) [0x0002f] in <
77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.RSAManaged.GenerateKeyPair () [0x00151] in <
77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.RSAManaged.EncryptValue (System.Byte[] rgb)
[0x0001b] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.PKCS1.RSAEP (System.Security.Cryptography.RSA
rsa, System.Byte[] m) [0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.PKCS1.Encrypt_OAEP
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm
hash, System.Security.Cryptography.RandomNumberGenerator rng, System.Byte[]
M) [0x000f6] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.Utils.RsaOaepEncrypt
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm
hash, System.Security.Cryptography.PKCS1MaskGenerationMethod mgf,
System.Security.Cryptography.RandomNumberGenerator rng, System.Byte[] data)
[0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSAOAEPKeyExchangeFormatter.CreateKeyExchange
(System.Byte[] rgbData) [0x00047] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt
(System.Byte[] rgb, System.Boolean fOAEP) [0x0001f] in <
77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt
(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding
padding) [0x00045] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSAOAEPKeyExchangeFormatter.CreateKeyExchange
(System.Byte[] rgbData) [0x0002c] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.ManagedProtection.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x0013e] in <2c890ca2f2c3434ca04011ecd5d57165>:0
  at System.Security.Cryptography.ProtectedData.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x00023] in <2c890ca2f2c3434ca04011ecd5d57165>:0
   --- End of inner exception stack trace ---
  at System.Security.Cryptography.ProtectedData.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x0003f] in <2c890ca2f2c3434ca04011ecd5d57165>:0
  at Writelog.Program.Main (System.String[] args) [0x00010] in <
e4a1cce0275a48f29c577f83bf71131e>:0
[ERROR] FATAL UNHANDLED EXCEPTION:
System.Security.Cryptography.CryptographicException:
Data protection failed. ---> System.UnauthorizedAccessException: Access to
the path "/usr/share/.mono/keypairs/[1][98f3a7e3-0d6e-f432-8a18-e1144b53633f][-1].xml"
is denied.
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode
mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32
bufferSize, System.Boolean anonymous, System.IO.FileOptions options)
[0x001d8] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode
mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <
77c9551943624fd18301ba6f78a841e5>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.File.Open (System.String path, System.IO.FileMode mode)
[0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.KeyPairPersistence.Save () [0x00006] in <
77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.OnKeyGenerated
(System.Object sender, System.EventArgs e) [0x0002f] in <
77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.RSAManaged.GenerateKeyPair () [0x00151] in <
77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.RSAManaged.EncryptValue (System.Byte[] rgb)
[0x0001b] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.PKCS1.RSAEP (System.Security.Cryptography.RSA
rsa, System.Byte[] m) [0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.PKCS1.Encrypt_OAEP
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm
hash, System.Security.Cryptography.RandomNumberGenerator rng, System.Byte[]
M) [0x000f6] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.Utils.RsaOaepEncrypt
(System.Security.Cryptography.RSA rsa,
System.Security.Cryptography.HashAlgorithm
hash, System.Security.Cryptography.PKCS1MaskGenerationMethod mgf,
System.Security.Cryptography.RandomNumberGenerator rng, System.Byte[] data)
[0x00000] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSAOAEPKeyExchangeFormatter.CreateKeyExchange
(System.Byte[] rgbData) [0x00047] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt
(System.Byte[] rgb, System.Boolean fOAEP) [0x0001f] in <
77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSACryptoServiceProvider.Encrypt
(System.Byte[] data, System.Security.Cryptography.RSAEncryptionPadding
padding) [0x00045] in <77c9551943624fd18301ba6f78a841e5>:0
  at System.Security.Cryptography.RSAOAEPKeyExchangeFormatter.CreateKeyExchange
(System.Byte[] rgbData) [0x0002c] in <77c9551943624fd18301ba6f78a841e5>:0
  at Mono.Security.Cryptography.ManagedProtection.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x0013e] in <2c890ca2f2c3434ca04011ecd5d57165>:0
  at System.Security.Cryptography.ProtectedData.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x00023] in <2c890ca2f2c3434ca04011ecd5d57165>:0
   --- End of inner exception stack trace ---
  at System.Security.Cryptography.ProtectedData.Protect (System.Byte[]
userData, System.Byte[] optionalEntropy,
System.Security.Cryptography.DataProtectionScope
scope) [0x0003f] in <2c890ca2f2c3434ca04011ecd5d57165>:0
  at Writelog.Program.Main (System.String[] args) [0x00010] in <
e4a1cce0275a48f29c577f83bf71131e>:0

--94eb2c1a5b68fd47e4055de07ce5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><div dir=3D"auto"><br></div><div dir=3D"auto">Hi all=
,</div><div dir=3D"auto"><br></div><div dir=3D"auto">Now I have different s=
cenario I have mono running as a custom user XYZ...however I am getting exc=
eption that mono can&#39;t write keypairs=C2=A0 to follow in path=C2=A0</di=
v><div dir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,s=
ans-serif;font-size:16px">/root/.config/.mono/keypairs</span><br></div><div=
 dir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,sans-se=
rif;font-size:16px"><br></span></div><div dir=3D"auto"><span style=3D"color=
:rgb(255,0,0);font-family:calibri,sans-serif;font-size:16px"><br></span></d=
iv><div dir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,=
sans-serif;font-size:16px">Why it&#39;s trying to write key&#39;s to Root&#=
39;s path......</span></div><div dir=3D"auto"><span style=3D"color:rgb(255,=
0,0);font-family:calibri,sans-serif;font-size:16px"><br></span></div><div d=
ir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,sans-seri=
f;font-size:16px">I am using nginx+fastcgimono ...</span></div><div dir=3D"=
auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,sans-serif;font=
-size:16px"><br></span></div><div dir=3D"auto"><span style=3D"color:rgb(255=
,0,0);font-family:calibri,sans-serif;font-size:16px"><br></span></div><div =
dir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calibri,sans-ser=
if;font-size:16px">And this issue is very random I got 3/10 times...</span>=
</div><div dir=3D"auto"><span style=3D"color:rgb(255,0,0);font-family:calib=
ri,sans-serif;font-size:16px"><br></span></div><div dir=3D"auto"><span styl=
e=3D"color:rgb(255,0,0);font-family:calibri,sans-serif;font-size:16px">Plea=
se help urgent</span></div><br><div class=3D"gmail_extra"><br><div class=3D=
"gmail_quote">On Oct 5, 2017 13:03, &quot;nikhil sehgal&quot; &lt;<a href=
=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br t=
ype=3D"attribution"><blockquote class=3D"quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>HI All ,=
</div><div><br></div><div>While calling ProtectedData.Protect(<wbr>Encoding=
.Unicode.GetBytes(&quot;<wbr>XXXXXXXXXXXXXXX&quot;), null, DataProtectionSc=
ope.<wbr>LocalMachine);</div><div><br></div><div><br></div><div>I am gettin=
g following error ....i am running my application under fast_cgi_mono+nginx=
 and running as non root user..</div><div><br></div><div>And following erro=
r is coming randomly not always.</div><div><br></div><div>I don&#39;t want =
to run my application as root user for Security reasons</div><div>.please a=
dvice<br></div><div><br></div><div>System.Security.Cryptography.<wbr>Crypto=
graphicException: Data protection failed. ---&gt; System.<wbr>UnauthorizedA=
ccessException: Access to the path &quot;/usr/share/.mono/keypairs/[1]<wbr>=
[98f3a7e3-0d6e-f432-8a18-<wbr>e1144b53633f][-1].xml&quot; is denied.</div><=
div>=C2=A0 at System.IO.FileStream..ctor (System.String path, System.IO.Fil=
eMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.=
Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) =
[0x001d8] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</di=
v><div>=C2=A0 at System.IO.FileStream..ctor (System.String path, System.IO.=
FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x0=
0000] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><d=
iv>=C2=A0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.cto=
r (string,System.IO.FileMode,<wbr>System.IO.FileAccess,System.<wbr>IO.FileS=
hare)</div><div>=C2=A0 at System.IO.File.Open (System.String path, System.I=
O.FileMode mode) [0x00000] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e=
5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<wbr>KeyPairPe=
rsistence.Save () [0x00006] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>=
e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptography.<wbr>RSACry=
ptoServiceProvider.<wbr>OnKeyGenerated (System.Object sender, System.EventA=
rgs e) [0x0002f] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=
=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<wbr>RSAManaged.Generate=
KeyPair () [0x00151] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:=
0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<wbr>RSAManaged.Encr=
yptValue (System.Byte[] rgb) [0x0001b] in &lt;<wbr>77c9551943624fd18301ba6f=
78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<w=
br>PKCS1.RSAEP (System.Security.Cryptography.<wbr>RSA rsa, System.Byte[] m)=
 [0x00000] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</d=
iv><div>=C2=A0 at Mono.Security.Cryptography.<wbr>PKCS1.Encrypt_OAEP (Syste=
m.Security.Cryptography.<wbr>RSA rsa, System.Security.Cryptography.<wbr>Has=
hAlgorithm hash, System.Security.Cryptography.<wbr>RandomNumberGenerator rn=
g, System.Byte[] M) [0x000f6] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wb=
r>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptography.<wbr>Util=
s.RsaOaepEncrypt (System.Security.Cryptography.<wbr>RSA rsa, System.Securit=
y.Cryptography.<wbr>HashAlgorithm hash, System.Security.Cryptography.<wbr>P=
KCS1MaskGenerationMethod mgf, System.Security.Cryptography.<wbr>RandomNumbe=
rGenerator rng, System.Byte[] data) [0x00000] in &lt;<wbr>77c9551943624fd18=
301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Crypto=
graphy.<wbr>RSAOAEPKeyExchangeFormatter.<wbr>CreateKeyExchange (System.Byte=
[] rgbData) [0x00047] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;=
:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptography.<wbr>RSACryptoSer=
viceProvider.<wbr>Encrypt (System.Byte[] rgb, System.Boolean fOAEP) [0x0001=
f] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=
=C2=A0 at System.Security.Cryptography.<wbr>RSACryptoServiceProvider.<wbr>E=
ncrypt (System.Byte[] data, System.Security.Cryptography.<wbr>RSAEncryption=
Padding padding) [0x00045] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e=
5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptography.<wbr>RSAOAEP=
KeyExchangeFormatter.<wbr>CreateKeyExchange (System.Byte[] rgbData) [0x0002=
c] in &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=
=C2=A0 at Mono.Security.Cryptography.<wbr>ManagedProtection.Protect (System=
.Byte[] userData, System.Byte[] optionalEntropy, System.Security.Cryptograp=
hy.<wbr>DataProtectionScope scope) [0x0013e] in &lt;<wbr>2c890ca2f2c3434ca0=
4011ecd5d571<wbr>65&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptog=
raphy.<wbr>ProtectedData.Protect (System.Byte[] userData, System.Byte[] opt=
ionalEntropy, System.Security.Cryptography.<wbr>DataProtectionScope scope) =
[0x00023] in &lt;<wbr>2c890ca2f2c3434ca04011ecd5d571<wbr>65&gt;:0=C2=A0</di=
v><div>=C2=A0 =C2=A0--- End of inner exception stack trace ---</div><div>=
=C2=A0 at System.Security.Cryptography.<wbr>ProtectedData.Protect (System.B=
yte[] userData, System.Byte[] optionalEntropy, System.Security.Cryptography=
.<wbr>DataProtectionScope scope) [0x0003f] in &lt;<wbr>2c890ca2f2c3434ca040=
11ecd5d571<wbr>65&gt;:0=C2=A0</div><div>=C2=A0 at Writelog.Program.Main (Sy=
stem.String[] args) [0x00010] in &lt;<wbr>e4a1cce0275a48f29c577f83bf7113<wb=
r>1e&gt;:0=C2=A0</div><div>[ERROR] FATAL UNHANDLED EXCEPTION: System.Securi=
ty.Cryptography.<wbr>CryptographicException: Data protection failed. ---&gt=
; System.<wbr>UnauthorizedAccessException: Access to the path &quot;/usr/sh=
are/.mono/keypairs/[1]<wbr>[98f3a7e3-0d6e-f432-8a18-<wbr>e1144b53633f][-1].=
xml&quot; is denied.</div><div>=C2=A0 at System.IO.FileStream..ctor (System=
.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.=
IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, Syst=
em.IO.FileOptions options) [0x001d8] in &lt;<wbr>77c9551943624fd18301ba6f78=
a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.IO.FileStream..ctor (Sys=
tem.String path, System.IO.FileMode mode, System.IO.FileAccess access, Syst=
em.IO.FileShare share) [0x00000] in &lt;<wbr>77c9551943624fd18301ba6f78a841=
<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at (wrapper remoting-invoke-with-check=
) System.IO.FileStream:.ctor (string,System.IO.FileMode,<wbr>System.IO.File=
Access,System.<wbr>IO.FileShare)</div><div>=C2=A0 at System.IO.File.Open (S=
ystem.String path, System.IO.FileMode mode) [0x00000] in &lt;<wbr>77c955194=
3624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.=
Cryptography.<wbr>KeyPairPersistence.Save () [0x00006] in &lt;<wbr>77c95519=
43624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Securi=
ty.Cryptography.<wbr>RSACryptoServiceProvider.<wbr>OnKeyGenerated (System.O=
bject sender, System.EventArgs e) [0x0002f] in &lt;<wbr>77c9551943624fd1830=
1ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptograp=
hy.<wbr>RSAManaged.GenerateKeyPair () [0x00151] in &lt;<wbr>77c9551943624fd=
18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Crypto=
graphy.<wbr>RSAManaged.EncryptValue (System.Byte[] rgb) [0x0001b] in &lt;<w=
br>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mo=
no.Security.Cryptography.<wbr>PKCS1.RSAEP (System.Security.Cryptography.<wb=
r>RSA rsa, System.Byte[] m) [0x00000] in &lt;<wbr>77c9551943624fd18301ba6f7=
8a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<wb=
r>PKCS1.Encrypt_OAEP (System.Security.Cryptography.<wbr>RSA rsa, System.Sec=
urity.Cryptography.<wbr>HashAlgorithm hash, System.Security.Cryptography.<w=
br>RandomNumberGenerator rng, System.Byte[] M) [0x000f6] in &lt;<wbr>77c955=
1943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Secu=
rity.Cryptography.<wbr>Utils.RsaOaepEncrypt (System.Security.Cryptography.<=
wbr>RSA rsa, System.Security.Cryptography.<wbr>HashAlgorithm hash, System.S=
ecurity.Cryptography.<wbr>PKCS1MaskGenerationMethod mgf, System.Security.Cr=
yptography.<wbr>RandomNumberGenerator rng, System.Byte[] data) [0x00000] in=
 &lt;<wbr>77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=
=A0 at System.Security.Cryptography.<wbr>RSAOAEPKeyExchangeFormatter.<wbr>C=
reateKeyExchange (System.Byte[] rgbData) [0x00047] in &lt;<wbr>77c955194362=
4fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.C=
ryptography.<wbr>RSACryptoServiceProvider.<wbr>Encrypt (System.Byte[] rgb, =
System.Boolean fOAEP) [0x0001f] in &lt;<wbr>77c9551943624fd18301ba6f78a841<=
wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Security.Cryptography.<wbr>RS=
ACryptoServiceProvider.<wbr>Encrypt (System.Byte[] data, System.Security.Cr=
yptography.<wbr>RSAEncryptionPadding padding) [0x00045] in &lt;<wbr>77c9551=
943624fd18301ba6f78a841<wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at System.Secur=
ity.Cryptography.<wbr>RSAOAEPKeyExchangeFormatter.<wbr>CreateKeyExchange (S=
ystem.Byte[] rgbData) [0x0002c] in &lt;<wbr>77c9551943624fd18301ba6f78a841<=
wbr>e5&gt;:0=C2=A0</div><div>=C2=A0 at Mono.Security.Cryptography.<wbr>Mana=
gedProtection.Protect (System.Byte[] userData, System.Byte[] optionalEntrop=
y, System.Security.Cryptography.<wbr>DataProtectionScope scope) [0x0013e] i=
n &lt;<wbr>2c890ca2f2c3434ca04011ecd5d571<wbr>65&gt;:0=C2=A0</div><div>=C2=
=A0 at System.Security.Cryptography.<wbr>ProtectedData.Protect (System.Byte=
[] userData, System.Byte[] optionalEntropy, System.Security.Cryptography.<w=
br>DataProtectionScope scope) [0x00023] in &lt;<wbr>2c890ca2f2c3434ca04011e=
cd5d571<wbr>65&gt;:0=C2=A0</div><div>=C2=A0 =C2=A0--- End of inner exceptio=
n stack trace ---</div><div>=C2=A0 at System.Security.Cryptography.<wbr>Pro=
tectedData.Protect (System.Byte[] userData, System.Byte[] optionalEntropy, =
System.Security.Cryptography.<wbr>DataProtectionScope scope) [0x0003f] in &=
lt;<wbr>2c890ca2f2c3434ca04011ecd5d571<wbr>65&gt;:0=C2=A0</div><div>=C2=A0 =
at Writelog.Program.Main (System.String[] args) [0x00010] in &lt;<wbr>e4a1c=
ce0275a48f29c577f83bf7113<wbr>1e&gt;:0=C2=A0</div><div><br></div><div><br><=
/div>
</div>
</blockquote></div><br></div></div></div>

--94eb2c1a5b68fd47e4055de07ce5--

--===============7514106557032466015==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0
IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l
dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo=

--===============7514106557032466015==--