This project will help you get started with Tiny Drive and allow you to play around with it's features.
This uses JScript to generate the key, this is VERY SLOW (4-8 seconds) and not a good production setup. In order to solve this, you would need to re-build this with a JWT Component that can handle the key generation much faster.
Classic ASP on a IIS Server on any supported platform.
These are the steps needed to get this project running on your machine:
$ git clone [email protected]:tinymce/tinydrive-classic-asp-starter.git
apiKey
in tinydrive-classic-asp-starter/config.asp
You get the api key from the API Key Manager
account manager at http://tiny.cloud.
tinydrive-classic-asp-starter/private.key
file containing your generated private RSA keyYou get the private RSA key from the JWT Key Manager
account manager at http://tiny.cloud.
Notice that this sample project only supports the older key format PKCS#1 starting with -----BEGIN RSA PRIVATE KEY-----
.
You can convert the newer format to this older format using open ssl:
$ openssl rsa -inform PEM -outform PEM -in new-private.key > private.key
You need to place the project in the wwwroot or configure a virtual directory in the IIS managemenet console.