mail-archives/mono-bugs/2003-March/004062.html

120 строки
4.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 32179][Blo] Changed - RNGCryptoServiceProvider doesn't work on Windows
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Next" HREF="004056.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 32179][Blo] Changed - RNGCryptoServiceProvider doesn't work on Windows
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 32179][Blo] Changed - RNGCryptoServiceProvider doesn't work on Windows">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Fri, 28 Feb 2003 21:27:51 -0500 (EST)</I>
<P><UL>
<LI> Next message: <A HREF="004056.html">[Mono-bugs] Forget aging and dieting forever! 0306Dmpk0-919dSOv27-18
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4062">[ date ]</a>
<a href="thread.html#4062">[ thread ]</a>
<a href="subject.html#4062">[ subject ]</a>
<a href="author.html#4062">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by <A HREF="mailto:spouliot@videotron.ca.">spouliot@videotron.ca.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=32179">http://bugzilla.ximian.com/show_bug.cgi?id=32179</A>
--- shadow/32179 Fri Jan 17 08:57:14 2003
+++ shadow/32179.tmp.10320 Fri Feb 28 21:27:51 2003
@@ -1,14 +1,14 @@
Bug#: 32179
Product: Mono/Class Libraries
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Blocker
Component: CORLIB
AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
ReportedBy: <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A>
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
TargetMilestone: ---
@@ -39,6 +39,41 @@
random data
How often does this happen?
Always
+
+------- Additional Comments From <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A> 2003-02-28 21:27 -------
+It's possible to register an alternative RNG using CryptoConfig and
+the machine.config file. The assembly Mono.Security.Win32.dll has a
+RNGCryptoServiceProvider class that works (exclusively) on Windows.
+
+This is the configuration required to use the Mono.Security.Win32.dll
+assembly for Windows users.
+
+&lt;/configuration&gt;
+
+ ... other config stuff ...
+
+ &lt;mscorlib&gt;
+ &lt;cryptographySettings&gt;
+ &lt;cryptoNameMapping&gt;
+ &lt;cryptoClasses&gt;
+ &lt;cryptoClass
+CapiRNG=&quot;Mono.Security.Cryptography.RNGCryptoServiceProvider,
+Mono.Security.Win32, Version=0.0.0.0, Culture=neutral,
+PublicKeyToken=null&quot;/&gt;
+ &lt;/cryptoClasses&gt;
+ &lt;nameEntry
+name=&quot;RandomNumberGenerator&quot; class=&quot;CapiRNG&quot; /&gt;
+ &lt;nameEntry
+name=&quot;System.Security.Cryptography.RandomNumberGenerator&quot;
+class=&quot;CapiRNG&quot; /&gt;
+ &lt;nameEntry
+name=&quot;System.Security.Cryptography.RNGCryptoServiceProvider&quot;
+class=&quot;CapiRNG&quot;/&gt;
+ &lt;/cryptoNameMapping&gt;
+ &lt;/cryptographySettings&gt;
+ &lt;/mscorlib&gt;
+&lt;/configuration&gt;
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Next message: <A HREF="004056.html">[Mono-bugs] Forget aging and dieting forever! 0306Dmpk0-919dSOv27-18
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4062">[ date ]</a>
<a href="thread.html#4062">[ thread ]</a>
<a href="subject.html#4062">[ subject ]</a>
<a href="author.html#4062">[ author ]</a>
</LI>
</UL>
</body></html>