[Title] Fix bug: signing cannot be done with plain text
authorho.namkoong <ho.namkoong@samsung.com>
Tue, 15 Jan 2013 08:27:39 +0000 (17:27 +0900)
committerho.namkoong <ho.namkoong@samsung.com>
Tue, 15 Jan 2013 08:27:39 +0000 (17:27 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#] 7960
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I6156c2063a87d3517c9ec619baaba165aad66d81

org.tizen.common.sign/src/org/tizen/common/sign/util/SigningProfileUtil.java

index 18f8e52..d0cec50 100644 (file)
@@ -444,14 +444,7 @@ public class SigningProfileUtil
                                 try {
                                     pass = CipherUtil.getDecryptedString(pass);
                                 }
-                                catch (InvalidKeyException e)
-                                {
-                                    logger.error("Exception occurred while decrypting signing password", e);
-                                }
-                                catch (IllegalBlockSizeException e)
-                                {
-                                    logger.error("Exception occurred while decrypting signing password", e);
-                                } catch (BadPaddingException e)
+                                catch (Exception e)
                                 {
                                     logger.error("Exception occurred while decrypting signing password", e);
                                 }