You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jgit-s3-connection-v-2.properties 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. accesskey = AKIAIYWXB4ETREBRM123
  9. secretkey = ozCuIsqxsARoPe3FFyv3F/jiMSc3Yqay7B9UF234
  10. # In Version 2 "crypto.algorithm" is a reference to the encryption "profile".
  11. crypto.algorithm = custom
  12. crypto.version = 2
  13. password = secret
  14. #
  15. # Encryption profile is a collection of related properties,
  16. # all having common property root name, or prefix:
  17. #
  18. # Cipher algorithm.
  19. custom.algo = AES/CBC/PKCS5Padding
  20. # Key factory algorithm.
  21. custom.key.algo = PBKDF2WithHmacSHA512
  22. # Key size, bits.
  23. custom.key.size = 256
  24. # Number of key generation iterations.
  25. custom.key.iter = 50000
  26. # Salt used in key generation (hex value, white space OK).
  27. custom.key.salt = e2 55 89 67 8e 8d e8 4c
  28. # Same file can store multiple profiles.
  29. # Only one profile can be active at a time.
  30. # Active profile is selected via "crypto.algorithm"
  31. #
  32. # Here is how to create V1 encryption in V2 format:
  33. #
  34. # Cipher algorithm.
  35. legacy.algo = PBEWithHmacSHA1AndAES_128
  36. # Key factory algorithm.
  37. legacy.key.algo = PBEWithHmacSHA1AndAES_128
  38. # Key size, bits.
  39. legacy.key.size = 32
  40. # Number of key generation iterations.
  41. legacy.key.iter = 5000
  42. # Salt used in key generation (hex value, white space OK).
  43. legacy.key.salt = A40BC834D695F313