Class WalkEncryption.JetS3tV2

java.lang.Object
org.eclipse.jgit.transport.WalkEncryption
org.eclipse.jgit.transport.WalkEncryption.JetS3tV2
Enclosing class:
WalkEncryption

static class WalkEncryption.JetS3tV2 extends WalkEncryption
JetS3t compatibility reference: EncryptionUtil.java

Note: EncryptionUtil is inadequate:

  • EncryptionUtil.isCipherAvailableForUse checks encryption only which "always works", but in JetS3t both encryption and decryption use non-IV aware algorithm parameters for all PBE specs, which breaks in case of AES
  • that means that only non-IV algorithms will work round trip in JetS3t, such as PBEWithMD5AndDES and PBEWithSHAAndTwofish-CBC
  • any AES based algorithms such as "PBE...With...And...AES" will not work, since they need proper IV setup