This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Hugo.Shi
Recipients Hugo.Shi, asksol, jnoller, mark.dickinson, peterhunt, r.david.murray
Date 2010-11-20.18:23:42
SpamBayes Score 4.6279114e-05
Marked as misclassified No
Message-id <1290277423.35.0.917744787994.issue7506@psf.upfronthosting.co.za>
In-reply-to
Content
I didn't run the unittests in windows, But I don't have the capability to do so at the moment.  I maybe able to do this on monday

I don't know why AuthenticationKey has security issues with being pickled, however in process.py


#                                                                                                                                                                                                 
# We subclass bytes to avoid accidental transmission of auth keys over network                                                                                                                    
#                                                                                                                                                                                                 

class AuthenticationString(bytes):
    def __reduce__(self):
        from .forking import Popen
        if not Popen.thread_is_spawning():
            raise TypeError(
                'Pickling an AuthenticationString object is '
                'disallowed for security reasons'
                )
        return AuthenticationString, (bytes(self),)
History
Date User Action Args
2010-11-20 18:23:43Hugo.Shisetrecipients: + Hugo.Shi, mark.dickinson, jnoller, r.david.murray, asksol, peterhunt
2010-11-20 18:23:43Hugo.Shisetmessageid: <1290277423.35.0.917744787994.issue7506@psf.upfronthosting.co.za>
2010-11-20 18:23:42Hugo.Shilinkissue7506 messages
2010-11-20 18:23:42Hugo.Shicreate