Ask a Question related to UNIX Programming, Design and Development.
-
J Krugman #1
Sensitive data in scripts
This question is so naive I am almost embarrassed to post it. I
want to write a Perl script for myself that uses several sensitive
passwords. If someone broke into my account it would be bad, but
if someone read this script, they could easily clean me out
financially. What are ways that programmers use to protect sensitive
data that is required for a program to run?
Thanks!
-Jill
J Krugman Guest
-
SQL 92 - case sensitive
Hi, I would like to know if the use of " " in the tables creation in SQL or in the fields definition, is a specification of SQL 92 ? Where... -
question: how to preload data and excute table creation scripts
On Wed, Dec 08, 2004 at 08:58:49AM -0800, Mark wrote: Create a file with the SQL statements you'd like to run. There are several ways to get... -
space sensitive?
Is PHP space sensitive?? ________________________________________________________________ The best thing to hit the internet in years - Juno... -
Case Sensitive
I did the following: 1. create table amit (name varchar(10) not null Primary key) 2. insert into amit values ('a') 3. select * from amit 4.... -
Is varaible name case sensitive?
Hi all, I have wrote a ASP page: ********************************************* <%@ LANGUAGE="JSCRIPT" %> <% var pricelist = "a"; ... -
Barry Margolin #2
Re: Sensitive data in scripts
In article <bfmiso$i49$1@reader1.panix.com>,
J Krugman <jill_krugman@yahoo.com> wrote:Make the user type the password when they run the program.>This question is so naive I am almost embarrassed to post it. I
>want to write a Perl script for myself that uses several sensitive
>passwords. If someone broke into my account it would be bad, but
>if someone read this script, they could easily clean me out
>financially. What are ways that programmers use to protect sensitive
>data that is required for a program to run?
If the program needs several passwords, and you don't want him to have to
enter them all, you could put them in an encrypted file, and just have him
enter the key to decrypt that file.
--
Barry Margolin, [email]barry.margolin@level3.com[/email]
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
Barry Margolin Guest
-
Marc Rochkind #3
Re: Sensitive data in scripts
On Wed, 23 Jul 2003 18:07:20 +0000 (UTC), J Krugman
<jill_krugman@yahoo.com> wrote:
>
>
> This question is so naive I am almost embarrassed to post it. I
> want to write a Perl script for myself that uses several sensitive
> passwords. If someone broke into my account it would be bad, but
> if someone read this script, they could easily clean me out
> financially. What are ways that programmers use to protect sensitive
> data that is required for a program to run?
>
> Thanks!
>
> -Jill
>
>
There's really nothing at all you can do. All of the passwords will have to
be in the clear. But, don't worry, there's really nothing at all that can
go wrong, so go ahead and put all your money into these accounts.
If you like, I'd be happy to check your work after all the money is
deposited to make sure you've done it right. Please email me the URLs and
logins for the accounts.
[Just kidding! The other respondents have you on the right track...]
--Marc
Marc Rochkind Guest
-
David Schwartz #4
ARe: Sensitive data in scripts
"J Krugman" <jill_krugman@yahoo.com> wrote in message
news:bfmiso$i49$1@reader1.panix.com...
I wouldn't advise any approach other than splitting the passwords. Have> This question is so naive I am almost embarrassed to post it. I
> want to write a Perl script for myself that uses several sensitive
> passwords. If someone broke into my account it would be bad, but
> if someone read this script, they could easily clean me out
> financially. What are ways that programmers use to protect sensitive
> data that is required for a program to run?
on password that the script uses that only has permission to do what the
script is allowed to do. The other password, that can clean you out
financially, goes in your brain only.
Any other mechanism requires a high level of expertise to implement
reliably.
DS
David Schwartz Guest
-
Ralf Fassel #5
Re: Sensitive data in scripts
* [email]phil-news-nospam@ipal.net[/email]
| OpenSSH has a way to deal with that in a fair compromise. You start
| running a special daemon, which can decrypted the encrypted private
| keys (you would do this with passwords if you emulate the same
| thing, as the private keys are as exposing as passwords).
I assume you're talking about ssh-agent here?
man ssh-agent:
A unix-domain socket is created (/tmp/ssh-XXXXXXXX/agent.<pid>,) and
the name of this socket is stored in the SSH_AUTH_SOCK environment
variable. The socket is made accessible only to the current user.
This method is easily abused by root or another instance of the same
user.
So, if one is concerned about root misusing its powers, or a breakin
while I'm away from keyboard, this might not be a solution.
R'
Ralf Fassel Guest
-
kynn #6
Re: Sensitive data in scripts
In <TmATa.352$0z4.287@news.level3.com> Barry Margolin <barry.margolin@level3.com> writes:
>In article <bfmiso$i49$1@reader1.panix.com>,
>J Krugman <jill_krugman@yahoo.com> wrote:>>This question is so naive I am almost embarrassed to post it. I
>>want to write a Perl script for myself that uses several sensitive
>>passwords. If someone broke into my account it would be bad, but
>>if someone read this script, they could easily clean me out
>>financially. What are ways that programmers use to protect sensitive
>>data that is required for a program to run?>Make the user type the password when they run the program.This is the part I need help with. Can you suggest any software/libraries>If the program needs several passwords, and you don't want him to have to
>enter them all, you could put them in an encrypted file, and just have him
>enter the key to decrypt that file.
that I can use to program this password-based encryption and decryption?
TIA,
-Jill
kynn Guest
-
Sam Zoghaib #7
Re: Sensitive data in scripts
kynn wrote in article <bfojoo$930$1@reader1.panix.com> on Thursday 24 July
2003 14:34 in comp.unix.programmer:
There's a libcrypt-gpg-perl library which provides an interface to GnuPG for> This is the part I need help with. Can you suggest any software/libraries
> that I can use to program this password-based encryption and decryption?
>
perl.
Sam
--
"If sharing a thing in no way diminishes it, it is not rightly owned if it is
not shared."
- St Augustine
Sam Zoghaib Guest
-
J Krugman #8
Re: Sensitive data in scripts
In <bfnlld0mf5@enews3.newsguy.com> [email]phil-news-nospam@ipal.net[/email] writes:
How does one control swapping from within a program?>A command is used
>to give the daemon the text key (passphrase) to decrypt the key and
>it then stores the key in its virtual memory in a way that is not
>supposed to be swapped out to hard swap space.
J Krugman Guest



Reply With Quote

