Skip to content

Instantly share code, notes, and snippets.

@pmahoney
Created October 24, 2012 20:07
Show Gist options
  • Save pmahoney/3948507 to your computer and use it in GitHub Desktop.
Save pmahoney/3948507 to your computer and use it in GitHub Desktop.
stack trace
this SunJCE_y (id=144)
arg0 true
arg1 "DESede/CBC/PKCS5Padding" (id=249)
arg2 (id=254)
Thread [main] (Suspended (exception InvalidKeyException))
SunJCE_y.a(boolean, String, byte[]) line: not available
SunJCE_k.a(boolean, String, byte[], byte[]) line: not available
SunJCE_f.a(int, Key, AlgorithmParameterSpec, SecureRandom) line: not available
DESedeCipher.engineInit(int, Key, AlgorithmParameterSpec, SecureRandom) line: not available
Cipher.a(CipherSpi, int, int, Key, AlgorithmParameterSpec, AlgorithmParameters, SecureRandom) line: not available
Cipher.a(int, int, Key, AlgorithmParameterSpec, AlgorithmParameters, SecureRandom) line: not available
Cipher.init(int, Key, AlgorithmParameterSpec, SecureRandom) line: not available
Cipher.init(int, Key, AlgorithmParameterSpec) line: not available
PEMInputOutput.decrypt(byte[], String, char[]) line: 1066
PEMInputOutput.readKeyPair(BufferedReader, char[], String, String) line: 1034
PEMInputOutput.readPrivateKey(Reader, char[]) line: 285
PKeyRSA.initialize(IRubyObject[], Block) line: 214
PKeyRSA$INVOKER$i$0$0$initialize.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[], Block) line: not available
PKeyRSA$INVOKER$i$0$0$initialize(DynamicMethod).call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject, Block) line: 216
FunctionalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject, Block) line: 211
FunctionalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject, Block) line: 217
RubyClass.newInstance(ThreadContext, IRubyObject, IRubyObject, Block) line: 874
RubyClass$INVOKER$i$newInstance.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject, Block) line: not available
RubyClass$INVOKER$i$newInstance(JavaMethod$JavaMethodZeroOrOneOrTwoOrNBlock).call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject) line: 291
NormalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, ThreadContext, IRubyObject, IRubyObject, IRubyObject) line: 346
NormalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject) line: 204
CallTwoArgNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 59
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
RootNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 129
ASTInterpreter.INTERPRET_EVAL(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 96
ASTInterpreter.evalWithBinding(ThreadContext, IRubyObject, IRubyObject, Binding) line: 175
RubyKernel.evalCommon(ThreadContext, IRubyObject, IRubyObject[], Block, RubyKernel$EvalBinding) line: 1102
RubyKernel.eval19(ThreadContext, IRubyObject, IRubyObject[], Block) line: 1065
RubyKernel$INVOKER$s$0$3$eval19.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[], Block) line: not available
RubyKernel$INVOKER$s$0$3$eval19(DynamicMethod).call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[]) line: 178
FunctionalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject...) line: 70
FCallManyArgsNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 60
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[], Block) line: 112
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[]) line: 126
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject[]) line: 167
NormalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject...) line: 70
CallManyArgsNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 59
FCallOneArgNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 36
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject) line: 225
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, IRubyObject) line: 208
NormalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, ThreadContext, IRubyObject, IRubyObject, IRubyObject) line: 346
NormalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject, IRubyObject) line: 204
CallTwoArgNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 59
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
RescueNode.executeBody(Ruby, ThreadContext, IRubyObject, Block) line: 228
RescueNode.interpretWithJavaExceptions(Ruby, ThreadContext, IRubyObject, Block) line: 123
RescueNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 113
BeginNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 83
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_BLOCK(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 112
Interpreted19Block.evalBlockBody(ThreadContext, Binding, IRubyObject) line: 209
Interpreted19Block.yield(ThreadContext, IRubyObject, Binding, Block$Type) line: 160
Interpreted19Block.yieldSpecific(ThreadContext, Binding, Block$Type) line: 133
Block.yieldSpecific(ThreadContext) line: 99
ZYieldNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 25
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
EnsureNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 96
BeginNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 83
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, Block) line: 204
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, Block) line: 200
FunctionalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 177
FunctionalCachingCallSite(CachingCallSite).callIter(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 188
FCallOneArgBlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 34
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
ASTInterpreter.INTERPRET_BLOCK(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 112
Interpreted19Block.evalBlockBody(ThreadContext, Binding, IRubyObject) line: 209
Interpreted19Block.yield(ThreadContext, IRubyObject, IRubyObject, RubyModule, boolean, Binding, Block$Type, Block) line: 197
Interpreted19Block.yield(ThreadContext, IRubyObject, IRubyObject, RubyModule, boolean, Binding, Block$Type) line: 180
Interpreted19Block.yieldSpecific(ThreadContext, IRubyObject, IRubyObject, Binding, Block$Type) line: 143
Block.yieldSpecific(ThreadContext, IRubyObject, IRubyObject) line: 117
YieldTwoNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 31
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
IfNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 116
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
RescueNode.executeBody(Ruby, ThreadContext, IRubyObject, Block) line: 228
RescueNode.interpretWithJavaExceptions(Ruby, ThreadContext, IRubyObject, Block) line: 123
RescueNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 113
BeginNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 83
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
ASTInterpreter.INTERPRET_BLOCK(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 112
Interpreted19Block.evalBlockBody(ThreadContext, Binding, IRubyObject) line: 209
Interpreted19Block.yield(ThreadContext, IRubyObject, Binding, Block$Type) line: 160
Interpreted19Block.yieldSpecific(ThreadContext, Binding, Block$Type) line: 133
Block.yieldSpecific(ThreadContext) line: 99
RubyKernel.loop(ThreadContext, IRubyObject, Block) line: 1390
RubyKernel$INVOKER$s$0$0$loop.call(ThreadContext, IRubyObject, RubyModule, String, Block) line: not available
FunctionalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, Block, ThreadContext, IRubyObject) line: 316
FunctionalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, Block) line: 145
FunctionalCachingCallSite(CachingCallSite).callIter(ThreadContext, IRubyObject, IRubyObject, Block) line: 154
FCallNoArgBlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 32
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
ASTInterpreter.INTERPRET_BLOCK(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 112
Interpreted19Block.evalBlockBody(ThreadContext, Binding, IRubyObject) line: 209
Interpreted19Block.yield(ThreadContext, IRubyObject, Binding, Block$Type) line: 160
Block.yield(ThreadContext, IRubyObject) line: 130
RubyContinuation.enter(ThreadContext, IRubyObject, Block) line: 107
RubyKernel.rbCatch19Common(ThreadContext, IRubyObject, Block) line: 1180
RubyKernel.rbCatch19(ThreadContext, IRubyObject, IRubyObject, Block) line: 1173
RubyKernel$INVOKER$s$rbCatch19.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, Block) line: not available
FunctionalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, Block, ThreadContext, IRubyObject, IRubyObject) line: 336
FunctionalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 179
FunctionalCachingCallSite(CachingCallSite).callIter(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 188
FCallOneArgBlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 34
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, Block) line: 161
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String, Block) line: 184
NormalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, Block, ThreadContext, IRubyObject) line: 316
NormalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, Block) line: 145
NormalCachingCallSite(CachingCallSite).callIter(ThreadContext, IRubyObject, IRubyObject, Block) line: 154
CallNoArgBlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 64
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String) line: 139
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String) line: 176
NormalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, ThreadContext, IRubyObject) line: 306
NormalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject) line: 136
CallNoArgNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 64
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
ASTInterpreter.INTERPRET_BLOCK(Ruby, ThreadContext, String, int, Node, String, IRubyObject, Block) line: 112
Interpreted19Block.evalBlockBody(ThreadContext, Binding, IRubyObject) line: 209
Interpreted19Block.yield(ThreadContext, IRubyObject, Binding, Block$Type) line: 160
Block.yield(ThreadContext, IRubyObject) line: 130
RubyContinuation.enter(ThreadContext, IRubyObject, Block) line: 107
RubyKernel.rbCatch19Common(ThreadContext, IRubyObject, Block) line: 1180
RubyKernel.rbCatch19(ThreadContext, IRubyObject, IRubyObject, Block) line: 1173
RubyKernel$INVOKER$s$rbCatch19.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject, Block) line: not available
FunctionalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, Block, ThreadContext, IRubyObject, IRubyObject) line: 336
FunctionalCachingCallSite(CachingCallSite).callBlock(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 179
FunctionalCachingCallSite(CachingCallSite).callIter(ThreadContext, IRubyObject, IRubyObject, IRubyObject, Block) line: 188
FCallOneArgBlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 34
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
EnsureNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 96
BeginNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 83
NewlineNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 105
BlockNode.interpret(Ruby, ThreadContext, IRubyObject, Block) line: 71
ASTInterpreter.INTERPRET_METHOD(Ruby, ThreadContext, String, int, RubyModule, Node, String, IRubyObject, Block, boolean) line: 75
InterpretedMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject) line: 182
DefaultMethod.call(ThreadContext, IRubyObject, RubyModule, String, IRubyObject) line: 192
NormalCachingCallSite(CachingCallSite).cacheAndCall(IRubyObject, RubyClass, ThreadContext, IRubyObject, IRubyObject) line: 326
NormalCachingCallSite(CachingCallSite).call(ThreadContext, IRubyObject, IRubyObject, IRubyObject) line: 170
irb.__file__(irb, ThreadContext, IRubyObject, IRubyObject[], Block) line: 13
irb.load(ThreadContext, IRubyObject, boolean) line: not available
Ruby.runScript(Script, boolean) line: 770
Ruby.runScript(Script) line: 763
Ruby.runNormally(Node) line: 640
Ruby.runFromMain(InputStream, String) line: 489
Main.doRunFromMain(Ruby, InputStream, String) line: 375
Main.internalRun() line: 264
Main.run() line: 230
Main.run(String[]) line: 214
Main.main(String[]) line: 194
decoded (id=260)
dekInfo "DES-EDE3-CBC,E2C48B03777E8573" (id=261)
passwd (id=262)
tknz StringTokenizer (id=263)
algorithm "DES-EDE3-CBC" (id=267)
iv (id=268)
cipher String[5] (id=269)
realName "DESede/CBC/PKCS5Padding" (id=249)
lengths (id=271)
keyLen 24
ivLen 8
salt (id=272)
pGen OpenSSLPBEParametersGenerator (id=274)
param KeyParameter (id=283)
secretKey SecretKeySpec (id=286)
c Cipher (id=148)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment