Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Decide on save game format #12

Open
jbheard opened this issue Mar 28, 2020 · 1 comment
Open

Decide on save game format #12

jbheard opened this issue Mar 28, 2020 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@jbheard
Copy link
Contributor

jbheard commented Mar 28, 2020

How should we go about saving the game to a file?

I think that pickling the data could be good, but since the data will be from a user (i.e. no guarantee it comes from our program), pickle might not be a good choice for security reasons.

We could probably dump it into a yaml file, but then it is very easy for users to cheat
(providing their own values), and it could require some extra work to set up the file format.

@jbheard jbheard added enhancement New feature or request question Further information is requested labels Mar 28, 2020
@jbheard
Copy link
Contributor Author

jbheard commented Oct 18, 2020

Is it possible to calculate an HMAC and/or encrypt the pickled data?
I think this would require some kind of secret, which would be less than ideal (imagine needing a password to access your game saves).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant