Election-Tech-Initiative / Election-Tech-Initiative/electionguard-python

✨ Store Encryption Package File in Mongo

Open
#719 0 comments 0 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Python
Stars
168
Forks
103
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Suggestion

The encryption package is currently saved in the file system because Mongo doesn't support file sizes over 16 Meg. However, storing it in the database would be cleaner.

### Possible Implementation

Use GridFS: https://www.mongodb.com/docs/manual/core/gridfs/

### Anything else?

See [election_service.py](https://github.com/microsoft/electionguard-python/pull/718/files#diff-99d0dc5a77c718208e6a3f7f001e7680f76e14ef42b3a0d783bae29a22426b04)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.