Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fizker/swift-nemid-keycard
A convenience CLI application and Swift library for managing test versions of NemID
https://github.com/fizker/swift-nemid-keycard
Last synced: 4 days ago
JSON representation
A convenience CLI application and Swift library for managing test versions of NemID
- Host: GitHub
- URL: https://github.com/fizker/swift-nemid-keycard
- Owner: fizker
- Created: 2020-07-27T20:57:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T20:50:10.000Z (over 1 year ago)
- Last Synced: 2024-04-14T18:05:32.943Z (7 months ago)
- Language: Swift
- Size: 32.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# swift-nemid-keycard
A convenience CLI application and Swift library for managing test versions of NemID.
Note that this code should only be used with test versions of NemID. There are practically no security built in. For non-test versions, please use only the official NemID solutions.
## How to use the CLI tool
To install the binary, perform the following steps:
1. Clone the code or download the latest version from the GitHub releases page.
2. From the downloaded folder, do `make && make install`.## How to import the library
1. Add the GitHub URL as a dependency:
```swift
Package(
name: "MyPackage",
products: [
.library(name: "MyPackage", targets: ["MyPackage"]),
],
dependencies: [
.package(url: "https://github.com/fizker/swift-nemid-keycard.git", .upToNextMinor("0.1.0")),
],
targets: [
.target(
name: "MyPackage",
dependencies: [
.product(name: "NemIDKeycard", package: "swift-nemid-keycard"),
]
),
]
)
```
2. Import the package where needed:
```swift
import NemIDKeycard
````