Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/shared-mime-reader.md

This file was deleted.

7 changes: 7 additions & 0 deletions apps/outlook-addon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.0.1

### Patch Changes

- Updated dependencies [5fd30b7]
- @e4a/pg-js@2.4.0

## 1.0.0

Built and released from the `postguard-js` monorepo, against the workspace copy of `@e4a/pg-js`. Releases are tagged `outlook-addin-v*` and managed by changesets; release-please is gone.
Expand Down
2 changes: 1 addition & 1 deletion apps/outlook-addon/manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp">
<Id>149e61a5-f295-4bcd-be3a-1a6114166f26</Id>
<Version>1.0.0.0</Version>
<Version>1.0.1.0</Version>
<ProviderName>PostGuard</ProviderName>
<DefaultLocale>en-US</DefaultLocale>
<DisplayName DefaultValue="PostGuard"/>
Expand Down
2 changes: 1 addition & 1 deletion apps/outlook-addon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postguard-outlook-addin",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"description": "PostGuard end-to-end email encryption for Outlook (new Outlook on Windows + macOS).",
"license": "MIT",
Expand Down
7 changes: 7 additions & 0 deletions apps/tb-addon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# postguard-tb-addon

## 0.9.5

### Patch Changes

- Updated dependencies [5fd30b7]
- @e4a/pg-js@2.4.0

## 0.9.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/tb-addon/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"manifest_version": 3,
"version": "0.9.4",
"version": "0.9.5",
"name": "__MSG_appName__",
"description": "End-to-end email encryption using identity-based encryption and Yivi",
"default_locale": "en",
Expand Down
2 changes: 1 addition & 1 deletion apps/tb-addon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postguard-tb-addon",
"version": "0.9.4",
"version": "0.9.5",
"private": true,
"description": "PostGuard encryption extension for Thunderbird",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions apps/tb-addon/updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@
"strict_min_version": "128.0"
}
}
},
{
"version": "0.9.5",
"update_link": "https://github.com/encryption4all/postguard-js/releases/download/tb-addon-v0.9.5/postguard-tb-addon-0.9.5.xpi",
"applications": {
"gecko": {
"strict_min_version": "128.0"
}
}
}
]
}
Expand Down
7 changes: 7 additions & 0 deletions apps/website/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.8.3

### Patch Changes

- Updated dependencies [5fd30b7]
- @e4a/pg-js@2.4.0

## 1.8.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postguard-website",
"version": "1.8.2",
"version": "1.8.3",
"private": true,
"engines": {
"node": ">=20"
Expand Down
13 changes: 13 additions & 0 deletions packages/pg-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @e4a/pg-js

## 2.4.0

### Minor Changes

- 5fd30b7: Export the MIME reader, PostGuard detection and the archival armor readers, so both add-ins read the envelope through one implementation instead of two hand-rolled copies.

New exports: `parseDecryptedMime`, `readMimeHeader`, `bodyFromMime`, `isMultipart`, `detectPostGuard`, `extractArmoredCiphertext`, `looksLikeArmoredPostGuard`, `POSTGUARD_ENCRYPTED_FILENAME`, and the `ParsedMessage` / `ParsedAttachment` / `DetectPostGuardInput` types. Additive only — no existing signature changes.

Two fixes came out of the move:

- **Quoted-printable bodies with non-ASCII characters were decoded wrong.** Each `=XX` was mapped through `String.fromCharCode`, giving one character per octet, so `caf=C3=A9` read back as `café` rather than `café`. The byte path compounded it by re-encoding that as UTF-8, doubling every octet above 0x7f and silently corrupting quoted-printable attachments. Octets are now collected and decoded once.
- `extractCiphertext`'s documentation claimed it read "attachment or armored body". It has only ever read the attachment. The armor path is now a separate, explicitly archival export, which is what `COMPATIBILITY.md`'s never-drops guarantee for stored artifacts actually requires.

## 2.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pg-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@e4a/pg-js",
"version": "2.3.4",
"version": "2.4.0",
"type": "module",
"sideEffects": false,
"description": "Browser SDK for PostGuard — end-to-end encrypted file sharing with identity-based encryption",
Expand Down