~/add_cert.sh my.intra.net
you will be asked for your password to add thit to keychain
- downloads pem file
- adds to trusted root certificates
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi |
| #!/bin/bash | |
| echo "Installing dependencies" | |
| sudo apt-get install libgomp1 jq -y | |
| releases_url=https://api.github.com/repos/VerusCoin/VerusCoin/releases | |
| version=$(curl -s 'https://api.github.com/repos/VerusCoin/VerusCoin/releases?per_page=1' | jq -r '.[0].name') | |
| echo "Downloading Verus linux cli (latest version: $version)" | |
| wget https://github.com/VerusCoin/VerusCoin/releases/download/$version/Verus-CLI-Linux-$version-x86_64.tgz |
| i5cjUDhRPEBQctXQYr3gNq8ZZakdBZwDKw 1: controller of VerusID "dude@" controls devdudeio:AULXGwABQR8HmJu0RI4hNiNP9OGe6eK0rjdM/VugAkVjPeV0N/nW2hJlgZzUtg3Aq3DL+yWFjPCGDE5TRJtYf3UFhJBQPfUX |