It was <2014-11-04 wto 08:16>, when 이준민 wrote:
> Hi, all
>
> I know that my question is stupid. but I need a your helps.
>
> I heard that ecryptfs is good way to create private encrypted folder.
>
> I could download ecryptfs-utils.rpm from http://download.tizen.org/
> snapshots/tizen/common/latest/repos/arm-wayland/packages/
> armv7l/ecryptfs-utils-104-6.2.armv7l.rpm

You also need keyutils package.

> and installed that(rpm -ivh command) in rd-pq phone(sdb shell).
>
> then I create private folder and input below command in sdb.
>
> mount -t ecryptfs ~/private ~/private

I can see little chance such command works.

1. I wouldn't mount decrypted tree over encrypted one, one this may be
confusing.

2. In general encryption/decryption processes need some parameters like:
key, encryption algorithm and such. You do not provide them here so no
wonedr...

> but, it is not working with errors...
>
> this is error message ...

> ------------------------------------------------------------------------
> Unable to get the version number of the kernel
> module. Please make sure that you have the eCryptfs
> kernel module loaded, you have sysfs mounted, and
> the sysfs mount point is in /etc/mtab. This is
> necessary so that the mount helper knows which
> kernel options are supported.

Make sure your kernel is compiled with CONFIG_ECRYPT_FS and CONFIG_KEYS set.

> Make sure that your system is set up to auto-load
> your filesystem kernel module on mount.
>
> Enabling passphrase-mode only for now.
>
> Unable to link the KEY_SPEC_USER_KEYRING into the KEY_SPEC_SESSION_KEYRING;
> there is something wrong with your kernel keyring. Did you build key
> retention support into your kernel?
> ------------------------------------------------------------------------
> I tried to solve this problem for a week. but this error is not solved...
>
> Was it wrong way to install and use ecryptfs in RD-PQ? how to solve this
> issue?

I recommend you reading

https://wiki.archlinux.org/index.php/ECryptfs

-- 
Łukasz Stelmach
Samsung R&D Institute Poland
Samsung Electronics

Attachment: pgp0NK9OtlxwX.pgp
Description: PGP signature

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to