Skip Menu |

This queue is for tickets about the RPC-Serialized CPAN distribution.

Report information
The Basics
Id: 65527
Status: resolved
Priority: 0/
Queue: RPC-Serialized

People
Owner: Nobody in particular
Requestors: dominic.hargreaves [...] oucs.ox.ac.uk
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.0605
Fixed in: (no value)



Subject: Suppress sensitive arguments in log
Date: Mon, 7 Feb 2011 13:14:26 +0000
To: bug-RPC-Serialized [...] rt.cpan.org
From: Dominic Hargreaves <dominic.hargreaves [...] oucs.ox.ac.uk>
Hello, You might like to include the attached patch, which allows the user to configure named arguments to suppress from the log (an obvious use case being passwords). There may be nicer ways to go about the data type mangling, but this worked for us. Cheers, Dominic. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 197b

Message body not shown because it is not plain text.

Hi Dom, On Mon Feb 07 08:14:36 2011, dominic.hargreaves@oucs.ox.ac.uk wrote: Show quoted text
> You might like to include the attached patch, which allows the user > to configure named arguments to suppress from the log (an obvious > use case being passwords).
Many thanks for the feature patch. I've implemented this and shipped v1.110470 to CPAN, with one modification: The config parameter is a Hashref of Call => [args to filter] so that one can specify the args to filter on a per-Handler basis. I felt this would be safer because some Handlers might not be interpreting the args as a Hash and have coincidental arg values removed. Hope that makes sense :) -- regards, oliver.
Subject: Re: [rt.cpan.org #65527] Suppress sensitive arguments in log
Date: Thu, 14 Apr 2011 14:18:26 +0100
To: Oliver Gorwits via RT <bug-RPC-Serialized [...] rt.cpan.org>
From: Dominic Hargreaves <dominic.hargreaves [...] oucs.ox.ac.uk>
On Wed, Feb 16, 2011 at 05:22:05PM -0500, Oliver Gorwits via RT wrote: Show quoted text
> On Mon Feb 07 08:14:36 2011, dominic.hargreaves@oucs.ox.ac.uk wrote:
> > You might like to include the attached patch, which allows the user > > to configure named arguments to suppress from the log (an obvious > > use case being passwords).
> > Many thanks for the feature patch. I've implemented this and shipped v1.110470 to CPAN, > with one modification: > > The config parameter is a Hashref of Call => [args to filter] so that one can specify the args > to filter on a per-Handler basis. I felt this would be safer because some Handlers might not > be interpreting the args as a Hash and have coincidental arg values removed. Hope that > makes sense :)
Great, thanks! Dominic. -- Dominic Hargreaves, Systems Development and Support Team Computing Services, University of Oxford
Download signature.asc
application/pgp-signature 198b

Message body not shown because it is not plain text.