lib/keystores/jks/key_protector.rb in keystores-0.1.0 vs lib/keystores/jks/key_protector.rb in keystores-0.2.0

- old
+ new

@@ -46,10 +46,11 @@ # Step 3 (XOR operation) yields the plaintext key. # # Then concatenate the password with the recovered key, and compare with the # last length(digest(p, P)) bytes of R. If they match, the recovered key is # indeed the same key as the original key. - +# +# TODO, implement this as an OpenSSL PBE Cipher module Keystores module Jks class KeyProtector SALT_LEN = 20 DIGEST_LEN = 20