Re: [Tutor] Need help with encoder & decryption keys

2008-03-03 Thread Andreas Kostyrka
Well, actually, ssh can also protect private keys with a cryptographic pass phrase. But this is often not what is wanted as it implies that the user needs to provide the pass phrase every time it is used. (Well, that's not the complete truth, man ssh-agent, but that's completely different thing

Re: [Tutor] Need help with encoder & decryption keys

2008-03-03 Thread Andreas Kostyrka
And if it's a string constant, in many cases running strings (Unix program) on the pyc file will reveal it too. All this basically turns down to the problem, that it's hard to embed an encryption key in a program, so that it's not possible to extract it. Notice the the current crop of HDDVD/Blu

Re: [Tutor] Need help with encoder & decryption keys

2008-03-01 Thread Chris Fuller
On Friday 29 February 2008 16:30, Trey Keown wrote: > Hey all, > Been away for a while. So, I'm in the process of making a program for > encrypting and decrypting strings of text. And I was wondering how it > would be possible to perhaps keep keys in a .pyc file, and keep them > from being isolat

Re: [Tutor] Need help with encoder & decryption keys

2008-03-01 Thread Kent Johnson
Trey Keown wrote: > mmm... So, what would be an effective way to hide the data's key? > I'm kind of new to the whole encryption scene, although I've had some > experience with it whilst working on homebrew software on gaming > platforms. I don't know, I'm not a crypto expert. I guess it depends p

Re: [Tutor] Need help with encoder & decryption keys

2008-02-29 Thread Kent Johnson
Trey Keown wrote: > is it > possible to decompile things within a .pyc file? Yes, it is possible. There is a commercial service that will do this, for older versions of Python at least. To figure out a secret key kept in a .pyc file it might be enough to disassemble functions in the module; tha

Re: [Tutor] Need help with encoder & decryption keys

2008-02-29 Thread Alan Gauld
"Trey Keown" <[EMAIL PROTECTED]> wrote > from being isolated, and messages being intercepted. So... is it > possible to decompile things within a .pyc file? Yes its definitely possible and in fact not even difficult - the tools come with Python. Do not do that if you want real security. Use a s

[Tutor] Need help with encoder & decryption keys

2008-02-29 Thread Trey Keown
Hey all, Been away for a while. So, I'm in the process of making a program for encrypting and decrypting strings of text. And I was wondering how it would be possible to perhaps keep keys in a .pyc file, and keep them from being isolated, and messages being intercepted. So... is it possible to de