Commit 2a2ec1c066ae6c7e7a22ef93a8ca02ac94f81cc1

Authored by Jay Berkenbilt
1 parent 564dc036

Manual: correct statement about empty owner passwords

Showing 1 changed file with 7 additions and 7 deletions
manual/encryption.rst
... ... @@ -383,13 +383,13 @@ reader treats the password as the owner password, using it to recover
383 383 the user password, and then uses the user password to retrieve the
384 384 encryption key. This is why creating a file with the same user
385 385 password and owner password with ``V`` < 5 results in a file that some
386   -readers will never allow you to open as the owner. Typically when a
387   -reader encounters a file with ``V`` < 5, it will first attempt to
388   -treat the empty string as a user password. If that works, the file is
389   -encrypted but not password-protected. If it doesn't work, then a
390   -password prompt is given. Creating a file with an empty owner password
391   -is like creating a file with the same owner and user password: there
392   -is no way to open the file as an owner.
  386 +readers will never allow you to open as the owner. When an empty owner
  387 +password is given at file creation, the user password is used as both
  388 +the user and owner password. Typically when a reader encounters a file
  389 +with ``V`` < 5, it will first attempt to treat the empty string as a
  390 +user password. If that works, the file is encrypted but not
  391 +password-protected. If it doesn't work, then a password prompt is
  392 +given.
393 393  
394 394 For ``V`` ≥ 5, the main encryption key is independently encrypted
395 395 using the user password and the owner password. There is no way to
... ...