Installation

The normal GT.M installation script (invoked by sh ./configure executed as root or with sudo sh ./configure in the directory in which you have unpacked the GT.M distribution) does not automatically install GT.M with the reference implementation plug-in. You need to follow the compilation instructions in the Plugin Architecture and Interface section

If the encryption libraries are not part of the automatic search path on your system, you need to take action specific to your operating system and directory structure to make them accessible. For example, you may need to set one of the environment variables $LD_LIBRARY_PATH or $LIBPATH, for example: export LIBPATH="/lib:/usr/lib:/usr/local/lib" and/or run the ldconfig command.

You must also implement appropriate key management, including ensuring that users have appropriate values for $gtmcrypt_config.

The structure of the $gtm_dist/plugin directory on Linux x86 after plugin compilation is as follows:

plugin/
|-- gpgagent.tab
|-- gtmcrypt
|   |-- Makefile
|   |-- README
|   |-- encrypt_sign_db_key.sh
|   |-- gen_keypair.sh
|   |-- gen_sym_hash.sh
|   |-- gen_sym_key.sh
|   |-- gtm_tls_impl.c
|   |-- gtm_tls_impl.h
|   |-- gtm_tls_interface.h
|   |-- gtmcrypt_dbk_ref.c
|   |-- gtmcrypt_dbk_ref.h
|   |-- gtmcrypt_interface.h
|   |-- gtmcrypt_pk_ref.c
|   |-- gtmcrypt_pk_ref.h
|   |-- gtmcrypt_ref.c
|   |-- gtmcrypt_ref.h
|   |-- gtmcrypt_sym_ref.c
|   |-- gtmcrypt_sym_ref.h
|   |-- gtmcrypt_util.c
|   |-- gtmcrypt_util.h
|   |-- import_and_sign_key.sh
|   |-- maskpass
|   |-- maskpass.c
|   |-- pinentry-gtm.sh
|   |-- pinentry.m
|   |-- show_install_config.sh
|   `-- source.tar
|-- libgtmcrypt_gcrypt_AES256CFB.so
|-- libgtmcrypt_openssl_AES256CFB.so
|-- libgtmcrypt.so -> ./libgtmcrypt_gcrypt_AES256CFB.so
|-- o
`-- r