Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for 
change notification.

The "MasterPassphrase" page has been changed by GregStein:
http://wiki.apache.org/subversion/MasterPassphrase?action=diff&rev1=16&rev2=17

  
  To prevent dictionary attacks against the encrypted passwords, they will be 
prefixed with 4 bytes (32 bits) of random data.
  
- The encryption algorithm requires a 16 byte key (technically, it can also be 
24 or 32 bytes), and a 16 byte 
[[http://en.wikipedia.org/wiki/Initialization_vector|initialization vector]]. 
The crypt key will be constructed as a derivation of the master password (see 
[[http://en.wikipedia.org/wiki/PBKDF2|PBKDF2]]. PBKDF2 requires a 64 bit salt. 
The IV is a random 16 byte value. The salt and IV will be stored within the 
block of data encrypted by the master password. The master password decrypts 
that data block, uses the salt to generate the (de)crypt key, then pairs it 
with the IV to decrypt the target password.
+ The encryption algorithm requires a 16 byte key (technically, it can also be 
24 or 32 bytes), and a 16 byte 
[[http://en.wikipedia.org/wiki/Initialization_vector|initialization vector]]. 
The crypt key will be constructed as a derivation of the master password (see 
[[http://en.wikipedia.org/wiki/PBKDF2|PBKDF2]]). PBKDF2 requires a 64 bit salt. 
The IV is a random 16 byte value. The salt and IV will be stored within the 
block of data encrypted by the master password. The master password decrypts 
that data block, uses the salt to generate the (de)crypt key, then pairs it 
with the IV to decrypt the target password.
  
  == Benefits ==
   * Centralization:  Rather than spread repository credentials cross a variety 
of stores (on-disk, keystores, etc.), we return to a single, easy-to-manage 
storage solution:  the on-disk store in {{{~/.subversion/auth/}}}

Reply via email to