Bitcoin Forum
April 19, 2018, 12:09:20 PM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest stable version of Bitcoin Core:
0.16.0
[
Torrent
]. (
New!
)
Home
Help
Search
Donate
Login
Register
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
(Moderators:
gmaxwell
,
achow101
) >
using ecryptfs to protect your wallet
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: using ecryptfs to protect your wallet (Read 1262 times)
grondilu
Legendary
Offline
Activity: 1134
Merit: 1001
using ecryptfs to protect your wallet
October 21, 2010, 07:48:54 PM
#1
I guess this could be in the wiki but I post it here first.
I've recently looked for a free alternative to TrueCrypt.
On my Debian system, I've found ecryptfs. It seems nice because it doesn't require you to encrypt a whole partition.
First, install the package :
apt-get install ecryptfs-utils
Then, create a ~/Private directory.
Setup this directory as your encrypted directory with the command :
ecryptfs-setup-private
(you may need to load the ecryptfs module with modprobe or something)
You will be prompted for your login password and for a optionnal mount password. Using only your login password is easier since it will save you the typing of an additionnal password.
Relog.
Move your wallet.dat file in your Private directory, and make a symlink :
mv .bitcoin/wallet.dat Private
ln -s $HOME/Private/wallet.dat .bitcoin
That's about it.
You can unmount your private dir with the ecryptfs-umount-private command.
This directory can be used for other sensitive files, such as .fetchmailrc, .ssh/id_dsa, .gnupg and so on.
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Advertise here.
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
1524139760
Hero Member
Offline
Posts: 1524139760
Ignore
1524139760
1524139760
#2
1524139760
Report to moderator
theymos
Administrator
Legendary
Offline
Activity: 2996
Merit: 2962
Re: using ecryptfs to protect your wallet
October 21, 2010, 09:29:04 PM
#2
I use dm-crypt. You must be root to mount the encrypted device. You can use a file-based container with a loop device.
My mount script:
Code:
losetup /dev/loop0 /encrypted
HASH=`hashalot -s salt sha256 | hexdump -e '32/1 "%02x"'`
echo 0 `blockdev --getsize /dev/loop0` crypt aes-cbc-essiv:sha256 \
$HASH 0 /dev/loop0 0 | dmsetup create hidden
Unmount:
Code:
dmsetup remove hidden && losetup -d /dev/loop0
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
(Moderators:
gmaxwell
,
achow101
) >
using ecryptfs to protect your wallet
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Alternative clients
=====> MultiBit
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> New forum software
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
===> إستفسارات و أسئلة المبتدئين
=> Bahasa Indonesia (Indonesian)
===> Jual Beli
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=> Deutsch (German)
===> Biete
===> Suche
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Auktionen
===> Altcoins (Deutsch)
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Philippines
===> Altcoins (Philippines)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Новости
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
===> Хайпы
===> Юристы
===> Работа
===> Разное
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Sponsored by
Private Internet Access
, a Bitcoin-accepting
VPN
.
Loading...