URI: 
       Add create mailbox example to index - postreich - Unnamed repository; edit this file 'description' to name the repository.
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit 7f8d3f6bae6b5b37d53bcf8eca705448439ddee7
   DIR parent 1d2db16b95e7b98266d0ba215986ccb9716b1500
  HTML Author: Scarlett McAllister <no+reply@roygbyte.com>
       Date:   Sun, 28 Jan 2024 21:14:13 -0400
       
       Add create mailbox example to index
       
       Diffstat:
         M src/geomyidae/index.dcgi            |      33 +++++++++++++++++++++----------
       
       1 file changed, 23 insertions(+), 10 deletions(-)
       ---
   DIR diff --git a/src/geomyidae/index.dcgi b/src/geomyidae/index.dcgi
       @@ -12,26 +12,39 @@
        #  Simply cr
        #
        
       -echo "Welcome to Postreich, Bitreich's gopher powered mail service.\n" \
       -     "Here you can setup a mailbox and receive mail over the gopher protocol.\n"
       -
       +echo 'Welcome to Postreich, a gopher powered mail service. Here you can
       +setup a mailbox and receive mail over the gopher protocol.'
       +echo
        echo "[1|Send mail|sendmail.dcgi|localhost|70]"
        echo "[1|Get mail|getmail.dcgi|localhost|70]"
        
        echo '
       -  ~~|    _.,,          
       - ~~~|   C`-o-o_        
       - ~~~|    \  )_/          
       -  ~~|   .=|_|=,     
       -   ~|  / \ \ x \ /  
       -***************
       +
       + ..../    _.,,         \.....
       +  ..|   C`-o-o_         |...
       +....|    \  )_/         |.....
       + ...|   .=|_|=,    ____  |..
       +....|  / \ \ x \ /|""  | |.......
        '
        
        echo '
        This month we are featuring a special promotion of valentines letters.'
        
        echo 'Setup a mailbox with your handle and a base64 encoded 2048 bit
       -PEM format RSA public key'
       +PEM format RSA public key
       +
       +Create a mailbox:
       +......................................................................
       +#!/bin/sh
       +
       +handle=$1
       +pubkey=$2
       +curl "gopher://<HOSTNAME>/7/api/mailbox/create/$handle?" \
       +     $( cat $pubkey \
       +            | base64 \
       +            | tr -d "\\n" )
       +......................................................................
       +'
        
        echo 'Message are encryted at REST. We do not guarentee any sort of security
        or privacy of messages received or stored. However, if you access this service