https://bugzilla.mindrot.org/show_bug.cgi?id=2561

Damien Miller <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2804|0                           |1
        is obsolete|                            |
   Attachment #2805|                            |ok?([email protected])
              Flags|                            |

--- Comment #3 from Damien Miller <[email protected]> ---
Created attachment 2805
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2805&action=edit
overwrite zero-length key files, move keys into place atomically

Darren correctly points out that the previous diff could clobber valid
keys under some circumstances.

This diff is much less aggressive: it only overwrites zero-length
private keys, and uses rename() to atomically move finished private
keys into position so there should be fewer circumstances under which
it leaves partial keys at valid keys path names.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to