Bug#373169: [Pkg-gnutls-maint] Bug#373169: please set permissions on key output to 600

2008-05-16 Thread Daniel Kahn Gillmor
On Fri 2008-05-16 13:46:46 -0400, martin f krafft wrote: > Why not rely on a tempfile() method to create a tempfile with > restrictive permissions, which is then moved into place? This would make it impossible to send the output to stdout, though. I'd hate to lose that capability. Of course, fid

Bug#373169: [Pkg-gnutls-maint] Bug#373169: please set permissions on key output to 600

2008-05-16 Thread martin f krafft
also sprach Daniel Kahn Gillmor <[EMAIL PROTECTED]> [2008.05.16.1807 +0100]: > Better would be to call umask(S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) > before opening the output file (and set it back afterward, if you > care). Why not rely on a tempfile() method to create a tempfile with restrictive permi

Bug#373169: [Pkg-gnutls-maint] Bug#373169: please set permissions on key output to 600

2008-05-16 Thread Daniel Kahn Gillmor
On Fri 2008-05-16 08:44:35 -0400, martin f krafft wrote: > also sprach Simon Josefsson <[EMAIL PROTECTED]> [2008.05.16.1328 +0100]: >> Hi! I've fixed this problem upstream in: >> >> http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=1f808bbed485731d69a8c37509487632674c7d52 > > Looks

Bug#373169: please set permissions on key output to 600

2008-05-16 Thread martin f krafft
also sprach Simon Josefsson <[EMAIL PROTECTED]> [2008.05.16.1328 +0100]: > Hi! I've fixed this problem upstream in: > > http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=1f808bbed485731d69a8c37509487632674c7d52 Looks good. I am glad you chmod() before dumping the content. :) --

Bug#373169: please set permissions on key output to 600

2008-05-16 Thread Simon Josefsson
tag 373169 patch upstream thanks Hi! I've fixed this problem upstream in: http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=1f808bbed485731d69a8c37509487632674c7d52 It will be part of the upcoming 2.4.x branch. Thanks, /Simon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

Bug#373169: please set permissions on key output to 600

2006-06-13 Thread martin f krafft
Package: gnutls-bin Version: 1.3.5-1.1 Severity: wishlist I think certtool should chmod() key files it writes to 600 by default. Thanks, -- System Information: Debian Release: testing/unstable APT prefers stable APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 'experimen