Skip to content

Commit

Permalink
Merge pull request #53 from serenity-kit/upgrade-libsodium
Browse files Browse the repository at this point in the history
chore: upgrade libsodium to 1.0.19
  • Loading branch information
nikgraf authored Nov 28, 2023
2 parents 8e60f77 + b37be23 commit fac49dc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ To publish new versions, run the following:
yarn release
```

### Upgrade Libsodium c library

Download a the new minisig file e.g. `libsodium-1.0.19-stable.tar.gz.minisig` to `./libsodium`. Update the version in `./libsodium/build.sh` and run `cd libsodium && ./build.sh` to build the new library.

### Scripts

The `package.json` file contains various scripts for common tasks:
Expand Down
2 changes: 1 addition & 1 deletion libsodium/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd $script_dir

source_file='libsodium-1.0.18-stable.tar.gz'
source_file='libsodium-1.0.19-stable.tar.gz'
source_dir='libsodium-stable'
build_dir='build'

Expand Down
Binary file modified libsodium/build.tgz
Binary file not shown.
Binary file removed libsodium/libsodium-1.0.18-stable.tar.gz
Binary file not shown.
4 changes: 0 additions & 4 deletions libsodium/libsodium-1.0.18-stable.tar.gz.minisig

This file was deleted.

4 changes: 4 additions & 0 deletions libsodium/libsodium-1.0.19-stable.tar.gz.minisig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
untrusted comment: signature from minisign secret key
RUQf6LRCGA9i540gXY9hLA5lPk5UCMZ37cmOVCEkNGMqjk/Kys9EBX06Rj2jLilbRnao4wUjXf/SYQ2OH6wkD54lt9Xr/0V1JAc=
trusted comment: timestamp:1701131736 file:libsodium-stable.tar.gz hashed
LCktgn5SS5UPc/AJdSuyQAHBa98ENEa1WFdHlbMXrbEqh8uPj+xfd1Gro7xzZvzqU0LlbZPtzpIekC1o0lrwBw==

0 comments on commit fac49dc

Please sign in to comment.