See also Shared Secrets As of 2014-07-29, this is a tool for developers only. You need to write code for the external system to access the information. See developer documentation at User Encryption. The system is designed so that encryption can later be implemented for data in Tiki (files, tracker items, etc.)
User Encryption
About User EncryptionWhen linking multiple systems together, it is often required to have a username and a password for the target system available, in order to login. The other system can be an external database, a web service, etc. User Encryption enables secure storage of such external log-in credentials. The decryption key is not stored by Tiki, and it is only available when the user is logged in. Notes:
Password DomainsEach linked system makes up a "password domain". Multiple users can log in to a domain. A password domain has a name. The name must be unique. The interface to a linked system, uses the password domain name to look-up a user's credentials for the system. The module "Domain Password", prompts the user for a password.
Configuring Password domainsConfigure in the Admin / Security panel. Make sure OpenSSL (Tiki18+) / Mcrypt (Tiki pre-18) is available Before you enable "User Encryption", make sure that the OpenSSL (Tiki18+) / Mcrypt (Tiki pre-18) PHP extension is available. It is required to encrypt the passwords securely.
Specifying domain credentialsThe module "Domain Password" allows users to specify a password (and possibly a username) for a domain. Only defined password domains can be specified. By default the currently logged in Tiki username will be used. By setting "Use current user" = "n", the user must also specify a username. The view mode is displayed initially. The user can choose to edit the credentials, if the module configuration allows it.
If the password domain is misconfigured, an error message is displayed.
If the user click edit, the credentials can be edited.
Code integration |