go-passbolt icon indicating copy to clipboard operation
go-passbolt copied to clipboard

New Resource Struct

Open speatzle opened this issue 1 month ago • 0 comments

The existing Approach with the Static Resource Struct has had its problems since the introduction of ResourceTypes.

Define a New Resource Struct which stores the metadata and secret as a map instead of individual fields. Add Helper functions on this New Struct to Simpifly Access to the fields. These helpers should automatically fetch The Secret Portion (perhaps also the Metadata) if it is not known and decrypt on the Fly. This should also cache the decrypted values.

speatzle avatar Nov 11 '25 10:11 speatzle