Few days ago I posted an article on my blog about using some kind of cryptographic system to protect my files on the cloud. I pointed to encfs as a long time user with some caviats and I wanted to substitute it with another more robust and secure system.
Easy to use (productivity wise) and system desktop integration are bonus points, so as an archlinux (antergos) user with kde and ubuntu user with gnome desktop I need some crypto that allows me to put some crypted file on the cloud (nextcloud, dropbox, ...) and keep it synced on all my computers.
Summary
As I wrote on the article, I read this comparison table to find out what to use.
encfs has been around here for so long, but has some minor problem that affects to cloud files. Nowdays is mantained but no longer developed. It's audited though.
cryfs was my first choice because using kde desktop it integrates really nicely with kde-vaults, so I just had to make it work on ubuntu. Here comes the problem because ubuntu's 18.04 cryfs current version is 0.9.9 AND archlinux's version is 0.10.0, and files are no backwards compatible (as I previously posted).
I could compile from source and forget the problem, but I prefer to keep this packages updated from a stable repo and with known default config.
So I decide to keep using encfs even knowing its problems (I think is enough to my purpose).
Fediverse comes to help
After publishing the article I got a toot from @tomas that sugested me that I should give a try to gocryptfs.
Long story short, I read the gocryptfs website documentation, the man pages from the package and I saw something that I notice it could be useful: you can pipeline the gocryptfs password from another shell script or "program" to the gocryptfs prompt, so I imagined an scenario where I could benefit from using password-store (gpg crypted password storing system) and send the result to gocryptfs.
Final Config (so far)
So I got the gocryptfs crypted storage password from my password-store and send it to gocryptfs script to mount the volume.
$ pass /path/to/gocryptfs_password
will prompt for your gpg key password you are using to secure your passwords
$ gocryptfs -extpass "pass /path/to/gocryptfs_password" ~/your_cloud/crypted_folder ~/Personal_clear_data
will equally prompt for you gpg password and send it to gocryptfs and then it automatically mount this "~/Personal_clear_data" folder on your home folder.
You then could use a long and secure password that you dont need to remember and just write your gpg password (that should be secure enough and DO NOT may want to store on your system (kde-wallet, seahorse, ...)
The next step is
Create an Alias
Alias are short names for shell comands.
Edit ~/.bashrc
file adding
alias mountCFS='gocryptfs -extpass "pass /path/to/gocryptfs_password" ~/your_cloud/crypted_folder ~/Personal_clear_data && dolphin ~/Personal_clear_data'
dolphin ~/Personal_clear_data
This part opens this folder on dolphin, KDE's default file manager. You may use your own or ask for system's default (on kde) with
kfmclient exec ~/Personal_clear_data
save,
$ source ~/.bashrc
Now just writing on a shell
$ mountCFS
will ask for your gpg password, mount the file system and open dolphin on this folder. You have autocomplete available on the shell, so using a good alias name (diferent from any other command) you may just write "mo" and then hit "tab" will complete the command.
Mount file system alternatives
- create desktop shortcut for the command
- use your desktop shortcut launcher (alt+f2 on KDE)
- using sirikali on both desktops
- create a /etc/fstab entry to mount on system start up (not recomended)
you should choose the option that you feel more comfortable with. Any sugestion? Please tell me ;-)
umount
when you've finished working on your files you should unmount the Personal-clear-data volume. You will create another alias for this task.
alias umountCFS='fusermount -u ~/Personal_clear_data'
As usual I'll apreciate any sugestion or correction to this article and I'll try to answer any question you have. Please, help me to solve any grammar mistake I'd made on this article.
Reference
edited 17/08/2019
- How to encrypt files with gocryptfs on Linux with some insights of this system and possible caveats.
Comments
April 13, 2024 10:56
Hallo guys, selamat datang di situs OKEPLAY777, pernahkah anda mendengar atau sudah bermain disini ?, Mari kita bahas sedikit tentang kelebihan situs slot online ini, sebagai situs slot gacor hari ini yang menggunakan slot server thailand terbaru gampang menang dengan winrate tertinggi di bandingkan situs lain, bermain di OKEPLAY777 memiliki experience yang berbeda pada saat mendapatkan kemenangan sensasional hanya dengan modal deposit slot dana Rp.15,000 dan menang berapapun di bayar tanpa potongan.
April 25, 2024 17:58
Don’t worry about the difficulty of the assignment, our team of writers is very capable! 美国代写
April 27, 2024 06:54
Market economic differences : The market economic conditions of different countries and regions also have an impact on service prices. In economically developed countries, service providers’ salaries and operating costs are usually higher, leading to higher service prices. 代写
October 12, 2022 07:34
It’s extremely pleasant and meanful. it’s extremely cool blog. Connecting is exceptionally valuable thing.you have truly helped bunches of individuals who visit blog and give them usefull data. USA
October 12, 2022 18:39
I was extremely satisfied to discover this site.I needed to thank you for this incredible read!! I certainly getting a charge out of each and every piece of it and I have you bookmarked to look at new stuff you post. ดูหนังออนไลน์ฟรี
November 2, 2022 19:02
It is particularly conventional, however investigate the tips amid this street number. 플레이포커홀덤머니상
October 15, 2022 14:58
I wear t have room schedule-wise right now to completely read your site yet I have bookmarked it and furthermore include your RSS channels. I will return in a day or two. much obliged for an extraordinary site. 안전놀이터
October 29, 2022 14:44
It’s extremely pleasant and meanful. it’s extremely cool blog. Connecting is exceptionally valuable thing.you have truly helped bunches of individuals who visit blog and give them usefull data. 안전놀이터
October 30, 2022 15:33
Deepmaterial is reactive hot melt pressure sensitive adhesive manufacturer and supplier, manufacturing one component epoxy underfill adhesives, hot melt adhesives glue, uv curing adhesives,high refractive index optical adhesive, magnet bonding adhesives, best top waterproof structural adhesive glue for plastic to metal and glass, electronic adhesives glue for electric motor and micro motors in home appliance. Industrial Hot Melt Electronic Component Epoxy Adhesive
November 1, 2022 18:20
It is particularly conventional, however investigate the tips amid this street number. 온라인바카라
November 8, 2022 10:07
It is particularly conventional, however investigate the tips amid this street number. sell merchant accounts
November 13, 2022 11:50
Mycatttery is the best place of munchkin cat for sale. We are a home kennel dedicated to providing you with high quality Munchkin kittens. munchkin kittens for sale
November 15, 2022 11:21
Welcome to Chris and Bella’s Cattery, we dedicate our lives to the breeding of munchkin cat for sale and Scottish fold munchkin cat for sale for any family who is caring and loving who needs to add our adorable fur babies to their lives. Our kittens and cats are well behave and well trained to fit into any family with kids, birds, dogs and other pets. Getting a munchkin cat, kitten or Scottish fold munchkin from our cattery will mean getting a loving, caring and passionate friend or partner for the rest of your lives. munchkin kittens for sale
November 15, 2022 19:53
it’s extremely pleasant and meanful. it’s extremely cool blog. Connecting is exceptionally valuable thing.you have truly helped bunches of individuals who visit blog and give them usefull data. 토토
March 9, 2023 11:19
Magnificent dispatch! I am to be sure getting well-suited to over this data, is genuinely neighborly my amigo. In like manner awesome blog here among a significant number of the exorbitant data you gain. Hold up the advantageous procedure you are doing here. 바카라사이트
March 9, 2023 11:19
Magnificent dispatch! I am to be sure getting well-suited to over this data, is genuinely neighborly my amigo. In like manner awesome blog here among a significant number of the exorbitant data you gain. Hold up the advantageous procedure you are doing here. 바카라사이트
March 13, 2023 11:32
Info live rtp dan pola slot gacor hari ini kang polo, cek rtp slot pragmatic beserta game slot gacor 2022 paling lengkap untuk jam, pola dan rtp tertinggi. rtp slot terbaik kang polo
March 13, 2023 11:32
Info live rtp dan pola slot gacor hari ini kang polo, cek rtp slot pragmatic beserta game slot gacor 2022 paling lengkap untuk jam, pola dan rtp tertinggi. rtp slot terbaik kang polo
March 14, 2023 14:27
Incredible data! I as of late went over your blog and have been perusing along. I figured I would leave my first remark. I don’t recognize what to state with the exception of that I have. caffè borbone bari
March 20, 2023 09:19
Incredible data! I as of late went over your blog and have been perusing along. I figured I would leave my first remark. I don’t recognize what to state with the exception of that I have. อนิเมะออนไลน์
March 22, 2023 11:02
General visits recorded here are the most easy system to esteem your imperativeness, which is the motivation behind why I am taking off to the site conventional, examining for new, interesting information. Many, favor your heart! 먹튀검증
March 23, 2023 10:58
it’s to a great degree cool blog. Interfacing is incredibly profitable thing.you have really had any kind of effect เว็บยูฟ่า
March 23, 2023 11:54
I would support my profile is critical to me, I welcome you to take a gander at this subject… 먹튀검증
March 23, 2023 15:01
Astounding read, Positive webpage, where did u think of the data on this posting?I have perused a couple of the articles on your site now, and I extremely like your style. You rock and please keep up the compelling work. 토토사이트
March 24, 2023 06:17
Its most exceedingly awful piece was that the item just worked intermittently and the data was not exact. You plainly canot go up against anyone about what you have found if the information isn’t right. 먹튀검증
March 24, 2023 07:29
You have lifted a basic offspring..Blesss for using..I would need to think about better most recent exchanges from this blog..preserve posting.. 꽁머니
March 25, 2023 06:46
Benefit as much as possible from primarily premium substances - you will discover him or her for: 꽁머니 토토
March 26, 2023 16:16
I for one utilize them solely astounding components : you will see these people amid: pgslot เว็บตรง
March 27, 2023 10:49
Stunning post I should state and grateful for the data. Bearing is evidently a sticky subject. Regardless, is still among the central subjects of our shot. I regard your post and anticipate more. 메이저사이트
March 29, 2023 07:25
A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work. Marketing Agentur Bremen
March 29, 2023 15:08
It has completely climbed to crown Singapore’s southern shores and without a doubt set her on the general guide of private remarkable core interests. Regardless I scored the a more prominent number of focuses than I ever have in a season for GS. I figure you would be not capable discover some individual with a relative consistency I have had amid the time so I am content with that. 메이저사이트
April 1, 2023 05:43
I truly recognize basically analyzing the lion’s offer of your weblogs. Just anticipated that would provoke you that you have individuals like me who regard your work. Irrefutably a superb post. Finish off to you! The data that you have given is phenomenally significant. 먹튀검증
April 5, 2023 07:03
staggering, marvelous, I was considering how to cure skin irritation regularly. also, found your site by google, took in a ton, now i’m to some degree clear. I’ve bookmark your site and moreover incorporate rss. keep us revived. Golden Visa Services
April 6, 2023 06:43
A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work. best all inclusive cancun resort
April 6, 2023 11:18
Slot gates of gatot kaca x500 di bo slot gacor sedunia dengan jaminan pasti maxwin. slot x500 jamin maxwin
April 10, 2023 07:13
bocoran slot gacor paling akurat dan terupdate untuk info rtp live slot Pragmatic Play, Spadegaming, Habanero, PG Soft, Slot88. rtp slot kuatjp
April 13, 2023 13:19
I’m eager to reveal this page. I have to thank you for ones time for this especially awesome read!! I unquestionably extremely enjoyed all aspects of it and I likewise have you spared to fav to take a gander at new data in your site. สล็อตออนไลน์
April 19, 2023 06:33
An obligation of appreciation is all together for the better than average blog. It was amazingly useful for me. I m playful I found this blog. Thankful to you for offering to us,I too reliably increase some new helpful learning from your post. shelf
April 22, 2023 04:53
IT Solution Pte Ltd offers comprehensive website maintenance services for businesses in Singapore. Our team of experienced professionals provides WordPress maintenance plans and web maintenance services to ensure your website is always up and running smoothly. Website security maintenance in Singapore
April 25, 2023 07:05
Intriguing and fascinating data can be found on this theme here profile worth to see it. 토토사이트
April 25, 2023 11:28
토토
A to a great degree brilliant blog passage. We are really grateful for your blog passage. fight, law usage You will find an extensive measure of techniques in the wake of heading off to your post. I was absolutely examining for. An obligation of appreciation is all together for such post and please keep it up. Mind blowing work. 토토
April 25, 2023 12:28
Introductory You got a great blog .I assurance be engaged with in addition to uniform minutes. I see you got really extremely practical issues , I assurance be continually checking your blog blesss. 먹튀검증업체
April 26, 2023 07:47
In this specific article, you will see a synopsis, fulfill peruse this post. 먹튀검증
May 5, 2023 15:13
https://myventurepad.com/why-online-internet-marketing-is-important-10-reasons/
Read on to learn how you can improve your search engine positioning today. You can also take help from a marketing agency like Grizzly New Marketing to improve your search engine positioning. https://myventurepad.com/why-online-internet-marketing-is-important-10-reasons/
May 6, 2023 05:51
Direct web casinos do not go through agents. The jackpot is easy to break. no minimum deposit, a comprehensive casino game center such as card games, online slots, roulette games and blackjack cards, etc. pay on time Make financial transactions automatically, transfer via mobile banking quickly. Apply today and get many special discounts for members. สูตรสล็อต PG ทดลองเล่น
May 6, 2023 05:51
Direct web casinos do not go through agents. The jackpot is easy to break. no minimum deposit, a comprehensive casino game center such as card games, online slots, roulette games and blackjack cards, etc. pay on time Make financial transactions automatically, transfer via mobile banking quickly. Apply today and get many special discounts for members. สูตรสล็อต PG ทดลองเล่น
May 7, 2023 13:37
So before you start using World777, know about responsible gambling. Whether you’re a seasoned bettor or new to the world of sports betting, World777 has everything you need to enjoy IPL betting and other exciting betting options. Join us today and start placing your bets on the biggest sports events from around the world. world 777 online id providers
May 11, 2023 10:26
Benefit as much as possible from primarily premium substances - you will discover him or her for: slot gacor deposit pulsa
May 11, 2023 12:55
It is particularly conventional, however investigate the tips amid this street number. judi slot gacor
May 12, 2023 06:05
This is essential, however it’s important to enable you to make a beeline for it weblink: slot gacor deposit pulsa
May 12, 2023 06:43
Benefit as much as possible from primarily premium substances - you will discover him or her for: สล็อตแตกง่าย168
May 22, 2023 17:06
Now you’ll discover what is vital, everything gives a url to the engaging page: Tennessee Private Investigator
May 22, 2023 19:35
Aside from immigration services, 3E Accounting provides extensive corporate assistance, including payroll, accounting, taxation, and corporate secretarial services. The company’s services have been recognized globally, with the firm winning multiple awards in different categories, indicating its commitment to providing customized, innovative, and professional solutions to meet the unique needs of each client. Singapore EP Pass
May 24, 2023 09:23
I can suggest essentially not too bad and even dependable tips, accordingly see it: 먹튀검증사이트
May 25, 2023 05:42
On that site page, you’ll see your depiction, for what reason not read through this. www.mt-spot.com
May 26, 2023 16:15
In this specific article, you will see a synopsis, fulfill peruse this post. 꽁머니 30000
May 27, 2023 06:16
Benefit as much as possible from primarily premium substances - you will discover him or her for: 꽁머니 지급
May 30, 2023 17:00
Benefit as much as possible from primarily premium substances - you will discover him or her for: etiqa insurance
May 31, 2023 16:14
Adequately, the article is extremely the best point on this registry related issue. I fit in with your choices and will vivaciously envision your next updates. detective to find someone
June 2, 2023 05:39
Clever Life is an AUSTRALIA brand that sell Smart home products. Such as downlights, flood lights, ceiling fans and so on. flood sensor light
June 4, 2023 11:40
Benefit as much as possible from primarily premium substances - you will discover him or her for: ปั่นสล็อต เว็บตรง
June 15, 2023 06:20
Chennai Fashion Institute offers various fashion design courses, ranging from a 3-month certificate course to a 2-year diploma course. The courses cover various aspects of fashion design, including fashion sketching, garment construction, pattern making, textile science, and business management. The courses are designed to provide students with a balance of theoretical and practical knowledge, preparing them for a career in the fashion industry. Part-time fashion designing courses in Chennai
June 15, 2023 09:11
Strikingly you compose, I will address you’ll discover energizing and fascinating things on comparative themes. สล็อต pg
June 21, 2023 12:12
This is exceptionally engaging, however , it is vital that will mouse tap on the association: ไฮโล
June 26, 2023 12:22
검증된 파워볼사이트 를 찾으신다면 eos파워볼사이트 가 있는 파워볼사이트추천 에서 파워볼 을 즐기시길 바랍니다. 5년 이상 운영된 메이저업체 이며 지금까지 많은분들께 사랑받은 안전한파워볼사이트 입니다. 안전한파워볼사이트
June 28, 2023 09:52
You bear through a wonderful opening. I rational soundness unquestionably quarry it besides by and by propose to my buddys. I am reserved they assurance be profited from this scene. 꽁머니 20000
June 28, 2023 19:39
I have a comparable intrigue this is my page read everything deliberately and let me comprehend what you think. 먹튀
July 3, 2023 11:57
I have a comparable intrigue this is my page read everything deliberately and let me comprehend what you think. L81008-800
July 10, 2023 10:26
By following these guidelines, you can increase the likelihood of finding a safe and reliable Toto site for playing games. However, it’s always important to remember to gamble responsibly and within your means. รวมสล็อตทุกค่าย
July 17, 2023 08:16
Excellent piece, and the insights you’ve shared are both fascinating and helpful to me. Your post has provided me with a wealth of information. I really hope that you will be publishing more fresh posts in the not too distant future! hurdle game
July 17, 2023 18:37
While online casino gambling can be entertaining and potentially lucrative, it’s important to approach it responsibly. Set a budget for gambling activities, be aware of the risks involved, and gamble within your means. Additionally, it’s crucial to choose reputable and licensed online casinos to ensure fair gameplay and the safety of your personal and financial information. คาสิโนออนไลน์ฝากถอนไม่มีขั้นต่ำ
August 15, 2023 18:59
To enhance the gaming experience, big camps also incorporate exciting bonus features, free spins, and generous jackpots into their web slots. These elements add an extra layer of excitement and potential rewards, enticing players to keep spinning the reels in hopes of hitting that life-changing jackpot. สล็อตเว็บใหญ่ที่สุด
August 16, 2023 19:39
Benefit as much as possible from primarily premium substances - you will discover him or her for: เกมสล็อตโรม่า
September 8, 2023 12:47
Magnificent dispatch! I am to be sure getting well-suited to over this data, is genuinely neighborly my amigo. In like manner awesome blog here among a significant number of the exorbitant data you gain. Hold up the advantageous procedure you are doing here. สล็อตเปิดใหม่
September 8, 2023 18:35
Now you’ll discover what is vital, everything gives a url to the engaging page: เกมสล็อตโรม่า
December 14, 2023 17:46
I love the fact that online casinos offer a variety of payment options. It makes depositing and withdrawing funds a breeze, ensuring a smooth gaming experience. 하이카지노
March 26, 2024 14:33
Casinos are the heartbeat of entertainment for the bold and daring. 로즈카지노