Skip to content

Commit

Permalink
Merge pull request #446 from wultra/develop
Browse files Browse the repository at this point in the history
Merge changes for release 1.4.0 into master branch
  • Loading branch information
zcgandcomp authored Dec 15, 2022
2 parents cb12705 + 0917685 commit d107956
Show file tree
Hide file tree
Showing 18 changed files with 395 additions and 60 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,9 @@ jobs:
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -54,7 +49,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -68,4 +63,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
16 changes: 16 additions & 0 deletions .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Run Coverity scan and upload results

on:
workflow_dispatch:
schedule:
- cron: '0 10 1 * *' # monthly


jobs:
coverity-scan:
uses: wultra/wultra-infrastructure/.github/workflows/coverity-scan.yml@develop
secrets: inherit
with:
project-name: ${{ github.event.repository.name }}
version: ${{ github.sha }}
description: ${{ github.ref }}
48 changes: 48 additions & 0 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Deploy with Maven

on:
workflow_dispatch:
branches:
- 'develop'
- 'master'
- 'releases/*'
- 'test/ci'
inputs:
release_type:
type: choice
description:
default: snapshot
options:
- snapshot
- release
environment:
type: environment
default: internal-publish
description: internal or external repository
push:
branches:
- 'develop'
- 'test/ci'

jobs:
maven-deploy-push:
if: ${{ github.event_name == 'push' }}
name: Deploy to jfrog
uses: wultra/wultra-infrastructure/.github/workflows/maven-deploy.yml@develop
with:
environment: internal-publish
release_type: snapshot
secrets:
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}

maven-deploy-manual:
if: ${{ github.event_name == 'workflow_dispatch' }}
name: Deploy by parameter
uses: wultra/wultra-infrastructure/.github/workflows/maven-deploy.yml@develop
with:
environment: ${{ inputs.environment }}
release_type: ${{ inputs.release_type }}
secrets:
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
18 changes: 18 additions & 0 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test with Maven

on:
workflow_dispatch:
push:
branches:
- 'master'
- 'releases/**'
pull_request:
branches:
- 'develop'
- 'master'
- 'releases/**'

jobs:
maven-tests:
uses: wultra/wultra-infrastructure/.github/workflows/maven-test.yml@develop
secrets: inherit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# PowerAuth

[![Coverity Scan Build Status](https://scan.coverity.com/projects/16631/badge.svg)](https://scan.coverity.com/projects/wultra-powerauth-crypto)
[![Build Status](https://travis-ci.org/wultra/powerauth-crypto.svg?branch=master)](https://travis-ci.org/wultra/powerauth-crypto)
[![Test with Maven](https://github.com/wultra/powerauth-crypto/actions/workflows/maven-test.yml/badge.svg)](https://github.com/wultra/powerauth-crypto/actions/workflows/maven-test.yml)
[![GitHub issues](https://img.shields.io/github/issues/wultra/powerauth-crypto.svg?maxAge=2592000)](https://github.com/wultra/powerauth-crypto/issues)
[![Maven Central](https://img.shields.io/maven-central/v/io.getlime.security/powerauth-java-crypto.svg?maxAge=2592000)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.getlime.security%22)
[![Twitter](https://img.shields.io/badge/twitter-@wultra-blue.svg?style=flat)](http://twitter.com/wultra)
Expand Down
70 changes: 70 additions & 0 deletions docs/PowerAuth-2022.05.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# PowerAuth 2022.05

## Migration guides

For updating to 2022.05, please follow these migration guides:

- [PowerAuth Server - Migration from version 1.2.5 to version 1.3.0](https://github.com/wultra/powerauth-server/blob/develop/docs/PowerAuth-Server-1.3.0.md)
- [PowerAuth Push Server - Migration from version 1.2.5 to version 1.3.0](https://github.com/wultra/powerauth-push-server/blob/develop/docs/PowerAuth-Push-Server-1.3.0.md)
- [PowerAuth Web Flow - Migration from version 1.2.0 to version 1.3.0](https://github.com/wultra/powerauth-webflow/blob/develop/docs/Web-Flow-1.3.0.md)
- [PowerAuth Mobile SDK - Migration from version 1.6.0 to version 1.7.0](https://github.com/wultra/powerauth-mobile-sdk/blob/develop/docs/Migration-from-1.6-to-1.7.md)

## Components for version 2022.05

### Back-End Applications

| Component | Application Name | Version | Description |
|---|---|---|---|
| PowerAuth Server | `powerauth-java-server.war` | 1.3.0 | Core back-end component for PowerAuth stack. |
| PowerAuth Admin | `powerauth-admin.war` | 1.3.0 | Administration console for PowerAuth Server. |
| PowerAuth Push Server | `powerauth-push-server.war` | 1.3.0 | Simple to deploy push server for APNS and FCM. |
| PowerAuth Web Flow | `powerauth-webflow.war` | 1.3.0 | Central web authentication page. |
| PowerAuth Next Step | `powerauth-next-step.war` | 1.3.0 | Authorization server used for PowerAuth Web Flow component. |
| PowerAuth Data Adapter | `powerauth-data-adapter.war` | 1.3.0 | Customization component for PowerAuth Web Flow. |
| PowerAuth Tpp Engine | `powerauth-tpp-engine.war` | 1.3.0 | Third party provider registry and consent engine. |

### Utilities

| Component | Application Name | Version | Description |
|---|---|---|---|
| PowerAuth Command Line Tool | `powerauth-java-cmd.jar` | 1.3.0 | Command line tool for integration testing. |

### Mobile Libraries

| Platform | Package Name | Version | Description |
|---|---|---|---|
| iOS | `PowerAuth2` | 1.7.0 | A client library for iOS. |
| watchOS | `PowerAuth2ForWatch` | 1.7.0 | A limited library for watchOS. |
| iOS App Extensions | `PowerAuth2ForExtensions` | 1.7.0 | A limited library for iOS App Extensions. |
| Android | `com.wultra.android.powerauth:powerauth-sdk` | 1.7.0 | A client library for Android. |

### Back-End Integration Libraries

| Component | Library Name | Version | Description |
|---|---|---|---|
| PowerAuth RESTful Model | `powerauth-restful-model.jar` | 1.3.0 | Model classes for request and response objects used in PowerAuth Standard RESTful API. |
| PowerAuth RESTful API Security for Spring | `powerauth-restful-security-spring.jar` | 1.3.0 | High-level integration libraries for RESTful API security, build for Spring MVC. |
| PowerAuth SOAP Client for Spring WS | `powerauth-java-client-spring.jar` | 1.3.0 | SOAP service client for PowerAuth Server service, built using Spring WS. |
| PowerAuth Push Server RESTful Model | `powerauth-push-model.jar` | 1.3.0 | Model classes for request and response objects used in PowerAuth Push Server. |
| PowerAuth Push Server RESTful Client | `powerauth-push-client.jar` | 1.3.0 | Client implementation that simplifies integration with PowerAuth Push Server service. |
| PowerAuth Data Adapter RESTful Model | `powerauth-data-adapter-model.jar` | 1.3.0 | Model classes for request and response objects used in PowerAuth Data Adapter component. |
| PowerAuth Data Adapter Client | `powerauth-data-adapter-client.jar` | 1.3.0 | Client implementation that simplifies integration with PowerAuth Data Adapter custom component. |
| PowerAuth Next Step RESTful Model | `powerauth-nextstep-model.jar` | 1.3.0 | Model classes for request and response objects used in PowerAuth Next Step service. |
| PowerAuth Next Step Client | `powerauth-nextstep-client.jar` | 1.3.0 | Client implementation that simplifies integration with PowerAuth Next Step service. |
| PowerAuth Mobile Token Model | `mtoken-model.jar` | 1.3.0 | Model classes for request and response objects used in PowerAuth Mobile Token. |

### Technical Dependencies

| Component | Library Name | Version | Description |
|---|---|---|---|
| PowerAuth Cryptography | `powerauth-java-crypto.jar` | 1.3.0 | Core cryptography implementation of the PowerAuth protocol. |
| PowerAuth HTTP Utilities | `powerauth-java-http.jar` | 1.3.0 | Utilities used for binding PowerAuth cryptography to HTTP technology. |
| PowerAuth Command-Line Tool Library | `powerauth-java-cmd-lib.jar` | 1.3.0 | Library used for implementation of the PowerAuth Command-Line Tool app, useful for unit testing. |
| PowerAuth RESTful Security Spring | `powerauth-restful-security-spring.jar` | 1.3.0 | Spring integration library for RESTful API security. |
| Wultra Java Networking Objects | `rest-model-base.jar` | 1.5.1 | Base classes for RESTful API networking, shared across all Wultra back-end projects. |
| Wultra REST Client | `rest-client-base.jar` | 1.5.1 | Base RESTful client implementation, shared across all Wultra back-end projects. |
| Wultra Auditing Library | `audit-base.jar` | 1.5.1 | Base auditing library, shared across all Wultra back-end projects. |

## Known Issues When Updating From Older Versions

_No known issues so far._
70 changes: 70 additions & 0 deletions docs/PowerAuth-2022.12.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# PowerAuth 2022.12

## Migration guides

For updating to 2022.12, please follow these migration guides:

- [PowerAuth Server - Migration from version 1.3.0 to version 1.4.0](https://github.com/wultra/powerauth-server/blob/develop/docs/PowerAuth-Server-1.4.0.md)
- [PowerAuth Push Server - Migration from version 1.3.0 to version 1.4.0](https://github.com/wultra/powerauth-push-server/blob/develop/docs/PowerAuth-Push-Server-1.4.0.md)
- [PowerAuth Web Flow - Migration from version 1.3.0 to version 1.4.0](https://github.com/wultra/powerauth-webflow/blob/develop/docs/Web-Flow-1.4.0.md)

## Components for version 2022.12

### Back-End Applications

| Component | Application Name | Version | Description |
|---|---|---|---|
| PowerAuth Server | `powerauth-java-server.war` | 1.4.0 | Core back-end component for PowerAuth stack. |
| PowerAuth Admin | `powerauth-admin.war` | 1.4.0 | Administration console for PowerAuth Server. |
| PowerAuth Push Server | `powerauth-push-server.war` | 1.4.0 | Simple to deploy push server for APNS and FCM. |
| PowerAuth Web Flow | `powerauth-webflow.war` | 1.4.0 | Central web authentication page. |
| PowerAuth Next Step | `powerauth-next-step.war` | 1.4.0 | Authorization server used for PowerAuth Web Flow component. |
| PowerAuth Data Adapter | `powerauth-data-adapter.war` | 1.4.0 | Customization component for PowerAuth Web Flow. |
| PowerAuth Tpp Engine | `powerauth-tpp-engine.war` | 1.4.0 | Third party provider registry and consent engine. |

### Utilities

| Component | Application Name | Version | Description |
|---|---|---|---|
| PowerAuth Command Line Tool | `powerauth-java-cmd.jar` | 1.4.0 | Command line tool for integration testing. |

### Mobile Libraries

| Platform | Package Name | Version | Description |
|---|---|---|---|
| iOS | `PowerAuth2` | 1.7.6 | A client library for iOS. |
| watchOS | `PowerAuth2ForWatch` | 1.7.6 | A limited library for watchOS. |
| iOS App Extensions | `PowerAuth2ForExtensions` | 1.7.6 | A limited library for iOS App Extensions. |
| Android | `com.wultra.android.powerauth:powerauth-sdk` | 1.7.6 | A client library for Android. |
| React Native | `react-native-powerauth-mobile-sdk` | 2.3.1 | React Native wrapper library for PowerAuth. |

### Back-End Integration Libraries

| Component | Library Name | Version | Description |
|---|---|---|---|
| PowerAuth RESTful Model | `powerauth-restful-model.jar` | 1.4.0 | Model classes for request and response objects used in PowerAuth Standard RESTful API. |
| PowerAuth RESTful API Security for Spring | `powerauth-restful-security-spring.jar` | 1.4.0 | High-level integration libraries for RESTful API security, build for Spring MVC. |
| PowerAuth SOAP Client for Spring WS | `powerauth-java-client-spring.jar` | 1.4.0 | SOAP service client for PowerAuth Server service, built using Spring WS. |
| PowerAuth Push Server RESTful Model | `powerauth-push-model.jar` | 1.4.0 | Model classes for request and response objects used in PowerAuth Push Server. |
| PowerAuth Push Server RESTful Client | `powerauth-push-client.jar` | 1.4.0 | Client implementation that simplifies integration with PowerAuth Push Server service. |
| PowerAuth Data Adapter RESTful Model | `powerauth-data-adapter-model.jar` | 1.4.0 | Model classes for request and response objects used in PowerAuth Data Adapter component. |
| PowerAuth Data Adapter Client | `powerauth-data-adapter-client.jar` | 1.4.0 | Client implementation that simplifies integration with PowerAuth Data Adapter custom component. |
| PowerAuth Next Step RESTful Model | `powerauth-nextstep-model.jar` | 1.4.0 | Model classes for request and response objects used in PowerAuth Next Step service. |
| PowerAuth Next Step Client | `powerauth-nextstep-client.jar` | 1.4.0 | Client implementation that simplifies integration with PowerAuth Next Step service. |
| PowerAuth Mobile Token Model | `mtoken-model.jar` | 1.4.0 | Model classes for request and response objects used in PowerAuth Mobile Token. |

### Technical Dependencies

| Component | Library Name | Version | Description |
|---|---|---|---|
| PowerAuth Cryptography | `powerauth-java-crypto.jar` | 1.4.0 | Core cryptography implementation of the PowerAuth protocol. |
| PowerAuth HTTP Utilities | `powerauth-java-http.jar` | 1.4.0 | Utilities used for binding PowerAuth cryptography to HTTP technology. |
| PowerAuth Command-Line Tool Library | `powerauth-java-cmd-lib.jar` | 1.4.0 | Library used for implementation of the PowerAuth Command-Line Tool app, useful for unit testing. |
| PowerAuth RESTful Security Spring | `powerauth-restful-security-spring.jar` | 1.4.0 | Spring integration library for RESTful API security. |
| Wultra Java Networking Objects | `rest-model-base.jar` | 1.6.0 | Base classes for RESTful API networking, shared across all Wultra back-end projects. |
| Wultra REST Client | `rest-client-base.jar` | 1.6.0 | Base RESTful client implementation, shared across all Wultra back-end projects. |
| Wultra Auditing Library | `audit-base.jar` | 1.6.0 | Base auditing library, shared across all Wultra back-end projects. |

## Known Issues When Updating From Older Versions

_No known issues so far._
3 changes: 3 additions & 0 deletions docs/Releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ In order to consolidate the information about the current versions, we have intr
- `Z` is the bugfix version. Upgraded in case a hotfix is needed in some `X.Y.*` version.

## List of Releases

- [PowerAuth 2022.12](./PowerAuth-2022.12.md)
- [PowerAuth 2022.05](./PowerAuth-2022.05.md)
- [PowerAuth 2022.04](./PowerAuth-2022.04.md)
- [PowerAuth 2021.11](./PowerAuth-2021.11.md)
- [PowerAuth 2021.05](./PowerAuth-2021.05.md)
Expand Down
1 change: 1 addition & 0 deletions docs/_Sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- [List of Used Keys](./List-of-used-keys.md)

**Tutorials**

- [Authentication in Mobile Banking Apps (SCA)](https://developers.wultra.com/products/mobile-security-suite/develop/tutorials/Authentication-in-Mobile-Apps)
- [Verifying PowerAuth Signatures On The Server](https://developers.wultra.com/products/mobile-security-suite/develop/tutorials/Manual-Signature-Verification)

Expand Down
82 changes: 66 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.getlime.security</groupId>
<artifactId>powerauth-crypto-parent</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<packaging>pom</packaging>

<inceptionYear>2016</inceptionYear>
Expand Down Expand Up @@ -73,13 +73,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
<maven-deploy-plugin.version>3.0.0-M2</maven-deploy-plugin.version>
<maven-javadoc-plugin.version>3.4.0</maven-javadoc-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
<maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<guava.version>31.1-jre</guava.version>
<slf4j.version>1.7.36</slf4j.version>
<junit.version>5.8.2</junit.version>
<slf4j.version>2.0.5</slf4j.version>
<junit.version>5.9.1</junit.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -190,17 +190,67 @@
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
</profile>
<profile>
<id>internal-repository</id>
<activation>
<property>
<name>useInternalRepo</name>
<value>true</value>
</property>
</activation>
<properties>
</properties>
<distributionManagement>
<repository>
<id>jfrog-central</id>
<name>Wultra Artifactory-releases</name>
<url>https://wultra.jfrog.io/artifactory/internal-maven-repository</url>
</repository>
<snapshotRepository>
<id>jfrog-central</id>
<name>Wultra Artifactory-snapshots</name>
<url>https://wultra.jfrog.io/artifactory/internal-maven-repository</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>jfrog-central</id>
<name>Wultra Artifactory-releases</name>
<url>https://wultra.jfrog.io/artifactory/internal-maven-repository</url>
</repository>
<repository>
<id>ossrh-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</profile>
<profile>
<id>public-repository</id>
<activation>
<property>
<name>!useInternalRepo</name>
</property>
</activation>
<properties>
</properties>
<distributionManagement>
<snapshotRepository>
<id>ossrh-snapshots-distribution</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh-staging-distribution</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>

<distributionManagement>
<snapshotRepository>
<id>ossrh-snapshots-distribution</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh-staging-distribution</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

</project>
Loading

0 comments on commit d107956

Please sign in to comment.