Re: [Mono-dev] Data protection failed. ---> System.UnauthorizedAccessException: Access to the path "/usr/share/.mono/keypairs/ (Mono-devel-list Digest, Vol 151, Issue 2)

nikhil sehgal <[email protected]> Mon, 13 Nov 2017 23:15:09 +0530
Newsgroups gmane.comp.gnome.mono.general
Message-ID <CAF0vV7zL_pjFOCfEDh=J_2NzFKTjwwfuovDoBWuEkkUeD0543g__15781.0467565016$1510595144$gmane$org@mail.gmail.com>
--===============5731787381361991676==
Content-Type: multipart/alternative; boundary="94eb2c1a5b68ec3e36055de0d49d"

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

Both running as www-data ...can I get it customized...and store it in
particular location....it store it in different level location...when I run
it again and again so I have manage permission for it

On Nov 13, 2017 22:59, "Jo Shields" <[email protected]> wrote:

> Which user is Nginx running as?
>
>
> Which user is fastcgi-mono-server running as?
>
>
> Somehow, it thinks that $HOME for the running user is /root
>
>
> On 13/11/17 12:20, nikhil sehgal wrote:
>
>> 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-e1144
>> b53633f][-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.OnKeyG
>> enerated
>> (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.Cre
>> ateKeyExchange
>> (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.Cre
>> ateKeyExchange
>> (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-e1144
>> b53633f][-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.OnKeyG
>> enerated
>> (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.Cre
>> ateKeyExchange
>> (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.Cre
>> ateKeyExchange
>> (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
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/
>> 20171113/7c971554/attachment.html>
>>
>>
>

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

<div dir=3D"auto">Both running as www-data ...can I get it customized...and=
 store it in particular location....it store it in different level location=
...when I run it again and again so I have manage permission for it=C2=A0</=
div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Nov 13, 20=
17 22:59, &quot;Jo Shields&quot; &lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt; wrote:<br type=3D"attribution"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">Which user is Nginx running as?<br>
<br>
<br>
Which user is fastcgi-mono-server running as?<br>
<br>
<br>
Somehow, it thinks that $HOME for the running user is /root<br>
<br>
<br>
On 13/11/17 12:20, nikhil sehgal wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
Now I have different scenario I have mono running as a custom user<br>
XYZ...however I am getting exception that mono can&#39;t write keypairs=C2=
=A0 to<br>
follow in path<br>
/root/.config/.mono/keypairs<br>
<br>
<br>
Why it&#39;s trying to write key&#39;s to Root&#39;s path......<br>
<br>
I am using nginx+fastcgimono ...<br>
<br>
<br>
And this issue is very random I got 3/10 times...<br>
<br>
Please help urgent<br>
<br>
<br>
On Oct 5, 2017 13:03, &quot;nikhil sehgal&quot; &lt;<a href=3D"mailto:nikhi=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br=
>
<br>
HI All ,<br>
<br>
While calling ProtectedData.Protect(Encoding<wbr>.Unicode.GetBytes(&quot;XX=
XXXXXXXXX<wbr>XXXX&quot;),<br>
null, DataProtectionScope.LocalMachi<wbr>ne);<br>
<br>
<br>
I am getting following error ....i am running my application under<br>
fast_cgi_mono+nginx and running as non root user..<br>
<br>
And following error is coming randomly not always.<br>
<br>
I don&#39;t want to run my application as root user for Security reasons<br=
>
.please advice<br>
<br>
System.Security.Cryptography.C<wbr>ryptographicException: Data protection<b=
r>
failed. ---&gt; System.UnauthorizedAccessExcep<wbr>tion: Access to the path=
<br>
&quot;/usr/share/.mono/keypairs/[1]<wbr>[98f3a7e3-0d6e-f432-8a18-e1144<wbr>=
b53633f][-1].xml&quot;<br>
is denied.<br>
=C2=A0 =C2=A0at System.IO.FileStream..ctor (System.String path, System.IO.F=
ileMode<br>
mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32<=
br>
bufferSize, System.Boolean anonymous, System.IO.FileOptions options)<br>
[0x001d8] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.IO.FileStream..ctor (System.String path, System.IO.F=
ileMode<br>
mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in =
&lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at (wrapper remoting-invoke-with-check) System.IO.FileStream:.=
ctor<br>
(string,System.IO.FileMode,Sys<wbr>tem.IO.FileAccess,System.IO.<wbr>FileSha=
re)<br>
=C2=A0 =C2=A0at System.IO.File.Open (System.String path, System.IO.FileMode=
 mode)<br>
[0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.Key<wbr>PairPersistence.Save () =
[0x00006] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
OnKeyG<wbr>enerated<br>
(System.Object sender, System.EventArgs e) [0x0002f] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.RSA<wbr>Managed.GenerateKeyPair =
() [0x00151] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.RSA<wbr>Managed.EncryptValue (Sy=
stem.Byte[] rgb)<br>
[0x0001b] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.PKC<wbr>S1.RSAEP (System.Securit=
y.Cryptography.<wbr>RSA<br>
rsa, System.Byte[] m) [0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e=
5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.PKC<wbr>S1.Encrypt_OAEP<br>
(System.Security.Cryptography.<wbr>RSA rsa,<br>
System.Security.Cryptography.H<wbr>ashAlgorithm<br>
hash, System.Security.Cryptography.R<wbr>andomNumberGenerator rng, System.B=
yte[]<br>
M) [0x000f6] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.U<wbr>tils.RsaOaepEncrypt<br>
(System.Security.Cryptography.<wbr>RSA rsa,<br>
System.Security.Cryptography.H<wbr>ashAlgorithm<br>
hash, System.Security.Cryptography.P<wbr>KCS1MaskGenerationMethod mgf,<br>
System.Security.Cryptography.R<wbr>andomNumberGenerator rng, System.Byte[] =
data)<br>
[0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SAOAEPKeyExchangeFormatt=
er.Cre<wbr>ateKeyExchange<br>
(System.Byte[] rgbData) [0x00047] in &lt;77c9551943624fd18301ba6f78a84<wbr>=
1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
Encryp<wbr>t<br>
(System.Byte[] rgb, System.Boolean fOAEP) [0x0001f] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
Encryp<wbr>t<br>
(System.Byte[] data, System.Security.Cryptography.R<wbr>SAEncryptionPadding=
<br>
padding) [0x00045] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SAOAEPKeyExchangeFormatt=
er.Cre<wbr>ateKeyExchange<br>
(System.Byte[] rgbData) [0x0002c] in &lt;77c9551943624fd18301ba6f78a84<wbr>=
1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.Man<wbr>agedProtection.Protect (=
System.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x0013e] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.P<wbr>rotectedData.Protect (Sy=
stem.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x00023] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0 --- End of inner exception stack trace ---<br>
=C2=A0 =C2=A0at System.Security.Cryptography.P<wbr>rotectedData.Protect (Sy=
stem.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x0003f] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0at Writelog.Program.Main (System.String[] args) [0x00010] in &=
lt;<br>
e4a1cce0275a48f29c577f83bf7113<wbr>1e&gt;:0<br>
[ERROR] FATAL UNHANDLED EXCEPTION:<br>
System.Security.Cryptography.C<wbr>ryptographicException:<br>
Data protection failed. ---&gt; System.UnauthorizedAccessExcep<wbr>tion: Ac=
cess to<br>
the path &quot;/usr/share/.mono/keypairs/[1]<wbr>[98f3a7e3-0d6e-f432-8a18-e=
1144<wbr>b53633f][-1].xml&quot;<br>
is denied.<br>
=C2=A0 =C2=A0at System.IO.FileStream..ctor (System.String path, System.IO.F=
ileMode<br>
mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32<=
br>
bufferSize, System.Boolean anonymous, System.IO.FileOptions options)<br>
[0x001d8] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.IO.FileStream..ctor (System.String path, System.IO.F=
ileMode<br>
mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in =
&lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at (wrapper remoting-invoke-with-check) System.IO.FileStream:.=
ctor<br>
(string,System.IO.FileMode,Sys<wbr>tem.IO.FileAccess,System.IO.<wbr>FileSha=
re)<br>
=C2=A0 =C2=A0at System.IO.File.Open (System.String path, System.IO.FileMode=
 mode)<br>
[0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.Key<wbr>PairPersistence.Save () =
[0x00006] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
OnKeyG<wbr>enerated<br>
(System.Object sender, System.EventArgs e) [0x0002f] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.RSA<wbr>Managed.GenerateKeyPair =
() [0x00151] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.RSA<wbr>Managed.EncryptValue (Sy=
stem.Byte[] rgb)<br>
[0x0001b] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.PKC<wbr>S1.RSAEP (System.Securit=
y.Cryptography.<wbr>RSA<br>
rsa, System.Byte[] m) [0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e=
5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.PKC<wbr>S1.Encrypt_OAEP<br>
(System.Security.Cryptography.<wbr>RSA rsa,<br>
System.Security.Cryptography.H<wbr>ashAlgorithm<br>
hash, System.Security.Cryptography.R<wbr>andomNumberGenerator rng, System.B=
yte[]<br>
M) [0x000f6] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.U<wbr>tils.RsaOaepEncrypt<br>
(System.Security.Cryptography.<wbr>RSA rsa,<br>
System.Security.Cryptography.H<wbr>ashAlgorithm<br>
hash, System.Security.Cryptography.P<wbr>KCS1MaskGenerationMethod mgf,<br>
System.Security.Cryptography.R<wbr>andomNumberGenerator rng, System.Byte[] =
data)<br>
[0x00000] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SAOAEPKeyExchangeFormatt=
er.Cre<wbr>ateKeyExchange<br>
(System.Byte[] rgbData) [0x00047] in &lt;77c9551943624fd18301ba6f78a84<wbr>=
1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
Encryp<wbr>t<br>
(System.Byte[] rgb, System.Boolean fOAEP) [0x0001f] in &lt;<br>
77c9551943624fd18301ba6f78a841<wbr>e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SACryptoServiceProvider.=
Encryp<wbr>t<br>
(System.Byte[] data, System.Security.Cryptography.R<wbr>SAEncryptionPadding=
<br>
padding) [0x00045] in &lt;77c9551943624fd18301ba6f78a84<wbr>1e5&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.R<wbr>SAOAEPKeyExchangeFormatt=
er.Cre<wbr>ateKeyExchange<br>
(System.Byte[] rgbData) [0x0002c] in &lt;77c9551943624fd18301ba6f78a84<wbr>=
1e5&gt;:0<br>
=C2=A0 =C2=A0at Mono.Security.Cryptography.Man<wbr>agedProtection.Protect (=
System.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x0013e] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0at System.Security.Cryptography.P<wbr>rotectedData.Protect (Sy=
stem.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x00023] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0 --- End of inner exception stack trace ---<br>
=C2=A0 =C2=A0at System.Security.Cryptography.P<wbr>rotectedData.Protect (Sy=
stem.Byte[]<br>
userData, System.Byte[] optionalEntropy,<br>
System.Security.Cryptography.D<wbr>ataProtectionScope<br>
scope) [0x0003f] in &lt;2c890ca2f2c3434ca04011ecd5d57<wbr>165&gt;:0<br>
=C2=A0 =C2=A0at Writelog.Program.Main (System.String[] args) [0x00010] in &=
lt;<br>
e4a1cce0275a48f29c577f83bf7113<wbr>1e&gt;:0<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href=3D"http://lists.dot.net/pipermail/mono-devel-list/attachme=
nts/20171113/7c971554/attachment.html" rel=3D"noreferrer" target=3D"_blank"=
>http://lists.dot.net/pipermai<wbr>l/mono-devel-list/attachments/<wbr>20171=
113/7c971554/attachment.<wbr>html</a>&gt;<br>
<br>
</blockquote>
<br>
</blockquote></div></div>

--94eb2c1a5b68ec3e36055de0d49d--

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

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTW9uby1saXN0
IG1haWxsaXN0ICAtICBNb25vLWxpc3RAbGlzdHMuZG90Lm5ldApodHRwOi8vbGlzdHMuZG90Lm5l
dC9tYWlsbWFuL2xpc3RpbmZvL21vbm8tbGlzdAo=

--===============5731787381361991676==--