Skip to content

Commit

Permalink
v1.0.0-beta.4: dotsig on Windows, Linux, MacOS with support for ECDSA…
Browse files Browse the repository at this point in the history
… and PKCS
  • Loading branch information
evias committed May 9, 2024
1 parent 7814f47 commit 32a26c4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 6 deletions.
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v1.0.0-beta.4 - 2024-05-09

### Added

- build: add installers config (cpack) and fix windows builds
- docs: add Windows build instructions
- feat: use std::filesystem::path for storage path building

### Changed

- fix: add binary-mode switch for DataSource_Stream imports
- fix: use std::filesystem for get_storage_path() (windows fix)

## v1.0.0-beta.3 - 2024-05-08

### Added
Expand Down Expand Up @@ -34,5 +47,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Create and verify digital signatures with PKCS using files and/or stdin.


v1.0.0-beta: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta
v1.0.0-beta.3: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta.3
## All Versions

- v1.0.0-beta: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta
- v1.0.0-beta.3: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta.3
- v1.0.0-beta.4: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta.4
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ You can find the reference documentation [here][docs].
This software is released under the [3-Clause BSD License](./LICENSE).

[![Latest release](https://img.shields.io/github/v/release/evias/dotsig)](#releases)
[![Total downloads](https://img.shields.io/github/downloads/evias/dotsig/total)][download]
[![Reference documentation](https://img.shields.io/badge/Reference%20documentation-blue)][docs]
[![3-Clause BSD License](https://img.shields.io/github/license/evias/dotsig)](./LICENSE)
[![Contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)][issues]
Expand All @@ -17,7 +18,7 @@ This software is released under the [3-Clause BSD License](./LICENSE).
The `dotsig` software is currently under active development and frequent changes
to the source code *are to be expected* until the software reaches a stable tag.

The latest release as of May 8th 2024 is: `v1.0.0-beta.3`.
The latest release as of May 8th 2024 is: [`v1.0.0-beta.4`][download].

Use `dotsig -v` to find out the version installed on your system.

Expand Down Expand Up @@ -77,7 +78,8 @@ package. This is currently the preferred method to build the `dotsig` software.
cd build
cmake ..
cmake --build .
cmake --build . --target install
cmake --build . --target install -- DESTDIR=stage
cd stage/usr/local/bin
```

:soon: In the short-to-mid-term future, I plan to enable the installations using
Expand All @@ -97,6 +99,31 @@ cmake --build . --target install -- DESTDIR=stage
cd "stage/Program Files (x86)/dotsig/bin"
```

#### Creating installer packages

The `cpack` utility can be used to create installer packages for different OSs.
It is more comfortable for the end-user to receive an installer package rather
than being able to download only the binaries, for Windows it is also necessary
because of the `botan-3.dll` file that is needed to run the software.

To create an installer package *after* having built your source tree with one of
the above commands, and using the corresponding operating system, use:

```bash
# MacOS .sh, .tar.gz, .pkg
cpack -G "STGZ"
cpack -G "TGZ"
cpack -G "productbuild"

# Linux .tar.gz, .deb, .rpm
cpack -G "TGZ"
cpack -G "DEB"
cpack -G "RPM"

# Windows .zip
cpack -G "ZIP"
```

### Installing the user manual

A `man` user manual is available with `docs/dotsig.1`, you can install it on your
Expand Down Expand Up @@ -159,7 +186,7 @@ Copyright 2024 Grégory Saive <[email protected]> for re:Software S.L. (resoftware.es)
Licensed under the [3-Clause BSD License](./LICENSE).

[self]: https://github.com/evias/dotsig
[download]: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta.3
[download]: https://github.com/evias/dotsig/releases/tag/v1.0.0-beta.4
[docs]: https://evias.be/dotsig/v1.0.0-beta/index.html
[issues]: https://github.com/evias/dotsig/issues
[botan-src]: https://github.com/randombit/botan
Expand Down
2 changes: 1 addition & 1 deletion src/dotsig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <iostream> // std::cout
#include <initializer_list> // std::initializer_list

const dotsig::SEMVER_VERSION dotsig::VERSION = {1,0,0, "beta.3"};
const dotsig::SEMVER_VERSION dotsig::VERSION = {1,0,0, "beta.4"};

int dotsig::print_usage() {
std::cout
Expand Down

0 comments on commit 32a26c4

Please sign in to comment.