# Functions
No description provided by the author
DecryptPart decrypts one of the file parts using the gpp protocol with the following logic from the sendsafely docs https://sendsafely.zendesk.com/hc/en-us/articles/360027599232-SendSafely-REST-API under b.
No description provided by the author
FileSizeCheck this is to help us be aware of future patterns in the sendsafely api, often it will return a different size than it actually encountered in reality, these files are so far always usable so we are just going to log the difference.
No description provided by the author
No description provided by the author
NewClient is the preferred way to initialize SendSafelyClient.
No description provided by the author
No description provided by the author
# Structs
APIParser stores the jsonParser so it can be shared between operations, this mainly benefits the parsing of the file parts.
No description provided by the author
Client uses the SendSafely REST Api to enable automation of SendSafely in Go.
DownloadURL provides the part id and the actual url to get the file the Part field tells you the order of the parts so you can reconstruct the file after downloading it https://bump.sh/doc/sendsafely-rest-api#operation-post-package-parameter-file-parameter-download-urls.
File are curious as near as they do not match the SendSafely documentation for what a package returns This was discovered by returning the values.
GopenPGP is used as a "namespace" for many of the functions in this package.
No description provided by the author
Package is the struct we need that maps to the fields here: https://bump.sh/doc/sendsafely-rest-api#operation-getpackageinformation this is intentionally not complete as we do nto need all the fields.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author