wohaph / keyczar

Automatically exported from code.google.com/p/keyczar
0 stars 0 forks source link

KeyczarTool: usekey --- error message for failing to specify --destination is misleading #102

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. java -jar KeyczarTool-0.71f-060112.jar usekey "h" --location=new.keyczar

What is the expected output? 
Encrypted "h" piped to stdout, or an error noting that --destination must be 
specified.

What do you see instead?
org.keyczar.exceptions.KeyczarException: Must define a public key location      

        at org.keyczar.KeyczarTool.useKey(KeyczarTool.java:237)                                                                                                                       
        at org.keyczar.KeyczarTool.main(KeyczarTool.java:142) 

What version of the product are you using? On what operating system?
KeyczarTool-0.71f-060112.jar, on an Ubuntu Pangolin-derivative OS.

Original issue reported on code.google.com by mtomc...@google.com on 24 Aug 2012 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by jtu...@gmail.com on 2 Mar 2013 at 9:27

GoogleCodeExporter commented 9 years ago
Merged in fix 
https://code.google.com/p/keyczar/source/detail?r=1a3f6b1480339d81aa259c20e75e8d
137a2a9621

Original comment by dlundb...@google.com on 20 Aug 2013 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by dlundb...@google.com on 20 Aug 2013 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by dlundb...@google.com on 9 Sep 2013 at 5:46