
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
This is the official OmniAuth strategy for authenticating to YOYOW. To use it, a platform account is needed(what's platform), addtionally, you'll need to setup yoyow-middleware.
Add this line to your application's Gemfile:
gem 'omniauth-yoyow'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-yoyow
Change the url to yoyow-middleware server address in following code.
use OmniAuth::Builder do
provider :yoyow, 'http://localhost:3000'
end
Clone the middleware code:
git clone https://github.com/yoyow-org/yoyow-node-sdk/tree/master/middleware
cd middleware
vim conf/config.js
YOYOW test-net configuration is recommended while developing your applaction, you can switch it to main-net when production ready.
Sample config for test-net:
module.exports = {
// yoyow full node api(test-net)
apiServer: "ws://47.52.155.181:10011",
// seconds before requests invaild
secure_ageing: 120,
// platform specified secure key
secure_key: "",
// active key of platform(optional)
active_key: "",
// secondary key of platform(required)
secondary_key: "",
// memo key of platform(optional)
memo_key: "",
// platform id(yoyow id)
platform_id: "",
// choose to use csaf when transfer token
use_csaf: true,
// transfer token to balance, otherwise to Tipping
to_balance: false,
// authorization URL
wallet_url: "http://demo.yoyow.org:8000/#/authorize-service",
// IP list allowed to access
allow_ip: ["localhost", "127.0.0.1"]
};
Sample config for main-net:
module.exports = {
// yoyow full node api(main-net)
apiServer: "wss://wallet.yoyow.org/ws",
...
// authorization URL
wallet_url: "http://wallet.yoyow.org/#/authorize-service",
// IP list allowed to access
allow_ip: ["localhost", "127.0.0.1"]
};
FAQs
Unknown package
We found that omniauth-yoyow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.