1# 2# Sample Amazon S3 connection configuration file, Version 2. 3# Version 2 will produce JGitV2 compatible encryption. 4# JGitV2 introduces more flexible control over cipher and key factory parameters. 5# JGitV2 hides actual cipher/key algorithms inside the encryption profile. 6# JGitV2 does not use any hard coded encryption parameters. 7# JGitV2 supports both PBE and Non-PBE algorithms. 8 9accesskey = AKIAIYWXB4ETREBRM123 10secretkey = ozCuIsqxsARoPe3FFyv3F/jiMSc3Yqay7B9UF234 11 12# In Version 2 "crypto.algorithm" is a reference to the encryption "profile". 13crypto.algorithm = custom 14crypto.version = 2 15password = secret 16 17# 18# Encryption profile is a collection of related properties, 19# all having common property root name, or prefix: 20# 21# Cipher algorithm. 22custom.algo = AES/CBC/PKCS5Padding 23# Key factory algorithm. 24custom.key.algo = PBKDF2WithHmacSHA512 25# Key size, bits. 26custom.key.size = 256 27# Number of key generation iterations. 28custom.key.iter = 50000 29# Salt used in key generation (hex value, white space OK). 30custom.key.salt = e2 55 89 67 8e 8d e8 4c 31 32# Same file can store multiple profiles. 33# Only one profile can be active at a time. 34# Active profile is selected via "crypto.algorithm" 35 36# 37# Here is how to create V1 encryption in V2 format: 38# 39# Cipher algorithm. 40legacy.algo = PBEWithHmacSHA1AndAES_128 41# Key factory algorithm. 42legacy.key.algo = PBEWithHmacSHA1AndAES_128 43# Key size, bits. 44legacy.key.size = 32 45# Number of key generation iterations. 46legacy.key.iter = 5000 47# Salt used in key generation (hex value, white space OK). 48legacy.key.salt = A40BC834D695F313 49