Re: [Zim-wiki] Migration from OneNote to Zim

2013-03-15 Thread Jaap Karssenberg
 On Fri, Mar 15, 2013 at 3:10 AM, hans...@gmail.com wrote:

 I'm sure a completely separate issue, but if there's any chance of killing
 two birds with one stone, I very often wish to copy and paste a whole table
 or page's worth of text with embedded links from the Web or a rich text
 source, and just have those links automagically brought over into Zim's
 [[target|text]] format.

 I've found tools to allow this one at a time from within the browser, but
 a general purpose solution make use of OS-level copy-and-paste standards,
 perhaps parsing the clipboard? would be ideal.

Actually you are right, unpacking the stand alone HTML is easy (I have
some code alread), the harder part is to hack an HTML import function
for zim.

If we have such a function, importing HTML from the clipboard instead
of a file will be trivial to make.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Migration from OneNote to Zim

2013-03-15 Thread Jaap Karssenberg
On Thu, Mar 14, 2013 at 5:39 PM, Michael Spranger
mikeitsecur...@gmail.com wrote:
 How much effort would it take to get that self contained HTML to import into
 zim?  I am not a scripter so I am of no help there.

I got some code to unpack the stand alone HTML, that part is easy.
Next step will be converting the HTML to text while preserving at
least images and bullet lists. Some other markup can be preserved, but
most may get lost. Tables will end up as lines of text.

One limitation I see at the moment for the OneNote importer is that
when I export a section from OneNote I get multiple pages in a single
HTML file. Unfortunately the start of a new page is not clearly marked
in the HTML, so splitting up in multiple pages will not be very
robust.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Encrypted Zim wiki

2013-03-15 Thread Jaap Karssenberg
On Thu, Mar 14, 2013 at 5:47 PM, Per pmknut...@gmail.com wrote:
 Is there a Zim plugin for encrypting a wiki and unlocking with a passphrase?

There is not. Current recommendation is to use an encrypted file
system. E.g. on Ubuntu Linux there is a standard option to encrypt
your home folder. On other systems you can install products that will
encrypt a specific folder.

Put the zim notebook in such a folder and all is save. Jsut unlock the
folder before opening zim (or use the automount plugin.)

 If not, then is this something which in principle could be
 accomplished with a plugin?

In principle yes, but will require some hacking in other parts of zim
as well. Would need to add a step in the file system code such that
the plugin can decrypt a file before it is read by the notebook.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Encrypted Zim wiki

2013-03-15 Thread Joerg Desch
On Thu, 14 Mar 2013 09:47:46 -0700
Per pmknut...@gmail.com wrote:

 If not, then is this something which in principle could be
 accomplished with a plugin?

I'm running Zim on Linux and use encfs together with cryptkeeper to encrypt one 
notebook which keeps all my passwords and account data.

-- 
Email: Joerg Desch jd DOT vvd AT web DOT de

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Encrypted Zim wiki

2013-03-15 Thread Shivam Sharma
Here is a bash script that automates the process of encrypting Zim with
truecrypt, and it almost feels like a plugin with no hassles:

http://dotpad.blogspot.in/2012/12/zim-with-truecrypt-and-dropbox-my-final.html

One could write a similar script for windows...

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Encrypted Zim wiki

2013-03-15 Thread Brendan Kidwell
I use encfs myself.

I'm against putting crypto functions into Zim -- it's out of scope and
dangerous. As a developer, every time you take on functions like that, and
handle keys (user types in passphrase, for example) you open yourself to
the possibility of screwing up and putting users' data at risk. As much as
possible we should leave the implementation to security-obsessed experts.

For the quickest solution, I think TrueCrypt is the easiest to setup and
works the same on all supported platforms. It only introduces one extra
step in daily use before you open a notebook.

Brendan Kidwell
On Mar 15, 2013 3:16 AM, Jaap Karssenberg jaap.karssenb...@gmail.com
wrote:

 On Thu, Mar 14, 2013 at 5:47 PM, Per pmknut...@gmail.com wrote:
  Is there a Zim plugin for encrypting a wiki and unlocking with a
 passphrase?

 There is not. Current recommendation is to use an encrypted file
 system. E.g. on Ubuntu Linux there is a standard option to encrypt
 your home folder. On other systems you can install products that will
 encrypt a specific folder.

 Put the zim notebook in such a folder and all is save. Jsut unlock the
 folder before opening zim (or use the automount plugin.)

  If not, then is this something which in principle could be
  accomplished with a plugin?

 In principle yes, but will require some hacking in other parts of zim
 as well. Would need to add a step in the file system code such that
 the plugin can decrypt a file before it is read by the notebook.

 Regards,

 Jaap

 ___
 Mailing list: https://launchpad.net/~zim-wiki
 Post to : zim-wiki@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zim-wiki
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Encrypted Zim wiki

2013-03-15 Thread Per
Thanks everyone for your useful advice. In the end, I opted for EncFS.
Being on Ubuntu+Gnome-Shell this was fairly straightforward to setup.

Source : https://help.ubuntu.com/community/FolderEncryption

After installing EncFS, I also downloaded gnome-encfs which allowed me
to store the passphrase in the Gnome keyring and auto-mount the
encrypted directory on login. Using Gnome-Shell, Cryptkeeper did not
seem to work (the tray icon did not appear anywhere), so I found and
installed another Nautilus extension:
http://blog.sambull.org/easily-encrypt-folders-2

The extension is a short Python script for creating new encrypted
folders and works in tandem with gnome-encfs

Once setup, there's really no maintenance (and no need to enter a
passphrase once logged in). It wasn't quite what I had in mind, but at
least it is convenient. My greatest paranoia is having my laptop
stolen and sensitive data extracted that way.

Unfortunately, gnome-encfs is not in the Ubuntu 'trusted'
repositories... The Python script, however, is short and seems
harmless enough.

 - Per



 On Thu, Mar 14, 2013 at 5:47 PM, Per pmknut...@gmail.com wrote:
  Is there a Zim plugin for encrypting a wiki and unlocking with a
  passphrase?

 There is not. Current recommendation is to use an encrypted file
 system. E.g. on Ubuntu Linux there is a standard option to encrypt
 your home folder. On other systems you can install products that will
 encrypt a specific folder.

 Put the zim notebook in such a folder and all is save. Jsut unlock the
 folder before opening zim (or use the automount plugin.)

  If not, then is this something which in principle could be
  accomplished with a plugin?

 In principle yes, but will require some hacking in other parts of zim
 as well. Would need to add a step in the file system code such that
 the plugin can decrypt a file before it is read by the notebook.

 Regards,

 Jaap

 ___
 Mailing list: https://launchpad.net/~zim-wiki
 Post to : zim-wiki@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zim-wiki
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp