You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

WhereScape RED stores the encrypted profile values that can be used by the executor as required. 

The encryption-util is available in a Standalone folder.

  • encryption: java -jar encryption-util.jar encrypt --encryption-type <string> --salt <string> --secret <string> --string-to-be-encrypted <string>
    • output: A Base64 encoded encrypted string.
  • decryption: java -jar encryption-util.jar decrypt --decryption-type <string> --salt <string> --secret <string> --string-to-be-decrypted <string>
    • output: A plain text string after decryption. 
DescriptionArgument long name
This is a required field that decides the type of encryption
Supported encryption types are wsenc and DPAPI.
--encryption-type

A salt is to be used to encrypt the provided string

This file is required for wsenc encryption type and we do not need this field for DPAPI.

--salt

A secret to be used along with salt to encrypt the provided string

This file is required for wsenc encryption type and we don't need this field for DPAPI.

--secret

The string needs to be encrypted using a selected encryption type.

This file is required for the encryption command.

--string-to-be-encrypted

The string needs to be encrypted using the selected encryption type.

This file is required for the decryption command.

--string-to-be-decrypted

encryption-util supports environment variables, which should be set in the system and follow this pattern WSENV~RED_META_SECRET~ 
This notifies the app to look for the environment variable RED_META_SECRET for the value and RED_META_SECRET should be set in the system's environment variables.
 

encryption-util can only decrypt WSENC passwords that are encrypted earlier by encryption-util itself.

DPAPI is supported only on Windows.



  • No labels