Khaws cov lus qhia ntawm GNU / Linux nrog eCryptfs

Thaum nws los tiv thaiv peb cov ntaub ntawv thiab kev ceev ntiag tug, tsis muaj kev siv zog yog superfluous, thiab cov ntaub ntawv encryption qee zaum cawm peb ntau mob taub hau.

eCryptfs-logo-kawg

Muaj tseeb koj paub qee cov cuab yeej siv rau kev ua haujlwm ntawm cov ntawv zais cov ntaub ntawv xws li GnuPG nrog uas peb tuaj yeem zais cov ntaub ntawv ib qho ntawm ib qho (cov haujlwm ntev ntev yog tias peb xav tau cov ntaub ntawv ntau) thiab Cryptsetup nrog uas peb tuaj yeem nkag tau cov ntsiab lus txhua lub hard disk (los yog zoo muab faib) yuav ua tau

Tab sis yog tias koj xav tau ib qho cuab yeej uas tau muab rau koj zoo tshaj plaws ntawm ob daim ntawv thov, ces koj xav tau eCryptfs

eCryptfs, nws yog ib daim ntawv thov uas peb ua los ntawm cov kab hais kom ua thiab nrog uas peb tuaj yeem zais cov npe hauv GNU / Linux ntawm 256 khoom thiab nrog uas peb tseem tuaj yeem tsim cov ntawv cim encryption thiab decryption phau ntawv ob leeg ua ke thiab txiav.

dluab

Cov cuab yeej no tau koom rau hauv lub Linux pob raws txij li version 2.6 thiab yog ib qho siv thaum peb qhib cov npe hauv Ubuntu Kev Cim Tsev NyobCov. Ib qho zoo uas nws muab rau peb los ntawm sab hauv qhov tseem ceeb yog tias nws twb muaj qhov kev xaiv zoo dua thiab nrog qhov no peb tuaj yeem cia siab qhov kev ua tiav siab tshaj plaws thaum siv nws.

Yog li yog tias koj yuav siv nws koj tsuas yog yuav tsum nruab lub pob ecryptfs-utils:

$ sudo mount -t ecryptfs

Tom qab ntawd, nws yuav hais kom peb sau tus password uas peb yuav siv thiab lwm cov lus nug uas peb tuaj yeem tawm mus nrog lawv cov yam ntxwv tsis tau raug muab nias nkag musCov. Thaum ua tiav lawm thiab peb twb tau muab cov ntawv qhia npe uas yuav raug sau npe nyob rau hauv cov phau ntawv qhia chaw, cov no tseem yuav tshwm sim hauv cov ntawv qhia ntawm qhov chaw tab sis nrog cov ntsiab lus twb encrypted.

ecryptfs-teeb

Dab tsi yog sab hauv phau ntawv sau npe yog cov ntaub ntawv encrypted ua ntej kev ua tiav cov lus txib mount, thiab lawv yuav nyob ntsiag to kom txog thaum peb siv cov lus txib unmount thiab qhov no yog li cas peb yuav pom cov ntaub ntawv decrypted dua.

$ sudo umount / dir / enc

Cov no yog cov lus nug uas eCryptfs nug yog qhov sib tham sib, thiab ntawm no kuv coj lawv tuaj rau koj kom koj muaj lub tswv yim qhia meej ntxiv txog lawv yog:

  • La ntawv hla lossis tus yuam sij rau encryption.
  • El encryption algorithm uas los ntawm neej ntawd yog AES.
  • Qhov tseem ceeb ntawm qhov ntau, uas yog 16 bytes los ntawm lub neej ntawd
  • Pliaj Xwm Tsog Siv Yis Ntuj Neeb yuav tsum tau ncav cov ntaub ntawv uas tsis tau sau ua ke.
  • Khaws cov npe cov ntaub ntawv, nws tsuas yog sau cov ntsiab lus los ntawm lub neej ntawd.

ssl-daim ntawv pov thawj

Ib yam dab tsi uas yuav tsum tau coj mus rau hauv tus account yog tias yog tias muaj cov ntaub ntawv nyob rau hauv cov ntawv qhia ntawm qhov chaw uas tsis tau muab zais, yog tias peb qhib lub Tiaj Lus passthrough, Peb tuaj yeem nkag mus rau cov ntaub ntawv no thiab lawv cov ntsiab lus ntawm phau ntawv qhia chaw, tab sis nws yuav tsum tau ua haujlwm txij li nws tau txiav tawm thiab nws yuav tsis tuaj yeem nkag mus rau cov ntsiab lus ntawd.

Zoo li thaum peb qhib lub encryption ntawm cov ntaub ntawv npe Peb yuav tsum qhia qhov kos npe ntawm tus yuam sij uas peb yuav siv, qhov no zoo ib yam uas yog siv los cim cov ntsiab lus, txawm li cas los xij muaj qee lub sijhawm thaum peb yuav tsum hloov nws. Los ntawm kev siv ua haujlwm ntawm cov yeeb yaj kiab no, cov npe ntawm cov ntaub ntawv yuav nyob rau hauv cov ntaub ntawv qhia tsuas yog "pseudo-random" cov hlua cov cim.

encrypt-files-and-directories-on-linux-10-638

Thaum peb tso lo lus zais thawj zaug, eCryptfs yuav qhia peb tias tus password tsis tau siv ua ntej thiab yuav nug peb yog tias peb xav mus txuas ntxiv, thaum peb paub meej tias nws tau sau meej peb sau "yog", ces nws yuav nug peb yog tias peb xav khaws lub npe ntawm tus yuam sij rau hauv cov ntaub ntawv /root/.ecryptfs/sig-cache.txt yog tias peb khaws nws, nws yuav tsis nug peb cov lus nug ntxiv. Txawm li cas los xij, yog tias peb khaws cov yuam sij los ntawm ntaus "yog" tab sis tom qab ntawd cov lus nug yav dhau los rov tshwm dua, peb tsis tau nkag tus yuam sij kom raug.


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

3 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   ntse said

    Kuv siv koov (manjaro rau tam sim no vim nws ua rau nws yooj yim dua rau kuv nruab lxqt) thiab los ntawm AUR Kuv nruab cryptkeeper uas yooj yim rau txhua yam zoo heev thiab kuv xav tias nws yuav zoo li GUI yooj yim tshaj tawm cov ntawv zais nrog ecryptfs.

  2.   Ruben said

    Kuv xav paub tiag tiag (txawm hais tias kuv xav tias kuv poob npe), yog tias muaj software uas tso cai rau kuv luam cov ntawv theej cia, xws li qhov program uas nrog Western Digital "MY PASPORT" discs.
    Qhov kev pab no tsuas yog ua haujlwm ntawm Windows.
    Tsaug ua ntej.

  3.   Nuri said

    Nyob zoo, yog nws siv los sau cov hard drive sab nraud? Kuv tab tom nrhiav kom encrypt kuv lub hard drive sab nraud tab sis qhov kuv tau pom txhua qhov xav tau kev tawm tswv yim. Puas muaj kev usb encryption rau ubuntu uas tsis tas yuav muaj kev tawm tswv yim? Ua tsaug rau koj