Skip to content

Error: Private key not found in the argument. Please provide a valid key. #2670

Closed
@YoavGro

Description

@YoavGro

Description of the problem

Using sparkle in Github actions, copied the private key to the secrets.
Using this to copy the private key to a file

  echo "$SPARKLE_PRIVATE_KEY" > sparkle_private_key
  echo -n "$SPARKLE_PRIVATE_KEY" > ./Sparkle/sparkle_private_key

And using this to update the appcast with a new item

      ./Sparkle/generate_appcast \
          --ed-key-file Sparkle/sparkle_private_key \
          --phased-rollout-interval 86400 \
          -o Sparkle/appcast.xml \
          artifacts/<appName>

Getting this error
"Error: Private key not found in the argument. Please provide a valid key."

Do you use Sandboxing in your app? No

Version of Sparkle.framework in the latest version of your app

I'm currently using a hardcopy of the generate_appcast file from my latest build

Version of Sparkle.framework in the old version of app that your users have (or N/A)

Sparkle's output from Console.app


Steps to reproduce the behavior

[The more information provided and pasted verbatim, the easier it will be to diagnose an issue. If you can provide the affected application/binary and XML feed to reproduce an issue, share them]

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