Hi Klaus!
This new kencrypt tool rocks, I really like it
I am running into 2 issues though -- none of them being a big deal, but a bit annoying (Tools 2009-12-30 release, reproduced on both OS-X Snow Leo 64 bits and Debian Lenny 32 bits)
First, the
overwrite option 'ow' is not recognized:
|
Source code
|
1
2
3
4
|
$ ~/bin/krpanotools-1.0.8-beta9/kencrypt -ow $PWD/pano.xml
option: [ow]
kencrypt
ERROR: invalid or bad argument: -ow
|
Second, it seems to work only if you specify full path for the files:
|
Source code
|
1
2
3
4
5
6
7
8
|
# The following does not work
$ ~/bin/krpanotools-1.0.8-beta9/kencrypt pano.xml
kencrypt
ERROR: no input files
# While this one works
$ ~/bin/krpanotools-1.0.8-beta9/kencrypt $PWD/pano.xml
kencrypt
encrypt: [pano.xml] -> [pano.xmle]
|
... and cherry on the cake, it would be nice to be able to use it as a filter/pipe -- I mean being able to do something like e.g.:
|
Source code
|
1
|
cat pano.xml | kencrypt - >pano.xmle
|
This example as such is useless, but I am thinking of using kencrypt to encode xml generated dynamically (e.g. in php) and a pipe is much more easy and efficient than playing with temporary files...