Skip to content
  • drebs's avatar
    [refactor] pass soledad object to client secrets api · b433c1ed
    drebs authored
    In order to be able to change passphrase, token and offline status of
    soledad from the bitmask client api, the secrets api also has to be able
    to use up-to-date values when encrypting/decrypting secrets and
    uploading/downloading them to the server. This commit makes public some
    soledad attributes that were previously "private" (i.e. used to start
    with "_" and were not meant to be accessed from outside), and passes the
    whole soledad object to the client secrets api. This makes the code
    cleaner and also allows for always getting newest values of soledad
    attributes.
    b433c1ed