diff options
| author | Werner Koch <[email protected]> | 2001-07-31 15:21:58 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2001-07-31 15:21:58 +0000 | 
| commit | ec8c9d9494494656b2618ecfc43ec485dc931ec4 (patch) | |
| tree | 6b1c0a24c103fe809693d52ef7cdd1b4ddd36378 /complus | |
| parent | Added 2 examples (diff) | |
| download | gpgme-ec8c9d9494494656b2618ecfc43ec485dc931ec4.tar.gz gpgme-ec8c9d9494494656b2618ecfc43ec485dc931ec4.zip  | |
A couple of minor changes and a short README for Gpgcom
Diffstat (limited to '')
| -rw-r--r-- | complus/Makefile.am | 2 | ||||
| -rw-r--r-- | complus/README | 72 | 
2 files changed, 73 insertions, 1 deletions
diff --git a/complus/Makefile.am b/complus/Makefile.am index 45c3dc42..1965b9ff 100644 --- a/complus/Makefile.am +++ b/complus/Makefile.am @@ -24,7 +24,7 @@  # system with an install MIDL and run the command  #   midl /nocpp gpgcom.idl  # Sorry, there is no other way yet.   -EXTRA_DIST = gpgcom.idl gpgcom.tlb gpgcom.rc vbtest.html vbtest.vbs +EXTRA_DIST = gpgcom.idl gpgcom.tlb gpgcom.rc vbtest.html vbtest.vbs README  # No need to install this because we are cross-compiling anyway.  noinst_PROGRAMS = gpgcom tgpgcom  diff --git a/complus/README b/complus/README new file mode 100644 index 00000000..30fc30d9 --- /dev/null +++ b/complus/README @@ -0,0 +1,72 @@ +          How to install and use the Gpgcom Windows Component +          =================================================== +                              2001-07-31 + + +Installation should be pretty easy: +----------------------------------- + +  * Get and install the latest GnuPG binary for windows +    (ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32-1.0.6.zip) +   +  * Check that you have an untampered version of this package by +    comparing an MD5SUM against the one on the webpage or by checking +    the signature of the package using "gpg --verify".  See the +    webpacge for details. + +  * Because you are reading this file, you probably have already +    unpacked it distribution using a unzip utility :-). You should +    find these files: + +       README      - This file +       gpgcom.exe  - The Gpgcom server +       vbtest.html - A Test webpage  +       vbtest.vbs  - A VB script to be used with the cscript utility + +   * If you are updating Gpgcom, run the old Gpgcom like this: + +       c:\gnupg\gpgcom -UnregServer + +     (Replace c:\gnupg with the actually used path) + +   * Copy the file gpgcom.exe to a some location. C:\gnupg seems to be +     a good choice.  + +   * Register the component using this command: + +      c:\gnupg\gpgcom -RegServer + +   * Ready + +Testing the installation: +------------------------- + +  * Make sure that you have a working GnuPG (gpg.exe) and that at least +    one key is installed. + +  * Edit the vbtest.vbs script and replace "alice" in the line + +      gpg.AddRecipient "alice" + +   with a keyID or user name you have in your key ring. + +  * Run the test script: + +      cscript vbtest.vbs + +    and you should see a valid MIME message with the encrypted text. + +     +Using Gpgcom +------------  + +Gpgcom currently support only encryption but will be extended to the +full range of operations GnuPG provides. The 2 examples should goive +yopu a hint on how to use it.  We suggest that you always set armor to +true, so that the returned text is a string.  IF you don't use armor, +the "ciphertext" property will return an array with the binary +message. + + + +  | 
