Sign and Enveloped PKCS7 container

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Sign and Enveloped PKCS7 container

Anton D. Kachalov
I have some trouble with Sign and Enveloped PKCS7. Decrypted file differ
to original.
Attached archive shows it up. Unpack and run 'make test'

My result:
[mouse@mouse sign_and_enveloped]$ make test
cc  -Wall -O2 -fomit-frame-pointer
-DPACKAGE_BUGREPORT="\"[hidden email]\"" -c decryptverify.c
cc -o decryptverify decryptverify.o -lssl -lcrypto
strip --remove-section .comment decryptverify
cc  -Wall -O2 -fomit-frame-pointer
-DPACKAGE_BUGREPORT="\"[hidden email]\"" -c signencrypt.c
cc -o signencrypt signencrypt.o -lssl -lcrypto
strip --remove-section .comment signencrypt
Sign and Encrypt done
Decrypt and Verify done
--- decryptverify.c     2005-12-02 21:50:58 +0300
+++ file.c      2005-12-02 22:01:18 +0300
@@ -138,5 +138,4 @@
-    return 0;
\ No newline at end of file



sign_and_enveloped.tar.bz2 (11K) Download Attachment