
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@atala/apollo
Advanced tools
[](http://kotlinlang.org) ![badge-license] ![badge-latest-release] [![semantic-release-kotlin]](https://github.com/semantic-release/semantic-release)
A cryptography lib built with Kotlin Multiplatform with support for the following targets:
Set variable GITHUB_ACTOR
with your GitHub Username and set variable GITHUB_TOKEN
with your GitHub Personal Access Token.
As an example we will go with Bash
sudo nano $HOME/.bash_profile
.export GITHUB_ACTOR="YOUR GITHUB USERNAME"
export GITHUB_TOKEN="YOUR GITHUB PERSONAL ACCESS TOKEN"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install autoconf automake libtool
cs java --jvm adopt:1.11.0-11 --setup
after that java -version
should yield something like that
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9)
OpenJDK 64-Bit Server VM (build 11.0.11+9, mixed mode)
In case of using macOS with M chip, make sure to install the arch64 version of Java
Install XCode from App Store.
Then approve xcodebuild license in your terminal. Like so:
$ sudo xcodebuild -license
Install Android SDK from SDK Manager (via Android Studio).
Then approve Android SDK license. Like so:
$ cd /Users/{{YOUR USER}}/Library/Android/sdk
$ tools/bin/sdkmanager --licenses
While there are many ways to install Android SDK this has proven to be the most reliable way. Standard IntelliJ with Android plugin may work. However, we've had several issues. Your mileage may vary.
For Ubuntu,
sudo apt update && sudo apt install android-sdk
Leaving the SDK at ~/Android/Sdk
Create a file named local.properties
in the root of Apollo.
Add your android sdk path to local.properties file
. Like so:
sdk.dir = /Users/{{YOUR USER}}/Library/Android/sdk
This will indicate to your IDE which android SDK to use.
Alternatively, you can add the following environment variable into your shell profile file:
$ export ANDROID_HOME='/Users/{{YOUR USER}}/Library/Android/sdk
You should be able to import and build the project in IntelliJ IDEA now.
Here is a list of common issues you might face and its solutions.
If you already added the envorment variable to your CMD profile and still not being available.
Solution
If you get error:
No binary for ChromeHeadless browser on your platform.
Please, set "CHROME_BIN" env variable.
java.lang.IllegalStateException: Errors occurred during launch of browser for testing.
- ChromeHeadless
Solution
Solution
if you get this error on macOS with M chip:
Could not find JNA native support
Solution
In build.gradle.kts
files include the dependency
repositories {
mavenCentral()
}
For dependencies
dependencies {
implementation("org.hyperledger.identus:apollo:<latest version>")
}
Inside your Package.swift
file, add the following
dependencies: [
.package(
url: "git@github.com:input-output-hk/atala-prism-apollo.git",
from: "<latest version>"
)
]
The following instruction using Xcode 15
Apollo.xcframework.zip
file.Apollo.xcframework
to your Xcode project.Apollo.xcframework
if not found then choose Embed & Sign
.[!WARNING]
For Intel iOS simulator: You need to add the following flag as YES EMBEDDED_CONTENT_CONTAINS_SWIFT=YES
on the target like so:
Package.swift
Package(
...
targets: .testTarget(
...
swiftSettings: [.define("EMBEDDED_CONTENT_CONTAINS_SWIFT=YES")]
...
)
)
Inside the package.json
{
"dependencies": {
"@atala/apollo": "<latest version>"
}
}
In the project build.gradle
allprojects {
repositories {
// along with all the other current existing repos add the following
mavenCentral()
}
}
In the module build.gradle
kotlin {
sourceSets {
commonMain {
dependencies {
// This following is just an example you can import it as per you needs
implementation 'org.hyperledger.identus:apollo:<latest version>'
}
}
}
}
In the project build.gradle.kts
allprojects {
repositories {
// along with all the other current existing repos add the following
mavenCentral()
}
}
kotlin {
sourceSets {
val commonMain by getting {
dependencies {
// This following is just an example you can import it as per you needs
implementation("org.hyperledger.identus:apollo:<latest version>")
}
}
}
}
libraryDependencies += "org.hyperledger.identus" % "apollo-jvm" % "<latest version>"
Please have a look at unit tests, more samples will be added soon.
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely.
FAQs
[](http://kotlinlang.org) ![badge-license] ![badge-latest-release] [![semantic-release-kotlin]](https://github.com/semantic-release/semantic-release)
The npm package @atala/apollo receives a total of 28 weekly downloads. As such, @atala/apollo popularity was classified as not popular.
We found that @atala/apollo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.