Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2012, 07:20 PM
jeegeek jeegeek is offline
Junior Member
 
Join Date: Dec 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default PEFS - cryptographic filesystem for FreeBSD
http://www.freshports.org/sysutils/pefs-kmod/

PEFS is a kernel level stacked cryptographic filesystem for FreeBSD.

Key features:
  • Transparently runs on top of existing file systems
  • Random per file tweak value for encryption
  • Stores metadata only in encrypted file name
  • Arbitrary number of keys per file system, mixing keys in same directory and key chains
  • Modern cryptographic algorithms: AES and Camellia in XTS mode, PKCS#5v2 and HKDF for key generation.
Reply With Quote
  #2  
Old 02-15-2012, 09:49 AM
jeegeek jeegeek is offline
Junior Member
 
Join Date: Dec 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I've tried to build pefs with EasyPBI, but it fails

Code:
"/usr/share/mk/bsd.kmod.mk", line 12: "can't find kernel source tree"
 
*** Error code 1
 
Stop in /usr/wrkdirprefix/usr/ports/sysutils/pefs-kmod/work/pefs-2011-10-18.
*** Error code 1
 
Stop in /usr/ports/sysutils/pefs-kmod.
Does anyone have any idea?
Attached Files:
File Type: txt build.log.txt (1.5 KB, 0 views)
File Type: zip pefs-kmod.tar.gz.zip (422 Bytes, 1 views)
Reply With Quote
  #3  
Old 02-15-2012, 02:53 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,573
Thanks: 23
Thanked 449 Times in 365 Posts
Default
To build this kernel module requires the full system source (which is the error you are seeing). Kernel modules are not good candidates for PBI's because as soon as you load them into the system, you are affecting everything on that system - which defeats one of the main purposes of a PBI in the first place.

This one should probably be left as a port install, and you should install it that way as well (and make sure that you have the system source tree, not just the ports tree beforehand).
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #4  
Old 02-15-2012, 03:12 PM
Beanpole's Avatar
Beanpole Beanpole is offline
Senior Member
 
Join Date: May 2010
Posts: 2,573
Thanks: 23
Thanked 449 Times in 365 Posts
Default
As a followup, we are going to include this kernel module within the base system for PCBSD 9.1 as it will come in handy to have additional encryption/decryption options.
Thanks for pointing this one out!
__________________
~ Ken Moore ~
PC-BSD/iXsystems
Reply With Quote
  #5  
Old 02-17-2012, 11:04 AM
jeegeek jeegeek is offline
Junior Member
 
Join Date: Dec 2011
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Thanks.

I have built a package for PC-BSD 9.0 - 64 bit from ports.
http://christian-hofmann.info/pc-bsd/9.0/64/pefs-kmod/

You can install it as root with "pkg_add pefs-kmod-2011.10.18_PC-BSD-9.0_64.tbz"
Reply With Quote
  #6  
Old 01-10-2014, 03:06 PM
drulavigne drulavigne is offline
Administrator
 
Join Date: Nov 2009
Posts: 1,133
Thanks: 46
Thanked 55 Times in 53 Posts
Default
As an update, this is now built into the base system as of 9.2.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.