Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^6: RFC: SecureString - Obfuscated / masked strings exept when you need them (interpolation)

by duelafn (Vicar)
on Jul 20, 2011 at 18:34 UTC ( #915708=note: print w/replies, xml ) Need Help??


in reply to Re^5: RFC: SecureString - Obfuscated / masked strings exept when you need them (interpolation)
in thread RFC: SecureString - Obfuscated / masked strings exept when you need them

Hm. You know, it can in fact do that (overloading both '""' and '.' does what one would want). The new object would need to store the left and right concatenated objects (potentially creating deep trees), but that can also solve the problem where a string is constructed then used twice. Nice!

Good Day,
    Dean

  • Comment on Re^6: RFC: SecureString - Obfuscated / masked strings exept when you need them (interpolation)

Replies are listed 'Best First'.
Re^7: RFC: SecureString - Obfuscated / masked strings exept when you need them (interpolation)
by tye (Sage) on Jul 20, 2011 at 18:45 UTC
    potentially creating deep trees

    I think just a flat list of values, at least one of which is a Text::Hidden object, would be sufficient. :)

    - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://915708]
help
Chatterbox?
[oiskuu]: well, run a strace and see what the getlogin does for you.... As I said. SELinux probably has those security labels. But not regular linux.
[tye]: for example, read https://unix. stackexchange.com/ questions/146138/ loginuid-should-be -allowed-to-change -or-not-mutable-or -not
[tye]: I'm not using SELinux and it certainly appears to disagree with you. shrug
[tye]: Since you brought up /proc, oiskuu, I didn't see you respond to my suggestion of 'loginuid'. Does your /proc not have such?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-06-23 19:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.