Skip to content

Encryption of files within ASAR - Where is the mount point? #24681

Closed

Description

@onimac92

Hi,

We’ve been looking for a way to protect the packaged ASAR from cursory inspection (with asar -extract) and wanted to encrypt files within it before packaging. Obviously modifying and rebuilding Electron is necessary, therefore myself and a colleague have been trawling through source to find the point at which the ASAR package is mounted / read

What we’d like to do is obfuscate and bake the decryption key within the Electron executable itself, then decrypt files within the ASAR when a seek within the ASAR happens.

Can anyone with experience of the source point us to where this might be?

Thanks.

Activity

  1. codebytere commented on Jul 22, 2020

    @codebytere
    Member

    Thanks for reaching out!

    Because we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options.
    Check out the Electron community. There are also a bunch of helpful people in this community forum that should be willing to point you in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions