Skip to content

Commit

Permalink
release(version): Release 1.0.0 [skip ci]
Browse files Browse the repository at this point in the history
# 1.0.0 (2020-01-10)

### Features

* initial commit ([b1db73b](b1db73b))
  • Loading branch information
semantic-release-bot committed Jan 10, 2020
1 parent b1db73b commit 1250383
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.0 (2020-01-10)


### Features

* initial commit ([b1db73b](https://github.com/OpenCerts/verify/commit/b1db73b17a818f15403d1511a8e5d4ea9ef6cdc6))

## [1.6.2](https://github.com/rjchow/nod/compare/v1.6.1...v1.6.2) (2019-12-31)


Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,16 @@ console.log(isValid(fragments)); // display true

`OpencertsRegistryVerifier` is a new verifier specific to [Opencerts](https://opencerts.io) documents:

- it ensures document `ISSUER_IDENTITY` and works closely with `OpenAttestationDnsTxt` verifier (see `isValid` below)
- it returns a `VALID` fragment if at least one of the issuer is in [Opencerts registry](https://opencerts.io/static/registry.json)
- it returns a `SKIPPED` fragment if none of the issuers is in the registry.
- it ensures document `ISSUER_IDENTITY` and works closely with `OpenAttestationDnsTxt` verifier (see `isValid` below)
- it returns a `VALID` fragment if at least one of the issuer is in [Opencerts registry](https://opencerts.io/static/registry.json)
- it returns a `SKIPPED` fragment if none of the issuers is in the registry.

### isValid

With the addition of `OpencertsRegistryVerifier` verifier, different rules apply for `ISSUER_IDENTITY` type verifiers:

- `ISSUER_IDENTITY` is valid if at least one issuer is in the registry, i.e. if `OpencertsRegistryVerifier` has status `VALID`
- if `OpencertsRegistryVerifier` doesn't have `VALID` status then all issuers must have valid DNS-TXT record.
- `ISSUER_IDENTITY` is valid if at least one issuer is in the registry, i.e. if `OpencertsRegistryVerifier` has status `VALID`
- if `OpencertsRegistryVerifier` doesn't have `VALID` status then all issuers must have valid DNS-TXT record.

## API

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@govtechsg/opencerts-verify",
"version": "0.0.0-development",
"version": "1.0.0",
"description": "Library to verify any opencerts document",
"license": "GPL-3.0",
"repository": {
Expand Down

0 comments on commit 1250383

Please sign in to comment.