Decrypt my World

Cryptography, Security, Debugging and more!

How to timestamp Authenticode signatures when our proxy requires authentication

Hi all, The other day a customer of mine was trying to add an Authenticode signature with timestamp...

Author: Alejandro Campos Magencio Date: 09/29/2009

MANAGED DEBUGGING with WINDBG. Locks

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Breaking on an Exception. Part...

Author: Alejandro Campos Magencio Date: 09/29/2009

MANAGED DEBUGGING with WINDBG. Breaking on an Exception. Part 2

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Breaking on an Exception. Part...

Author: Alejandro Campos Magencio Date: 09/29/2009

SubAuthentication package gets Zero LogonId

Hi all, The other day I worked on an issue related to a SubAuthentication package that one of my...

Author: Alejandro Campos Magencio Date: 09/01/2009

MANAGED DEBUGGING with WINDBG. Breaking on an Exception. Part 1

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 5. BREAKING...

Author: Alejandro Campos Magencio Date: 08/24/2009

MANAGED DEBUGGING with WINDBG. Managed Heap. Part 5

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 4. MANAGED...

Author: Alejandro Campos Magencio Date: 08/24/2009

MANAGED DEBUGGING with WINDBG. Managed Heap. Part 4

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 3. MANAGED...

Author: Alejandro Campos Magencio Date: 08/17/2009

MANAGED DEBUGGING with WINDBG. Managed Heap. Part 3

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 2. MANAGED...

Author: Alejandro Campos Magencio Date: 08/17/2009

MANAGED DEBUGGING with WINDBG. Managed Heap. Part 2

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Managed Heap. Part 1. MANAGED...

Author: Alejandro Campos Magencio Date: 08/13/2009

MANAGED DEBUGGING with WINDBG. Managed Heap. Part 1

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 2. MANAGED...

Author: Alejandro Campos Magencio Date: 08/13/2009

Controls won't get resized once the nesting hierarchy of windows exceeds a certain depth (x64)

Hi all, welcome back, I've been working on an issue where WM_SIZE events are not properly generated...

Author: Alejandro Campos Magencio Date: 08/11/2009

MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 2

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 1. THREAD...

Author: Alejandro Campos Magencio Date: 08/11/2009

MANAGED DEBUGGING with WINDBG. Thread Stacks. Part 1

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Threads. Part 2. THREAD STACKS....

Author: Alejandro Campos Magencio Date: 08/11/2009

MANAGED DEBUGGING with WINDBG. Threads. Part 2

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Threads. Part 1. THREADS. Part...

Author: Alejandro Campos Magencio Date: 08/10/2009

MANAGED DEBUGGING with WINDBG. Threads. Part 1

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 3. THREADS....

Author: Alejandro Campos Magencio Date: 08/10/2009

MANAGED DEBUGGING with WINDBG. Call Stacks. Part 3

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 2. CALL...

Author: Alejandro Campos Magencio Date: 08/05/2009

MANAGED DEBUGGING with WINDBG. Call Stacks. Part 2

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Call Stacks. Part 1. CALL...

Author: Alejandro Campos Magencio Date: 08/05/2009

MANAGED DEBUGGING with WINDBG. Call Stacks. Part 1

Hi all,This post is a continuation of MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 3....

Author: Alejandro Campos Magencio Date: 07/24/2009

MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 3

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 2....

Author: Alejandro Campos Magencio Date: 07/20/2009

MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 2

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 1....

Author: Alejandro Campos Magencio Date: 07/20/2009

MANAGED DEBUGGING with WINDBG. Setting a Breakpoint. Part 1

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Preparing the Environment....

Author: Alejandro Campos Magencio Date: 07/15/2009

MANAGED DEBUGGING with WINDBG. Preparing the Environment

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Help. PREPARING THE...

Author: Alejandro Campos Magencio Date: 07/13/2009

MANAGED DEBUGGING with WINDBG. Help

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Prerequisites. HELP ยท I...

Author: Alejandro Campos Magencio Date: 07/07/2009

MANAGED DEBUGGING with WINDBG. Prerequisites

Hi all, This post is a continuation of MANAGED DEBUGGING with WINDBG. Introduction and Index....

Author: Alejandro Campos Magencio Date: 07/07/2009

MANAGED DEBUGGING with WINDBG. Introduction and Index

Hi all,The other day I posted the list of commands I use on WinDbg when debugging .NET issues: SOS...

Author: Alejandro Campos Magencio Date: 07/07/2009

SOS Cheat Sheet (.NET 2.0/3.0/3.5)

Hi all, This is the list of commands related to the SOS extension that I use when debugging with...

Author: Alejandro Campos Magencio Date: 06/30/2009

How to call InternetErrorDlg to deal with certificate issues on SSL connections (C#)

Hi all,The following C# sample shows how to call WinInet APIs to make an SSL request and deal with...

Author: Alejandro Campos Magencio Date: 06/23/2009

CertEnroll::CX509Enrollment::p_CreateRequest returns error 0x8009000b

Hi all, One of the issues we may find when trying the code in my post How to create a certificate...

Author: Alejandro Campos Magencio Date: 05/28/2009

CertEnroll::CX509Enrollment::p_CreateRequest returns error 0x80092012

Hi all, One of the issues we may find when trying the code in my post How to create a certificate...

Author: Alejandro Campos Magencio Date: 05/28/2009

CertEnroll::CX509Enrollment::p_CreateRequest returns error 0x800b0112

Hi all, One of the issues we may find when trying the code in my post How to create a certificate...

Author: Alejandro Campos Magencio Date: 05/28/2009

CertEnroll::CX509Enrollment::p_CreateRequest returns error 0x80070057

Hi all, One of the issues we may find when trying the code in my post How to create a certificate...

Author: Alejandro Campos Magencio Date: 05/28/2009

CertEnroll::CX509Enrollment::p_InstallResponse returns error 0x80095002

Hi all, One of the issues we may find when trying the code in my post How to create a certificate...

Author: Alejandro Campos Magencio Date: 05/28/2009

How to create a certificate request that uses key archival with CertEnroll (JavaScript)

Hi all, If you want to request certificates to a CA and make use of Key Archival feature, first you...

Author: Alejandro Campos Magencio Date: 05/27/2009

NdrClientCall2 fails with RPC_S_ALREADY_LISTENING when using pipes over ncalrpc

Hi all, I've been working on a Microsoft Remote Procedure Call (RPC) issue recently, where the first...

Author: Alejandro Campos Magencio Date: 05/27/2009

Default Provider Type for CspParameters has changed

Hi all, Before .NET Framework 3.5 SP1, the default provider type for CspParameters was PROV_RSA_FULL...

Author: Alejandro Campos Magencio Date: 04/30/2009

Do you need help right now?

Hi all, I've been quite busy lately and didn't find any free time to post anything or answer all the...

Author: Alejandro Campos Magencio Date: 04/30/2009

How to get information from a CRL (.NET)

Hi all, The following C# sample uses CryptoAPI to read the info of a CRL (Certificate Revocation...

Author: Alejandro Campos Magencio Date: 04/01/2009

How to create a self-signed certificate with CryptoAPI (C++)

Hi all, The following C++ sample shows how to use CertCreateSelfSignCertificate API to create a...

Author: Alejandro Campos Magencio Date: 03/16/2009

How to get LastLogon property for all users in a Domain (VBScript)

Hi all, The following VBScript sample retrieves all users in Active Directory that haven't ever...

Author: Alejandro Campos Magencio Date: 03/12/2009

How to create a certificate request with CertEnroll (ASP)

Hi all, The other day I posted a Javascript sample which shows how to use CertEnroll COM component...

Author: Alejandro Campos Magencio Date: 02/20/2009

Hi all The other day I posted How to view a certificate programatically (C#) which includes a C#...

Author: Alejandro Campos Magencio Date: 02/16/2009

How to view a certificate programatically (C#)

Hi all, The following C# sample shows a dialog to view a certificate and its properties. This is the...

Author: Alejandro Campos Magencio Date: 02/13/2009

CRL gets cached after we do an Online verification with X509Chain

Hi all, When we use X509Chain class to verify if our certificate is not revoked, we may experience...

Author: Alejandro Campos Magencio Date: 01/30/2009

How to create a certificate request with CertEnroll (JavaScript)

Hi all, The following Javascript sample shows how to use CertEnroll COM component to create a...

Author: Alejandro Campos Magencio Date: 01/28/2009

SHA-2 support on Windows XP

Hi all, If you try to use any SHA-2 algorithm (SHA-256, SHA-384 and SHA-512) on Windows XP, you may...

Author: Alejandro Campos Magencio Date: 01/23/2009

RSACryptoServiceProvider fails if we delete a user from the machine

Hi all, The other day a customer of mine had an interesting issue: a specific user runs their...

Author: Alejandro Campos Magencio Date: 12/23/2008

CryptSignHash fails with NTE_BAD_KEYSET

Hi all, The other day I worked on the following issue: a customer of mine had developed an ActiveX...

Author: Alejandro Campos Magencio Date: 12/23/2008

How to sign EXE files with an Authenticode certificate (part 2)

Hi all, welcome back, The other day a customer of mine was having an issue with SignTool.exe when...

Author: Alejandro Campos Magencio Date: 12/11/2008

How to change Windows Theme programmatically in XP

Hi all, You may know already that there is no i.e. COM object or .NET class we can use to change the...

Author: Alejandro Campos Magencio Date: 11/26/2008

How to change Windows Change Password dialog to reflect our custom password policy

Hi all, We get many requests from customers who have created a Password Filter and now would like to...

Author: Alejandro Campos Magencio Date: 11/11/2008

<Previous Next>