Is there a way to seek with a BIO_ cipher?
I try BIO_seek and BIO_reset but any reads after this are incorrect
anyone have simple code for encrypting/decrypting a file with a specified
key using a specified cipher ?
i'm getting really weird bugs with my code, i can provide a properly
encrypted file to test with
found yet another weird peculiarity...
In my full application, i need the following lines after both
encrypt_file() and decrypt_read(), otherwise i get garbage data:
char err[1024];
ERR_error_string( ERR_get_error(), err );
printf( "%s\n", err );
And err is 0... but without those three lines the
yes, i fixed that.. it's not causing the problem..
Seriously - if i just use des instead of des_ede3 in works. that simple.
has got to be a bug
On Fri, Aug 16, 2013 at 10:49 AM, Salz, Rich wrote:
> **Ø **Some serious bug?
>
> ** **
>
> Yes, but in your code:
>
> **Ø **char new_filena
If I simply replace "EVP_des_ede3_cbc" with "EVP_des_cbc" ... then it works
okay
Some serious bug?
On Fri, Aug 16, 2013 at 10:17 AM, Ztatik Light wrote:
> same result - did you actually try it?
>
> BIO_read is producing this error:
>
&g
>
>
>
> On 16 August 2013 03:34, Ztatik Light wrote:
>
>> ps, yes, line 29 is a mistake and should read: char new_filename[strlen(
>> filename ) + 5];
>>
>> But even with that fix i get the same results
>>
>>
>> On Fri, Aug 16, 2013 at 2:2
So, I'm having a really weird issue... i'm trying simple file
encryption/decryption with BIO_*, but if the encrypted file is in a
subdirectory.. i get garbage data,
I'll post the code i'm using, with a brief elaboration on how i'm using it
and what behaviour i'm getting:
/
ps, yes, line 29 is a mistake and should read: char new_filename[strlen(
filename ) + 5];
But even with that fix i get the same results
On Fri, Aug 16, 2013 at 2:27 AM, Ztatik Light wrote:
> maybe not - still confused
>
>
> On Fri, Aug 16, 2013 at 2:21 AM, Ztatik Light wrote:
&g
>From stackoverflow:
"These hash values will comes from the Subject DN of each CA certificate
(since the aim is to look for a CA certificate with the subject matching
the issuer of the certificate to verify). You can either usec_rehash as
documented, or get the Subject DN's hash using openssl x509
maybe not - still confused
On Fri, Aug 16, 2013 at 2:21 AM, Ztatik Light wrote:
> strange i think it has something to do with me using "rb" and "wb" instead
> of "r" and "w"...
>
>
> On Fri, Aug 16, 2013 at 2:14 AM, Ztatik Light wrote:
strange i think it has something to do with me using "rb" and "wb" instead
of "r" and "w"...
On Fri, Aug 16, 2013 at 2:14 AM, Ztatik Light wrote:
> So, I'm having a really weird issue... i'm trying simple file
> encryption/decryption with
11 matches
Mail list logo