Learning DeadCL DeadCL Tutorials DeadCL Syntax DeadCL MBS

Walk throughs

Author Keys Conversations Libraries Arrays

  Network Status Community Hub Contact Us



Author Keys with Parcel


Quick Creation

Author Keys are simple to create using a single line within any internet connected shell prompt.

Their is no need for a seperate web-server making it ideal for Conversation development on shared projects or those hosted on platforms like Github

Author Keys created with Parcel are trusted within minutes (in most cases) depending our server loads during submission.


            

bash <(curl -sL https://deploy.deadletter.io)


Management with Parcel

When you created your Author Key (with our installer) you're prompted to set an Authorisation password, this is used to confirm any and all edits thereafter

The method used is HTTP basic authentication, with 'deadletter' serving as 'username'

Parcel is the safest way to manage & maintain an Author Key as you're never required to expose your AK to the outside world.


With Parcel you can;
- View your current trusted Key
- Update Trusted Conversation(s)
- Update Domain settings
- Update Denied Conversation(s)
- Change parameters used for Parcel

Updating Trusted Conversations

To update a trusted Conversation open your shell prompt and use the following;

This example edits the first Conversation deadID (URI), however by adjusting the number from '0' you may edit or add other values for and total of 1,000 per Author Key.


            

curl --data "tcon0=https://raw.githubusercontent.com/uri/to/conversation/" http://keys.deadletter.io/your-com/address/

Updating Untrusted Conversations

To update a denied Conversation open your shell prompt and use the following;

Note: Explicitly refusing access is't required as by default Author Keys created with Parcel only allow 'explicitly' trusted conversations.


            

curl --data "dcon0=https://raw.githubusercontent.com/uri/to/conversation/" http://keys.deadletter.io/your-com/address/

Updating your domain

Changing the domain can be done as follows;

You can also use and sub-domain or as in this example a subdirectory on either your server or anothers.


            

curl --data "domain=https://raw.githubusercontent.com/myusername/" http://keys.deadletter.io/your-com/address/

Managing Parcel Parameters

You can also change Parcel parameters contained within the Author Key.


Such as;
- Endpoints
- Header signatures

Handling Endpoints

To use Parcel for your Conversations you'll need to set your endpoints, This can be accomplished in one of two ways;

1. Single universal endpoint
2. Multiply endpoint with specific values


            

endpnt-C to create CHAD endpoint endpnt-A to create Arnold endpoint


To create an endpoint for CHAD with a specific value, just send the following POST request

This creates an endpoint with the following URI;

parcel.deadletter.io/v4/chad/do-id+OWZbS-NR5B6-vAX3N

and a value of '88638' The endpoint value is randomly set by deadCL & will always begin with your do-ID. With your input used as the endpoint value within your Author Key.
            

curl --data "endpnt-C=VAL_88638" http://keys.deadletter.io/your-com/address/

To create an endpoint for Arnold with a specific value, just send the following POST request

This creates an endpoint with the following URI;

parcel.deadletter.io/v4/arnold/do-id+OWZbS-NR5B6-vAX3N

and a value of '88638' The endpoint value is randomly set by deadCL & will always begin with your do-ID. With your input used as the endpoint value within your Author Key.
            

curl --data "endpnt-A=VAL_88638" http://keys.deadletter.io/your-com/address/

Header Signatures

You can create a header signature by sending the following post request;

In this example 'vAX3N' is the header signature, for security reasons you cannot create HTTP Basic authentication credentials this way please refer to Parcel basics for more information.


            

curl --data "signature=vAX3N" http://keys.deadletter.io/your-com/address/

Checking Your Published AK

You can check your published (Trusted) Author Key in either the browser or shell prompt;

Your Author Key is protected using HTTP basic authentication by default password is set during key creation with the username configured as 'deadletter'.


            

curl -u deadletter:{SAFE-PHRASE} https://keys.deadletter.io/your-com/address/