Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Change voucher format

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 954 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tauparg
      last edited by

      is there a way to change the generated voucher code to all numbers or all letters? or change the number of digits?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Yes, that's what the character set and bit number fields control.

        If you use a smaller character set, the vouchers will have to be longer to contain enough data, however. Making the vouchers shorter can only be done safely by allowing the vouchers to use more characters. Reducing the total bit count is possible but makes vouchers less secure and more likely to be broken.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          bulgurcu
          last edited by

          6 digit coupon code;

          Voucher public key

          –---BEGIN PUBLIC KEY-----
          MCAwDQYJKoZIhvcNAQEBBQADDwAwDAIFAIOfJE0CAwEAAQ==
          -----END PUBLIC KEY-----

          Voucher private key

          -----BEGIN RSA PRIVATE KEY-----
          MCwCAQACBQCDnyRNAgMBAAECBAF3ThkCAwDwawIDAIwnAgMAmOMCAkxrAgJ5fg==
          -----END RSA PRIVATE KEY-----

          yazan çizen dünyalı biri

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            By posting those keys, anyone can generate valid vouchers and connect to your portal. Now generate some new keys.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.