Hi Stefan,
Thanks for your bug report. I quickly verified the issue described and you seem to be quite right.
Peter is very responsive when it comes to ccrypt, so I expect a fix soon.
Thanks, Chris.
--- Stefan Alfredsson wrote:
Package: ccrypt Version: 1.7-5 Severity: normal
According to the man-page,
-k file, --keyfile file Read the keyword as the first line from the named file.
-K key, --key key
Specify the keyword on the command line.
However, --keyfile seem to be interpreted as --key, as shown below
$ echo secret > mykey
$ echo "Hello World" | ccencrypt --keyfile mykey > msg.cpt
Enter encryption key:
Enter encryption key: (repeat) $ echo "Hello World" | ccencrypt -k mykey > msg.cpt
ccencrypt: could not read key from mykey: No such file or directory
$ ls -l mykey*
-rw-r--r-- 1 alfs alfs 39 2005-03-09 09:49 mykey.cpt
[this means it encrypted the keyfile!]
$ echo secret > mykey
$ echo "Hello World" | ccencrypt -k mykey > msg.cpt
$
[ok, -k worked as it should]
This is probably a bug in the options handling, not directly related to the debian packaging, so I also CC the upstream on this one.
Regards, Stefan
-- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux sa-pc 2.6.7-1-686 #1 Thu Jul 8 05:36:53 EDT 2004 i686 Locale: LANG=en_US, LC_CTYPE=en_US (ignored: LC_ALL set to sv_SE)
Versions of packages ccrypt depends on: ii libc6 2.3.2.ds1-17 GNU C Library: Shared libraries an
-- no debconf information
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]