Project

General

Profile

Actions

Bug / Feature #202

closed

Certificate Generation errror

Added by danagaz over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Start date:
06 November 2010
Due date:
% Done:

100%

Estimated time:
Request Type:
Feature Request
Affected Program:
Affected Users:

Description

Here's the log of error.

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

  • Texte de l'exception ******
    System.InvalidOperationException: Cette implémentation ne fait pas partie des algorithmes de chiffrement validés FIPS pour les plateformes Windows.
    à System.Security.Cryptography.SHA256Managed..ctor()
    à Pirate.PiVote.Crypto.Certificate.EncryptPrivateKey(String passphrase, RSACryptoServiceProvider rsaProvider)
    à Pirate.PiVote.Crypto.Certificate..ctor(Language language, String passphrase)
    à Pirate.PiVote.Crypto.VoterCertificate..ctor(Language language, String passphrase, Int32 groupId)
    à Pirate.PiVote.Client.SimpleChooseCertificateItem.createButton_Click(Object sender, EventArgs e)
    à System.Windows.Forms.Control.OnClick(EventArgs e)
    à System.Windows.Forms.Button.OnClick(EventArgs e)
    à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    à System.Windows.Forms.Control.WndProc(Message& m)
    à System.Windows.Forms.ButtonBase.WndProc(Message& m)
    à System.Windows.Forms.Button.WndProc(Message& m)
    à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  • Assemblys chargés ******
    mscorlib
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4952 (win7RTMGDR.050727-4900)
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Pirate.PiVote.Client
    Version de l'assembly : 1.0.1.0
    Version Win32 : 1.0.1.0
    CodeBase : file:///C:/Program%20Files/PiVote%20Client/Pirate.PiVote.Client.exe
    ----------------------------------------
    System.Windows.Forms
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Pirate.PiVote.Client.resources
    Version de l'assembly : 1.0.1.0
    Version Win32 : 1.0.1.0
    CodeBase : file:///C:/Program%20Files/PiVote%20Client/fr-FR/Pirate.PiVote.Client.resources.DLL
    ----------------------------------------
    Pirate.PiVote
    Version de l'assembly : 1.0.1.0
    Version Win32 : 1.0.1.0
    CodeBase : file:///C:/Program%20Files/PiVote%20Client/Pirate.PiVote.DLL
    ----------------------------------------
    System.Xml.Linq
    Version de l'assembly : 3.5.0.0
    Version Win32 : 3.5.30729.4926 built by: NetFXw7
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
    ----------------------------------------
    System.Core
    Version de l'assembly : 3.5.0.0
    Version Win32 : 3.5.30729.4926 built by: NetFXw7
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Xml
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    Pirate.PiVote.resources
    Version de l'assembly : 1.0.1.0
    Version Win32 : 1.0.1.0
    CodeBase : file:///C:/Program%20Files/PiVote%20Client/fr-FR/Pirate.PiVote.resources.DLL
    ----------------------------------------
    mscorlib.resources
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4952 (win7RTMGDR.050727-4900)
    CodeBase : file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Accessibility
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Windows.Forms.resources
    Version de l'assembly : 2.0.0.0
    Version Win32 : 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
    ----------------------------------------
  • Débogage JIT ******
    Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
    application ou cet ordinateur (machine.config) doit avoir la valeur
    jitDebugging définie dans la section system.windows.forms.
    L'application doit également être compilée avec le débogage
    activé.

Par exemple :

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.


Files

errMsg2.jpg (102 KB) errMsg2.jpg danagaz, 06 November 2010 07:31
errMsg3.jpg (54.4 KB) errMsg3.jpg danagaz, 06 November 2010 07:31
Actions #1

Updated by Exception over 13 years ago

  • Assignee set to Exception
  • Target version set to PiVote 1.0.3.0
Actions #2

Updated by Exception over 13 years ago

  • Category set to Security

The administrator of your machine disallowed non-FIPS encryption algorithms. If you are allowed to do that you may disable this setting in your Local Security Policy or Domain Group Policy. I guess your using Pi-Vote on a corporate machine since there is no reason for individuals to set that settings. In this case I would recommend installing Pi-Vote on a private computer without this restriction.

Actions #3

Updated by Anonymous over 13 years ago

It's a prive computer, i've all admin right on it.

Actions #4

Updated by Exception over 13 years ago

Then set the setting "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" in the Local Security Settings to false.

Actions #5

Updated by Exception over 13 years ago

  • Status changed from New to 6
Actions #6

Updated by Exception over 13 years ago

  • Status changed from 6 to Closed
Actions

Also available in: Atom PDF