Re: libgcrypt again: error "conflicting use" in gcry_pk_encrypt

2005-08-05 Thread Claudia Reuter
ld S-Expression.\n%s\n", gpg_strerror( rc )); rc = gcry_pk_encrypt(&encSessionKey, sexp, pKey); if(rc) { gcry_sexp_release(sexp); throw GeneralError("Unable to encrypt session key.\n%s\n", gpg_strerror( rc )); } return; } greetings Claudia Reuter wr

libgcrypt again: error "conflicting use" in gcry_pk_encrypt

2005-08-04 Thread Claudia Reuter
hi everybody. so now I try to create a session key to encrypt my text files. this seems to work. the session key must of course be encrypted with some public key. Now an error "conflicting use" occurs in the gcry_pk_encrypt function. Maybe anyone could tell me what's wrong. gcry_md_open( &Ha

Problem with gcry_pk_decrypt (libgcrypt)

2005-08-03 Thread Claudia Reuter
Hi @ll. I like to encrypt and decrypt large files e.g. pdf files. I wrote some code based on libgcrypt. I tested it with .txt files. Encryption seems to work, but gcry_pk_decrypt works only, if there's a single line in the txt file. If the txt file contains more than one line of text, the result i

libgcrypt & passphrase

2005-07-27 Thread Claudia Reuter
Hi @ll. I wrote an application based on libgcrypt, which generates a key pair. Similar to GnuPG I like to encrypt the secrete key with a passphrase. libgcrypt seems not to implement a function to encrypt a key with a passphrase or am I wrong? Any suggestions would be appreciated. yours Claudia _

libgcrypt manuals/tutorials

2005-07-26 Thread Claudia Reuter
Hi @ll. I look for manuals/tutorials about gnu libgcrypt; I'm exspially interessted in the asymetric cryptography part. Could anyone help me with that? yours Claudia ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/list