Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Encrypting swap (OS-dependent)

by rkrieger (Friar)
on Jan 21, 2007 at 17:01 UTC ( [id://595778]=note: print w/replies, xml ) Need Help??


in reply to Can I do secure memory management in Perl scripts for cryptographic applications?

If you're worried about what ends up in swap, you may want to check whether your OS offers functionality like the following:

In OpenBSD, the sysctl(8) command allows you to instruct the OS to encrypt the pages to go to swap. See the man pages for more information on that feature.
Resulting in the (shell) command of:
$ sudo sysctl -w vm.swapencrypt.enable=1 vm.swapencrypt.enable: 0 -> 1
Granted, it relies on your OS' feature set and it's not done in Perl. Still, it may alleviate your concerns.

Cheers,

Rogier
--
If you don't know where you're going, any road will get you there.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://595778]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-19 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found