The error indicates that one of the keys is invalid. I can't think of any 
reason why you'd only get that error under the debugger, and I'm guessing 
that you were using different key files. 

If you're sure that's not the problem, send me the key files and I'll take
a look.

On Sat, May 17, 2003 at 08:43:18AM +0200, Frederic Vicher wrote:
> As I understand your answer, it's not a feature.
> Here's the more complete report:
> 
> Screen copy:
> 
> -----------------------------------------------------------------------
> Private key file: private.h
> 
> Public key file: public.h
> 
> Random Seed: 5435153
> 
> Message: it's ok
> 
> 
> CryptoPP::Exception caught: BER decode error
> -----------------------------------------------------------------------
> 
> I'm using VC++ 6.0 Enterprise Edition.
> 
> System Information report written at: 17/05/2003 08:39:09
> [System Summary]
> 
> Item    Value
> OS Name Microsoft Windows 2000 Professional
> Version 5.0.2195  Build 2195
> OS Manufacturer Microsoft Corporation
> System Name     CED-W2000TESTS
> System Manufacturer     Hewlett-Packard
> System Model    HP Vectra
> System Type     X86-based PC
> Processor       x86 Family 6 Model 7 Stepping 2 GenuineIntel ~450 Mhz
> BIOS Version    PhoenixBIOS 4.0 Release 6.0.K
> Windows Directory       C:\WINNT
> System Directory        C:\WINNT\System32
> Boot Device     \Device\Harddisk0\Partition1
> Locale  United States
> User Name       CED-W2000TESTS\Fr�d�ric Vicher
> Time Zone       Romance Daylight Time
> Total Physical Memory   65 008 KB
> Available Physical Memory       5 088 KB
> Total Virtual Memory    214 936 KB
> Available Virtual Memory        19 140 KB
> Page File Space 149 928 KB
> Page File       C:\pagefile.sys
> 
> Do you have any idea? Do you need more info?
> 
> Thanks,
>         Frederic
> 
> At 20:55 15/05/2003 -0400, you wrote:
> >What exception are you getting? Please follow instructions posted at
> >http://www.cryptopp.com when reporting problems or asking for help.
> >
> >On Thu, May 15, 2003 at 08:43:33PM +0200, Frederic Vicher wrote:
> >> Hello,
> >>
> >> I am trying to debug the RSA crypting and decrypting functions using
> >> cryptest r to understand how to use this part of the library.
> >> When I run the program outside of VC++, no problem. If I trace remotely
> >> using WinDbg, no problem.
> >> But if I trace using VC++, I get an exception.
> >> Is it a known anti-debug trick or a bug?
> >> And is there a way to avoid this exception? Debugging my program would be
> >> more convenient using VC++ when the code will be included into it.
> >>
> >> Note: I use VC++ 6.0
> >>
> >> Thanks,
> >>         Frederic

Reply via email to