Skip to content

Releases: safeinsights/encryption

v1.1.1

25 Feb 06:18
9944792

Choose a tag to compare

PR # Author Title Merged Date
#13 philschatz
update: minimatch vulnerability
Fixes GHSA-3ppc-4f35-3m26
2026-02-23

v1.1.0

10 Feb 21:16
1128c69

Choose a tag to compare

PR # Author Title Merged Date
#12 sparksam
SHRIMP-152
Updated the dev dependencies to use the latest vitest, happy-dom and prettier
2026-01-29
#11 battibatch Update ci 2026-01-29

v1.0.0

02 Sep 20:05
75ea533

Choose a tag to compare

PR # Author Title Merged Date
#9 nathanstitt
update dependencies, fix TS error
the updated types exposed an incompatibility in the reader:

job-results/reader.ts:114:17 - error TS2322: Type 'Uint8Array' is not assignable to type 'BufferSource'.
Type 'Uint8Array' is not assignable to type 'ArrayBufferView'.
2025-08-14
#8 chrisbendel Add logs in reader/writer 2025-05-28
#7 nathanstitt
Extract some methods that management app used
Some methods that we used in the management app are probably better suited here

https://github.com/safeinsights/management-app/blob/abc680c57588c4cf29f8d8ae345ccf61840ffba2/src/app/member/%5BmemberIdentifier%5D/study/%5BstudyIdentifier%5D/review/study-results.tsx#L16-L59
2025-04-17
#6 nathanstitt
add methods for keys stored as stringified Buffer
The management app will be storing the public key as binary data (implemented in safeinsights/management-app#91)

because:
* its a bit more efficient both to store and transfer
* doing so prevents the possibility of confusing it with a string

In api methods the keys are converted to a JSON structure like:
<br>"publicKey":{<br> "type":"Buffer",<br> "data": [48,130,2,34,48,13,6,9,42,134,72,134,247, .... ]<br>}<br>

That's easy to parse because you can new Uint8Array(publicKey.data) vs converting to/from hex everywhere.

This adds a few methods and test for this, happy to rework or add other things y'all might find helpful. There are a lot of other methods in the utils.ts file dealing with PEM encoding, which we maybe could remove, but I didn't want to until we know more about how the lib will be used
2025-03-20
#5 chrisbendel
Remove code that generates a public key from a private key (fingerprint calculation)
> Removes code that generates a public key from a private key because that crypto call was not working in the browser.
> - Phil
2025-03-19
#4 chrisbendel Generate keypairs 2025-03-13
#3 kswanson33 prepare ResultsReader to decrypt results 2025-03-13
#2 kswanson33 export some stuff to calculate fingerprint 2025-03-10
#1 kswanson33 add stuff before closing zip 2025-03-06