Skip to content

Decrypt embedded encrypted content #4

@gjwgit

Description

@gjwgit

Description

The read_encrypted tool works great. Sometimes there is embedded encrypted data within the decrypted data. Can that be recognised and decrypted as well?

Why

So that as a user I can get fully decrypted data.

Closing Criteria

Checklist for closing the issue:

  • All tests pass
  • For notepod data files extract the title and the content of the note.

Alternatives

Alternatively, a separate script that will decrypt the string as saved into a file decrypt_file.

Additional Context

For example, with the notepod app I can decrypt one level to get:

solid@solidcommunityau:~$ python3 read_encrypted.py server/watson02/notepod/data/note-20251001T085544.ttl
Security Key: 
@prefix : <#>.
      @prefix foaf: <http://xmlns.com/foaf/0.1/>.
      @prefix terms: <http://purl.org/dc/terms/>.
      @prefix notepodTerms: <https://solidcommunity.au/predicates/terms#>.
      :me
          a foaf:PersonalProfileDocument;
          terms:title "Note";
          notepodTerms:createdDateTime "20251001T085544";
          notepodTerms:modifiedDateTime "20251001T085544";
          notepodTerms:noteTitle "bb";
          notepodTerms:noteContent "3JBoN1TjjkndQowxrZt1lA==".

The noteContent is also encrypted. Can that be auto recognised and further decrypted?

Metadata

Metadata

Assignees

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