rfc:unified-crypto-source

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
rfc:unified-crypto-source [2014/02/13 10:56]
yohgaki
rfc:unified-crypto-source [2014/02/13 11:06] (current)
yohgaki
Line 13: Line 13:
 ===== Proposal ===== ===== Proposal =====
  
-Introduce 2 new INIs for UNIX like OSes.+Introduce 2 new INIs for all platforms.
  
-Pseudo RNG - non-blocking. ​INI_PER_DIR +Pseudo RNG - non-blocking. ​INI_PERDIR 
-  random.entropy_strong_source= ​      ​(/​dev/​(u|a)random etc. Default: ​/​dev/​urandom)+  random.entropy_strong_source= ​      ​(/​dev/​(u|a)random etc. Default: ​depends on platform)
  
-RNG - may block. ​INI_PER_DIR +RNG - may block. ​INI_PERDIR 
-  random.entropy_crypto_source= ​       (/​dev/​random etc. Default: ​/dev/random)+  random.entropy_crypto_source= ​       (/​dev/​random etc. Default: ​depends on platform)
  
-Under windows, different values may be set.+Appropriate default for the platform is detected during build time.
  
 session.entropy_file uses /​dev/​*random. It share the random.entropy_strong_source if it is empty. (Like default_charset with Default Char Encoding RFC) session.entropy_file uses /​dev/​*random. It share the random.entropy_strong_source if it is empty. (Like default_charset with Default Char Encoding RFC)
Line 46: Line 46:
   * hardcoded default values   * hardcoded default values
  
-None+None, but appropriate values will bet set for the platform.
  
   * php.ini-development values   * php.ini-development values
   * php.ini-production values   * php.ini-production values
  
-  random.entropy_strong_source=/​dev/​urandom (INI_PER_DIR+  ​;random.entropy_strong_source="/​dev/​urandom" ​(INI_PERDIR)  
-  random.entropy_crypto_source=/​dev/​random (INI_PER_DIR)+  ​;random.entropy_crypto_source="/dev/random" ​(INI_PERDIR) 
 + 
 +Note: INI lines are commented out.
  
 Under Windows, different values may be set. Under Windows, different values may be set.
rfc/unified-crypto-source.txt · Last modified: 2014/02/13 11:06 by yohgaki