Skip to content

bug: morphe key alias bug #158

@Graywizard888

Description

@Graywizard888

Bug description

There is no matter how many times I delete old morphe cli generated keystore this issue is keeps coming

Error logs

INFO: Using legacy keystore credentials 
SEVERE: An unexpected error occurred: Keystore does not contain entry with alias Morphe Key 
java.lang.IllegalArgumentException: Keystore does not contain entry with alias Morphe Key
	at app.morphe.patcher.apk.ApkSigner.readPrivateKeyCertificatePair(ApkSigner.kt:163)
	at app.morphe.patcher.apk.ApkUtils.readPrivateKeyCertificatePairFromKeyStore(ApkUtils.kt:148)
	at app.morphe.patcher.apk.ApkUtils.signApk(ApkUtils.kt:175)
	at app.morphe.cli.command.PatchCommand.call$lambda$14$0$signApk(PatchCommand.kt:840)
	at app.morphe.cli.command.PatchCommand.call$lambda$14$0(PatchCommand.kt:862)
	at app.morphe.cli.command.model.PatchingResultKt.addStepResult(PatchingResult.kt:24)
	at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:836)
	at app.morphe.cli.command.PatchCommand.call(PatchCommand.kt:55)
	at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
	at picocli.CommandLine.access$1500(CommandLine.java:148)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2423)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
	at picocli.CommandLine.execute(CommandLine.java:2174)
	at app.morphe.MorpheLauncherKt.main(MorpheLauncher.kt:23)
INFO: Purged this session's temp files: patching-1780112441207

Solution

No response

Additional context

No response

Acknowledgements

  • I have checked all open and closed bug reports and this is not a duplicate.
  • I have chosen an appropriate title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions