Implemented CRUD functions for GPG keys

- Implemented CRUD functions for GPG keys
- Renamed `read_partition_script` helper function to `read_data_file` so that we can use the same function everywhere in codebase