[Bug 1202604] Review Request: python-sscg - Self-signed Certificate Generator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1202604



--- Comment #9 from Stephen Gallagher <sgallagh@xxxxxxxxxx> ---
(In reply to Zbigniew Jędrzejewski-Szmek from comment #6)
> It seems that tempfile.NamedTemporaryFile would do the right thing without
> requiring all this manual cleanup:
> 

The reason I'm using the tempfile.mkstemp() implementation is this:

"Creates a temporary file in the most secure manner possible. There are no race
conditions in the file’s creation, assuming that the platform properly
implements the os.O_EXCL flag for os.open()."

I very much do not want to worry about a race when creating a certificate,
particularly a CA certificate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]