TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I Need Some Help: Workaround Stopping Truecrypt From Leaking

2 pointsby tverr_bjelkeover 11 years ago
Some days ago I posted here my blog article http:&#x2F;&#x2F;querbalken.net&#x2F;workaround-truecrypt-leaking-containers-security-issue-en.html and the goal, an open source-project to work around: https:&#x2F;&#x2F;github.com&#x2F;tverrbjelke&#x2F;truecrypt_wrapper<p>Installing truecrypt via dowload package just results in a leaking mess: All your recently used containerfiles will be leaked into file ~&#x2F;.local&#x2F;share&#x2F;recently-used.xbel<p>Started to create a practicable workaround mini open source project: wrapper and documentation that guides through the issue.<p>My last post here got me some good replies. Summarizing one: &quot;truecrypt binary has no s-bit set, so set the bookmarking-file to readonly and you be done.&quot;<p>Did that. But that won&#x27;t help! (see session below)<p>Maybe I have major blind spots (hope so, then we could close the issue and live on - so please find my mistakes). If not, then we indeed have a leaking mess that needs workaround.<p>So please help me here:<p>Can you try below session on different platforms with different desktop environments (truecrypt as I know links to GTK)<p>I have tried this on my up to date KUbuntu12.04LTS (with KDE) and the downloaded truecrypt-installer. Same shit happens with different versions of truecrypt, doesn&#x27;t seem to matter. Because the open-file dialog does the leaking and that is desktop stuff.<p>Next thing I would like do is set up a clean virtual machine with e.g. opensuse (which also aims average joe). But right now I cought a flew and should treat my fiever and recover a bit...<p>So is there something I am overlooking?<p>Please can you support me and try this on different platforms &#x2F; Desktop environments? Maybe you reply here or as issue into my github project or as comment in my blog...? And maybe you also have some hints where to go then...<p>1) workaround, well placed to be found by soluiton seeking average joe<p>2) fix of leaking truecrypt<p>here comes the session:

2 comments

tverr_bjelkeover 11 years ago
Session<p>&gt; ls -l $(which truecrypt)<p>-rwxr-xr-x 1 root root Dez 14 10:17 &#x2F;usr&#x2F;bin&#x2F;truecrypt<p>So no S-bits, normal average-joe installtation via download from truecrypt.org<p>try as normal user<p>&gt; cd ~&#x2F;.local&#x2F;share<p>&gt; rm recently-used.xbel<p>&gt; touch recently-used.xbel<p>&gt; chmod a-rwx recently-used.xbel<p>&gt; ls -l recently-used.xbel<p>---------- 1 tverrbjelke tverrbjelke 0 Dez 14 12:17 recently-used.xbel<p>&gt; truecrypt<p>-&gt; select file -&gt; ok -&gt; select -&gt; is there somethin in recently used?<p>YES! WTF?<p>&gt; ls -l recently-used.xbel<p>-rw------- 1 tverrbjelke tverrbjelke 733 Dez 14 12:20 recently-used.xbel<p>So try2 - chown to root:<p>&gt; rm recently-used.xbel<p>&gt; touch recently-used.xbel<p>&gt; chmod a-rwx recently-used.xbel<p>&gt; sudo chown root:root recently-used.xbel<p>&gt; ls -l recently-used.xbel<p>---------- 1 root root 0 Dez 14 12:22 recently-used.xbel<p>&gt; truecrypt<p>-&gt; select file -&gt; ok -&gt; select -&gt; is there somethin in recently used?<p>YES! WTF?<p>on the console I see the following message: &quot;(truecrypt:29437): Gtk-WARNING <i></i>: Attempting to read the recently used resources file at `&#x2F;home&#x2F;tverrbjelke&#x2F;.local&#x2F;share&#x2F;recently-used.xbel&#x27;, but the parser failed: Failed to open file &#x27;&#x2F;home&#x2F;tverrbjelke&#x2F;.local&#x2F;share&#x2F;recently-used.xbel&#x27;: No Permission.&quot;<p>&gt; tverrbjelke@espen:~&#x2F;.local&#x2F;share$ ls -l recently-used.xbel<p>-rw------- 1 tverrbjelke tverrbjelke 726 Dez 14 12:29 recently-used.xbel<p>So thats the mess I ment with my blog article. And why I wrote the workaround truecrypt_wrapper script...
slashdotaccountover 11 years ago
Switch to root, then do this:<p># cat &#x2F;dev&#x2F;null &gt;recently-used.xbel<p># chattr +i recently-used.xbel
评论 #6905654 未加载