leanflutter / auto_updater

This plugin allows Flutter desktop apps to automatically update themselves (based on sparkle and winsparkle).
MIT License
285 stars 41 forks source link

Using the same private key on a different machine breaks #20

Closed ollyde closed 2 years ago

ollyde commented 2 years ago
Screenshot 2022-06-19 at 11 04 13

Cannot upload from a new machine since the private key generated doesn't work.

ollyde commented 2 years ago

For anyone else who is stuck. The auto-updater doesn't work. Also importing manually via UI does not work.

You need to manually import using command line. security import /Users/oliverdixon/Projects/bap/flutter/dsa_priv.pem -k ~/Library/Keychains/login.keychain security import /Users/oliverdixon/Projects/bap/flutter/dsa_pub.pem -k ~/Library/Keychains/login.keychain

@lijy91 would be great to add this to the docs.