<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Makoto Emura &#8211; EmEditor (Text Editor)</title>
	<atom:link href="/author/makoto-emura/feed/index.xml" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Best Text Editor, Code Editor, CSV Editor, Large File Viewer for Windows (Free versions available)</description>
	<lastBuildDate>Fri, 17 Apr 2026 04:19:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>/wp-content/uploads/2024/09/icon-36x36.png</url>
	<title>Makoto Emura &#8211; EmEditor (Text Editor)</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Introducing registration keys for Stripe</title>
		<link>/general/introducing-registration-keys-for-stripe/</link>
		
		<dc:creator><![CDATA[Makoto Emura]]></dc:creator>
		<pubDate>Tue, 07 Jan 2025 20:48:20 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">https://www.emeditor.com/?p=30161</guid>

					<description><![CDATA[We are introducing registration keys for Stripe subscriptions. The new registration key works similarly to the existing registration keys. Simply use the same Register Product dialog box to enter your key. Alternatively, you can use the key in the installer parameters if needed. Version Requirement Please note that version 24.5.3 or later is required to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>We are introducing registration keys for Stripe subscriptions. The new registration key works similarly to the existing registration keys. Simply use the same <strong>Register Product</strong> dialog box to enter your key. Alternatively, you can use the key in the installer parameters if needed.</p>
<h2>Version Requirement</h2>
<p>Please note that version 24.5.3 or later is required to use the Stripe registration key. Please update EmEditor to use the new registration keys for Stripe.</p>
<h2>Accessing Your Registration Key</h2>
<p>You can find your registration key in two ways:</p>
<ul>
<li><strong>Email Confirmation</strong>: After purchasing a subscription, you will receive an email containing your registration key.</li>
<li><strong>Customer Center</strong>: Visit the <a href="https://support.emeditor.com/en/account/subscriptions">Stripe Subscriptions page in Emurasoft Customer Center</a> to view your registration key at any time.</li>
</ul>
<h2>Registration Key Format</h2>
<p>The new Stripe registration key has a distinct format: <code>r-xxxx-xxxx-xxxx-xxxx-xxxx</code>, where <code>x</code> is a random character.</p>
<h2>Help and Support</h2>
<p>For detailed instructions on registering your Stripe subscription, please visit our help page: <a href="https://www.emeditor.org/en/howto/stripe_sign_in/index.html">Signing into EmEditor with Stripe</a>.</p>
<p>If you have any questions or encounter any issues, feel free to reach out to us through our <a href="/support/#contact">Contact Us</a> form. Thank you for your continued support.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>EmEditor’s payment processor update</title>
		<link>/general/emeditors-payment-processor-update/</link>
		
		<dc:creator><![CDATA[Makoto Emura]]></dc:creator>
		<pubDate>Thu, 12 Dec 2024 23:12:14 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">https://www.emeditor.com/?p=30124</guid>

					<description><![CDATA[Update (1/7/25): Registration keys will be available for Stripe subscriptions. We are excited to announce that EmEditor is transitioning to Stripe as our primary payment processor. This change reflects our commitment to improving your purchasing experience while maintaining the highest standards of security and privacy. What’s changing Payment processor: Stripe is the new payment processor [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Update (1/7/25)</strong>: Registration keys will be available for Stripe subscriptions.</p>
<p>We are excited to announce that EmEditor is transitioning to Stripe as our primary payment processor. This change reflects our commitment to improving your purchasing experience while maintaining the highest standards of security and privacy.</p>
<h2 id="what’s-changing">What’s changing</h2>
<ul>
<li><strong>Payment processor</strong>: Stripe is the new payment processor for EmEditor subscription purchases.</li>
<li><strong>Rollout plan:</strong> We will change the Buy Now link on the English website (<a href="/">emeditor.com</a>) today to go to the Stripe payment page, followed by other languages in the coming weeks.</li>
<li><strong>Current subscriptions:</strong> Existing 2Checkout subscriptions will remain active. Customers who prefer using 2Checkout can still use this <a href="https://shop.emeditor.com/order/checkout.php?PRODS=4610657&amp;QTY=1&amp;CART=1&amp;CARD=2&amp;DESIGN_TYPE=1&amp;ORDERSTYLE=nLWo45SpjHQ=&amp;CLEAN_CART=all">link</a>.</li>
<li><strong>Other retailers:</strong> This change does not affect other retailers for EmEditor.</li>
</ul>
<h2 id="why-we-chose-stripe">Why we chose Stripe</h2>
<h3 id="improved-payment-options">Improved payment options</h3>
<p>Stripe supports a wide range of payment methods, including credit and debit cards, bank transfers, Apple Pay, Google Pay, and more.</p>
<p>Stripe supports <a href="https://stripe.com/payments/link">Link</a>, a secure autofill feature that saves your payment details for faster checkout.</p>
<h3 id="user-friendly-experience">User-friendly experience</h3>
<p>With Stripe, you’ll enjoy a fast, intuitive checkout process. The Stripe portal allows you to conveniently manage your subscriptions.</p>
<h3 id="security-and-privacy">Security and privacy</h3>
<p>Your security remains our top priority. Stripe protects customer payment data with strict policies and advanced encryption with <a href="https://docs.stripe.com/security">PCI DSS</a> compliance.</p>
<h2 id="how-to-use-stripe-for-purchases">How to use Stripe for purchases</h2>
<h3 id="purchasing-subscriptions">Purchasing subscriptions</h3>
<p>You can purchase subscriptions by going to <a href="/">emeditor.com</a> and clicking on Buy Now. If you are logged into the <a href="https://support.emeditor.com/">Emurasoft Customer Center</a>, your email address will be displayed on the Stripe payment page, confirming that the subscription will be linked to the correct user. To purchase for a new user, sign out of the customer center and manually enter the desired email address on the payment page.</p>
<p>You can change the quantity for your subscription by clicking on the &#8220;Qty&#8221; button in the left half of the screen.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-30133 size-full" src="/wp-content/uploads/2024/12/stripe-en.png" alt="" width="1683" height="982" srcset="/wp-content/uploads/2024/12/stripe-en.png 1683w, /wp-content/uploads/2024/12/stripe-en-768x448.png 768w, /wp-content/uploads/2024/12/stripe-en-1536x896.png 1536w, /wp-content/uploads/2024/12/stripe-en-1500x875.png 1500w, /wp-content/uploads/2024/12/stripe-en-705x411.png 705w" sizes="(max-width: 1683px) 100vw, 1683px" /></p>
<h3 id="emails-with-subscription-details">Emails with subscription details</h3>
<p>Within minutes after purchase, you’ll receive two emails from <code>emurasoft.com</code>: one with your subscription details and another with your receipt.</p>
<h3 id="registering-emeditor">Registering EmEditor</h3>
<p>After purchasing a subscription, you can register EmEditor by signing into EmEditor.</p>
<ol>
<li>Open EmEditor.</li>
<li>Go to <strong>Help &gt; Registration Information…</strong></li>
<li>Click <strong>Sign In/Enter Registration Information</strong>.</li>
<li>Sign in with your Emurasoft Customer Center credentials to register with your new subscription.</li>
<li>In <strong>Registration Information</strong>, ensure that your Subscription ID is displayed and that “Validation successful” appears below.</li>
</ol>
<p><img decoding="async" class="aligncenter  wp-image-30125" src="/wp-content/uploads/2024/12/Screenshot-2024-12-12-144927.png" alt="" width="461" height="392" srcset="/wp-content/uploads/2024/12/Screenshot-2024-12-12-144927.png 906w, /wp-content/uploads/2024/12/Screenshot-2024-12-12-144927-768x653.png 768w, /wp-content/uploads/2024/12/Screenshot-2024-12-12-144927-705x599.png 705w" sizes="(max-width: 461px) 100vw, 461px" /></p>
<h3><img decoding="async" class="aligncenter  wp-image-30126" src="/wp-content/uploads/2024/12/Screenshot-2024-12-12-145056.png" alt="" width="401" height="292" /></h3>
<h3>Registration key for Stripe</h3>
<p>You can also register using a registration key, which you can get in two ways:</p>
<ul>
<li><strong>Email Confirmation</strong>: After purchasing a subscription, you will receive an email containing your registration key.</li>
<li><strong>Customer Center</strong>: Visit the <a href="https://support.emeditor.com/en/account/subscriptions">Stripe Subscriptions page in Emurasoft Customer Center</a> to view your registration key at any time.</li>
</ul>
<p>EmEditor version 24.5.3 or later is required for the new registration keys.</p>
<h3 id="offline-registration">Offline registration</h3>
<p>You can <a href="https://www.emeditor.org/en/howto/offline_registration/index.html">request an offline license</a> if you would like to register offline.</p>
<h2 id="managing-your-subscription">Managing your subscription</h2>
<h3 id="viewing-your-subscription">Viewing your subscription</h3>
<ol>
<li>Log into <a href="https://support.emeditor.com/">Emurasoft Customer Center</a>.</li>
<li>Navigate to the <a href="https://support.emeditor.com/en/account/subscriptions">Stripe Subscriptions</a> section to view your active subscriptions.</li>
</ol>
<h3 id="making-changes">Making changes</h3>
<ul>
<li>Use the <a href="https://billing.stripe.com/p/login/14k7w2fK6g9Ca9q9AA">Stripe portal</a> to manage your Stripe subscription or update your payment method.</li>
</ul>
<h2 id="support-and-feedback">Support and feedback</h2>
<p>For assistance, please reach out through our <a href="/support/#contact">Contact Us</a> form. We also welcome your feedback about the Stripe integration to help us continue improving your experience.</p>
<p>We appreciate your continued support and trust in EmEditor. We remain committed to providing you with a secure, reliable, and user-friendly subscription experience.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>New Validation System Explained</title>
		<link>/general/new-validation-system-explained/</link>
		
		<dc:creator><![CDATA[Makoto Emura]]></dc:creator>
		<pubDate>Tue, 20 Feb 2024 21:34:58 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<guid isPermaLink="false">https://www.emeditor.com/?p=29683</guid>

					<description><![CDATA[In version 24.0.0, we introduced a registration validation system to improve the already existing registration system. This validation system is able to track the number of devices a customer has registered EmEditor on. This page aims to be transparent about our motivations and to document how the validation system works. If we update the validation [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In version 24.0.0, we introduced a registration validation system to improve the already existing registration system. This validation system is able to track the number of devices a customer has registered EmEditor on.</p>
<p>This page aims to be transparent about our motivations and to document how the validation system works. If we update the validation system in the future, we will also update this page.</p>
<h2>Motivation</h2>
<p>In the past, there was no way for us to detect users who were sharing their licenses with multiple people or using their licenses on more devices than allowed by the EULA (End-User License Agreement). We would like customers to purchase enough licenses to follow the terms of the license. This would ensure fairness among customers who have purchased multiple licenses and help us keep delivering a quality product.</p>
<h2>Terminology</h2>
<ul>
<li>Registration: The one-time process of activating EmEditor Professional with a registration key or Emurasoft Customer Center credentials.</li>
<li>Validation: The periodic check that runs each time EmEditor starts to verify that the current installation is associated with a valid license.</li>
<li>Registration key: A string used to register EmEditor.</li>
<li>Offline registration: A type of registration that lets users register and validate EmEditor without connecting to the EmEditor server.</li>
<li>Device: A single counted unit under the license, representing one EmEditor installation. Multiple per-user installations of EmEditor on the same machine are treated as one device.</li>
<li>Device limit: The maximum number of devices that may be registered to a user, based on the number of licenses the user owns, as defined in the EULA.</li>
<li>Machine: A Windows environment where EmEditor is installed and can run. A machine is uniquely identified by its machine ID. A machine is not necessarily equivalent to a physical computer, because multiple virtual machines can be installed on one computer.</li>
<li>Machine ID: A combination of several Windows attributes (MachineGuid, OS install date, volume serial number, processor name, and motherboard name) that is used to distinguish one machine from another.</li>
<li>MachineGuid: An identifier for a Windows installation, used as one of the inputs to the machine ID.</li>
<li>Virtual machine (VM): A Windows machine running inside a virtualization environment.</li>
<li>Local device token: A signed token stored on the user’s machine that verifies that the device was registered.</li>
<li>History record: A database record associated with a 2Checkout or reseller purchase.</li>
<li>Stripe subscription ID: The identifier of a user’s Stripe subscription, used to associate registered devices with the Stripe subscription.</li>
<li>Reseller: A third-party vendor that sells EmEditor licenses (other than 2Checkout or Stripe). Customers who purchase through resellers must register the product and create a Customer Center account to view and manage devices online.</li>
<li>Registered Devices page: A page in the Emurasoft Customer Center that lists all devices currently registered for a customer’s licenses and subscriptions.</li>
<li>Go: A programming language used for server-side logic.</li>
</ul>
<h2>Requirements</h2>
<p>This section lists the requirements for the validation system.</p>
<h3>Functional</h3>
<ul>
<li>The validation system should loosely enforce the device limit clause of the license. It must not sacrifice customer satisfaction, and the limit should never come as a surprise to users.</li>
<li>Registration runs once when the user submits the Register Product dialog box or completes any other registration flow. Validation runs each time EmEditor is opened.</li>
<li>Registration requires EmEditor to be able to connect to <code>support.emeditor.com</code> via HTTPS, while validation does not require an internet connection.</li>
<li>Users should be able to use an offline license that allows the app to register and validate without connecting to our server. If a user encounters errors during normal registration, an offline license should provide an alternative way to register.</li>
<li>Users’ privacy rights must be maintained. The collection of personal information will be opt-in.</li>
<li>The system should fit into the existing registration flow and must not introduce an entirely new way to register. Current users should be able to register without having to learn new steps.
<ul>
<li>Uninstalling the app should unregister the device.</li>
</ul>
</li>
<li>Users can log in to the Emurasoft Customer Center to view devices so that devices can be unregistered outside of the app.</li>
<li>Customers who purchase from resellers other than 2Checkout must register the product and create a Customer Center account, since otherwise there is no way for them to view and manage their devices online.</li>
<li>The system should be tested in the background in version 23, and should be fully enforced starting with version 24.</li>
<li>We will start selling subscriptions via Stripe, so the system must be able to integrate with Stripe.</li>
<li>We will offer registration keys for Stripe subscriptions.</li>
<li>Users should be able to use EmEditor in a VM environment without having to re-register frequently.</li>
</ul>
<h3>Technical</h3>
<ul>
<li>The system should be simple so that it is easy to maintain.</li>
<li>A machine can be identified by its machine ID.
<ul>
<li>The machine ID is a combination of several Windows constants used to identify a machine.</li>
<li>Because these values can uniquely identify a machine, they should be hashed to avoid storing the raw values in plaintext.</li>
<li>EmEditor Portable can be installed on a USB drive, with its settings stored on that drive. The USB drive can be used on many machines, and the validation system would detect different machine IDs. Therefore, if the app detects that it is a portable version running from a USB drive, registration does not occur.</li>
</ul>
</li>
<li>EmEditor can be installed per-user on a multi-user machine. All per-user installations of EmEditor on the same machine must be counted as a single device.</li>
<li>There should be a way for us to override the device limit for a given registration key if necessary.</li>
<li>A signed token containing the device information should be stored on the user&#8217;s device. This associates the current device with the device record stored in the database.</li>
<li>The system should be designed so that a floating license mechanism can be integrated in the future, if needed.</li>
</ul>
<h2>Output</h2>
<ul>
<li>You can view a list of all devices on the <a href="https://support.emeditor.com/en/account/devices" target="_blank" rel="noopener">Registered Devices page</a> of Customer Center.</li>
<li>If the device limit is reached, a notification will appear. The app will not prevent its use when the device limit is exceeded.</li>
</ul>
<p><img loading="lazy" decoding="async" class=" wp-image-29686 aligncenter" src="/wp-content/uploads/2024/02/device-notification.png" alt="" width="516" height="118" srcset="/wp-content/uploads/2024/02/device-notification.png 984w, /wp-content/uploads/2024/02/device-notification-768x176.png 768w, /wp-content/uploads/2024/02/device-notification-705x161.png 705w" sizes="auto, (max-width: 516px) 100vw, 516px" /></p>
<ul>
<li>If the user bought the app from a reseller (not 2Checkout or Stripe) and has not registered the product, a notification will ask the user to register the product.</li>
</ul>
<h2>Device table</h2>
<p>The device table is stored in our database and records all devices that were registered. Note that a <code>History</code> record is associated with a purchase and it is where a legacy registration key is stored. A <code>Device</code> record is defined in Go as follows.</p>
<pre>type Device struct {
	DeviceID             string
	UserID               int
	HistoryID            sql.NullInt64
	StripeSubscriptionID sql.NullString
	MachineID            MachineID
	RegistrationDate     time.Time
	ValidationDate       time.Time
	InstallationType     InstallationType
	Label                string
	Unregistered         bool
}
</pre>
<p>The fields are explained in the documentation for <a href="https://www.emeditor.org/en/support/registered_devices" target="_blank" rel="noopener">Registered Devices</a>. The <code>MachineID</code> field is explained below.</p>
<h3>Privacy measures for label</h3>
<p>The <code>Label</code> field may contain personal information. The <strong>Label device</strong> field in the <strong>Register Product</strong> dialog box defaults to <code>{computer name} {user name}</code>. The personal information inside the label field is not necessary for the basic functionality of the app. Therefore, we made the label field opt-in to stick to our policy of privacy by default.</p>
<h2>Machine ID</h2>
<p>The machine ID is used to identify a machine and is stored in the following structure.</p>
<pre>type MachineID struct {
    // Identifies a Windows installation
    // HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
    MachineGuid string

    // Time of Windows installation
    // SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallTime
    OSInstallDate string

    // Filesystem identifier created when a storage drive is formatted
    // Volume serial number from GetVolumeInformationW()
    VolumeSerialNumber string

    // Name of processor
    // HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString
    ProcessorName string

    // Name of motherboard
    // HARDWARE\DESCRIPTION\System\BIOS\BaseBoardManufacturer and HARDWARE\DESCRIPTION\System\BIOS\BaseBoardProduct
    MotherboardName string
}
</pre>
<p>Each field is securely hashed on the client’s machine before the registration request is sent. The hashed machine ID is stored securely in our database with end-to-end encryption. The plaintext identifier values are never transmitted and are not stored on our servers.</p>
<h3>Comparing Machine IDs</h3>
<p>We use multiple Windows constants to determine whether two machines are the same. Previously, we assumed that the MachineGuid would remain constant for a given machine, but this turned out to be false. A common case where the MachineGuid changes for a single EmEditor installation is when the customer installs the app on a VM drive that is then booted into different Windows installations.</p>
<p>To improve robustness, we use multiple values from the OS that are mostly constant and together help identify a machine. Using the following algorithm, we decide whether two machines are considered the same.</p>
<pre>// Returns true if machine a and b are considered to be equal.
// Machines are considered equal if it scores at least 3 points from the following points.
// 3 points: MachineGuid matches
// 2 points: OS install date matches
// 2 points: Volume serial number matches
// 1 point: Processor name matches
// 1 point: Motherboard name matches
func IsMachineIDSame(a, b MachineID) bool {
	// Quick check: MachineGuid matches (3 points)
	if a.MachineGuid == b.MachineGuid {
		return true
	}

	score := 0

	// 2 points: OS install date matches
	if a.OSInstallDate == b.OSInstallDate {
		score += 2
	}

	// 2 points: Volume serial number matches
	if a.VolumeSerialNumber == b.VolumeSerialNumber {
		score += 2
	}

	// 1 point: Processor name matches
	if a.ProcessorName == b.ProcessorName {
		score += 1
	}

	// 1 point: Motherboard name matches
	if a.MotherboardName == b.MotherboardName {
		score += 1
	}

	return score &gt;= 3
}
</pre>
<p>If the MachineGuid is the same, we immediately consider the machines to be the same. Otherwise, we look for a total score of 3 or more points, which corresponds to at least two other matching values. The device count, explained below, uses this logic to determine the number of unique machines.</p>
<p>Before version 24.5, we considered only the MachineGuid when determining whether machines were the same. Some customers using VMs then had a negative experience, quickly reaching the device limit even though they believed they had not registered that often. By considering other constants in addition to the MachineGuid, we help ensure that EmEditor can be used in VM environments without unexpectedly hitting the device limit.</p>
<h2>Device count</h2>
<p>This section describes how we determine how many devices you can register.</p>
<p>First, we query all devices associated with a given registration key or Stripe subscription ID and filter them to those that are currently registered.</p>
<p>Next, we count the number of unique machines using the logic described above. If two devices have the same machine ID according to <code>IsMachineIDSame</code>, then device count is 1. If two devices have different machine IDs, the device count is 2. If there are multiple devices that are considered to be on the same machine, they may represent per-user installations on the same machine or VM.</p>
<p>The EULA allows the licensee to install EmEditor on up to two devices per license. If EmEditor is for personal use and is not installed on corporate computers, the licensee may install EmEditor on up to five devices per license.</p>
<p>The algorithm to get the maximum device limit for a user will not be publically documented.</p>
<h2>Local Device token</h2>
<p>A <code>LocalDevice</code> token is stored locally on the user&#8217;s device in the form of a JWT (JSON Web Token). It associates the current device with the database <code>Device</code> record. It also allows EmEditor to do some validation even if it is offline. The token payload is defined as follows.</p>
<pre>type LocalDevice struct {
	DeviceID  string
	MachineID MachineID

	// StripeSubscriptionID is empty if this device is not associated with a subscription.
	StripeSubscriptionID string
}
</pre>
<p>For per-user installations, the token is stored in the registry as <code>LocalDeviceToken</code> in <code>Computer\HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Common</code>.</p>
<h2>Offline registration</h2>
<p>An <a href="https://www.emeditor.org/en/howto/offline_registration/index.html">offline license</a> allows a user to register without an internet connection. Registration only requires a license file.</p>
<p>A customer can request an offline license file. The customer must include their legacy registration key or Stripe order ID in the request. We will reply to the customer&#8217;s email address within a few business days with the license file. The license file is a text file that contains a JWT token with the following payload.</p>
<pre>type LicenseFile struct {
	LicenseID string
	UserID    int
	FullName  string
	Email     string

	// Is nil if not a Stripe subscription
	StripeSubscriptionID *string

	// Is nil if not a registration key
	HistoryID *int
}
</pre>
<p>The offline license token is saved to the registry entry <code>OfflineLicense</code>.</p>
<p>There are three ways that the device limit is enforced and illegal sharing of the license file is prevented. 1) When EmEditor can access the internet, validation is performed. 2) We will only send the license file via email instead of downloading from our website. 3) The Registration Information dialog will display the license owner&#8217;s full name and email.</p>
<h3>OfflineLicense table</h3>
<p>Usage of offline licenses is tracked using the <code>OfflineLicense</code> table. It includes the machine ID to track how many machines used the license and the <code>Revoked</code> flag to allow us to revoke a license.</p>
<pre>type OfflineLicense struct {
	LicenseID            string
	UserID               int
	MachineID            MachineID
	StripeSubscriptionID sql.NullString
	HistoryID            sql.NullInt64

	// Revoked indicates that this license cannot be used
	Revoked bool
}
</pre>
<h2>Registration Information dialog box</h2>
<p><a href="https://www.emeditor.org/en/dlg/registration_info/index.html" target="_blank" rel="noopener">Registration Information</a> displays information about the user&#8217;s registration. This is useful for knowing what your registration status is and for diagnosing any issues with validation. It also allows the user to edit the device information and to unregister.</p>
<p>The dialog runs validation and shows whether or not it was successful.</p>
<h2>Stripe registration keys</h2>
<p>We have introduced a new registration key format specifically for Stripe subscriptions, referred to as the &#8220;Stripe registration key&#8221; in this article. The older format is called the &#8220;legacy registration key,&#8221; while the term &#8220;registration key&#8221; is used to encompass both formats.</p>
<p>The Stripe registration key format is as follows:</p>
<pre>r-xxxx-xxxx-xxxx-xxxx-xxxx</pre>
<p>where <code>x</code> is a <a href="https://en.wikipedia.org/wiki/Binary-to-text_encoding#Base58">base58</a> character. Each character is generated randomly, which means that one Stripe registration key has 117 bits of entropy.</p>
<h2>Registration process</h2>
<p>There are four scenarios where the registration process may happen.</p>
<ul>
<li>Most users will register through the <strong>Register Product</strong> dialog box.</li>
<li>Register using the MSI installer.</li>
<li>Offline registration using the command line.</li>
<li>If you unregister a device, then open EmEditor on that device, the device is registered automatically.</li>
</ul>
<p>There are three online registration flows, depending on whether a legacy registration key is used (<code>RegisterDeviceLegacyRegkey()</code>), a Stripe registration key is used (<code>RegisterDeviceStripeRegkey</code>) or a Stripe subscription is used (<code>RegisterDeviceSubscription()</code>). There is an additional registration flow for offline registration (<code>StoreOfflineLicenseAndValidate()</code>).</p>
<p>In this section, &#8220;Client&#8221; refers to the local EmEditor app on the user&#8217;s machine. &#8220;Server&#8221; is our backend server and database.</p>
<h3>Finding a subscription to use</h3>
<ol>
<li>If the user signs in, the server tries to find a valid Stripe subscription that has 0 associated devices.</li>
<li>If no subscription has 0 associated devices, then it tries to find a subscription that has not exceeded the device limit.
<ol>
<li>If there is a usable Stripe subscription, <code>RegisterDeviceSubscription()</code> is called.</li>
<li>If such Stripe subscription does not exist, it will find a valid legacy registration key that has not exceeded the device limit. <code>RegisterDeviceLegacyRegkey()</code> is used for legacy registration keys.</li>
</ol>
</li>
</ol>
<h3>Registration with legacy registration key (RegisterDeviceLegacyRegkey())</h3>
<ol>
<li>If a device token already exists, the client sends an unregister request to the server. The token and registration key are deleted from the registry.</li>
<li>The client sends a registration request to the server, which includes the legacy registration key, email, machine ID, label, and installation type.</li>
<li>The server compares the input email with the actual email of the user to make sure they are similar.</li>
<li>The server gets the device count (defined in the previous section) to determine if the legacy registration key can be used to register the device</li>
<li>A <code>Device</code> record is created.</li>
<li>The client receives the device ID. Using the device ID, the client requests a local device token.</li>
<li>The server creates and responds with the local device token. The expiration date of the token is set to the legacy registration key expiration date. The client writes the token to local storage.</li>
</ol>
<h3>Registration with Stripe registration key (RegisterDeviceStripeRegkey())</h3>
<ol>
<li>If a device token already exists, the client sends an unregister request to the server. The token and registration key is deleted from the registry.</li>
<li>The client sends a registration request to the server, which includes the Stripe registration key, email, machine ID, label, and installation type.</li>
<li>The server compares the input email with the actual email of the user to make sure they are similar.</li>
<li>The server verifies that the Stripe subscription is valid.</li>
<li>The server gets the device count (defined in previous section) to determine if the Stripe registration key can be used to register the device</li>
<li>A <code>Device</code> record is created.</li>
<li>The client receives the device ID. Using the device ID, the client requests a local device token.</li>
<li>The server creates and responds with the local device token. The expiration of the token is set to one month in the future if the subscription status is active. If the subscription status is canceled, the expiration date is set to the end date of the current billing period. The client writes the token to local storage.</li>
</ol>
<h3>Registration with Stripe subscription (RegisterDeviceSubscription())</h3>
<ol>
<li>If a device token already exists, the client sends an unregister request to the server. The token and registration key is deleted from the registry.</li>
<li>The client sends a registration request to the server, which includes the Stripe subscription, machine ID, label, and installation type.</li>
<li>The server verifies that the Stripe subscription is valid.</li>
<li>The server queries <code>deviceCount</code> (defined in previous section) to determine if the Stripe subscription can be used to register the device.</li>
<li>A <code>Device</code> record is created.</li>
<li>The client receives the device ID. Using the device ID, the client requests a local device token.</li>
<li>The server creates and responds with the local device token. The expiration is set to one month in the future if the subscription status is active. If the subscription status is canceled, the expiration date is set to the end date of the current billing period. The client writes the token to local storage.</li>
</ol>
<h3>Registration with offline license (StoreOfflineLicenseAndValidate())</h3>
<p>The user registers an offline license by saving the license file to the filesystem, then running the <a href="https://www.emeditor.org/en/howto/file/file_commandline.html" target="_blank" rel="noopener">command line option</a></p>
<pre>/ol "licenseFilePath"</pre>
<p>This list outlines the offline registration process.</p>
<ol>
<li>Delete the registration key, local device token, and offline license token from the registry.</li>
<li>Read the license file and save it to the registry.</li>
<li>Run <code>ValidateDevice()</code>.</li>
</ol>
<h2>Validation process (ValidateDevice())</h2>
<p>Validation occurs every time the app is opened.</p>
<ol>
<li>If local device token does not exist in the registry, call <code>ValidateOfflineLicense()</code>.</li>
<li>The token&#8217;s signature is validated. The actual machine ID is compared with the machine ID in the token. The result is ignored if the app is running on a removable drive.
<ul>
<li>If validation fails due to expected reasons such as a mismatched machine ID, the reason is output as status text.</li>
<li>If the token expired, check that the subscription is valid, then try to get a new token.</li>
<li>For other unexpected errors such as network error, validation succeeds.</li>
</ul>
</li>
<li>A random number generator determines if validation should stop here. This is to reduce the load of requests to our server.</li>
<li>The validation function sleeps the thread for a certain duration. This is again to reduce the request load, as we assume that macros and other automated use cases that rapidly start and close the app would only run it for a short duration.</li>
<li>The client requests the <code>Device</code> data for the stored device ID.</li>
<li>If the device is associated with a Stripe subscription, the server verifies that the Stripe subscription is valid.</li>
<li>If <code>device.Unregistered == true</code>, the client attempts to register the device.</li>
<li>The <code>device.ValidationDate</code> is updated.</li>
<li>If the token was issued before <code>current time - 7 days</code>, a new token is created to renew the old token. The new token has an expiration date of one month.</li>
</ol>
<h3>Offline license validation process (ValidateOfflineLicense())</h3>
<p>Offline license validation occurs if the registry does not contain the local device token. If an unexpected error occurs, validation succeeds. This means that if the user is offline, validation will still succeed.</p>
<ol>
<li>If the offline license token does not exist, validation succeeds. One case where this may happen is if registration previously failed due to a network error but the registration key was valid. This allows EmEditor to be used in this case.</li>
<li>Read and validate the token.</li>
<li>Request the server to validate the offline license with the token and machine ID.</li>
<li>The server validates the token.</li>
<li>For Stripe subscriptions, the server checks that the subscription has the status <code>active</code>.</li>
<li>If an <code>OfflineLicense</code> entry for the license ID does not exist, it is created with the token data.</li>
<li>If the entry exists and <code>license.Revoked == true</code>, it returns <code>StatusLicenseRevoked</code>. Otherwise validation succeeds.</li>
</ol>
<h2>Uninstallation</h2>
<p>When you uninstall the desktop version of EmEditor, your device will automatically be unregistered. This makes it easy to install to another machine without having to unregister the previous device manually.<br />
Because the portable and Store App versions do not have an uninstallation process, they will not unregister automatically when you remove those apps. Therefore, if you have a portable or Store App and you are no longer using it on your device, you must manually unregister it from the Registered Devices page in Customer Center.</p>
<h2>Security</h2>
<p>We are using secure-by-design practices to ensure privacy and to protect against exploits in the validation system. The following lists some of the guiding principles that we used when implementing the system.</p>
<ul>
<li>End-to-end encryption
<ul>
<li>All client-to-server and server-to-server communication uses HTTPS with CA-validated TLS encryption with no insecure fallback.</li>
<li>Server-side database records are secured with Azure-managed encryption and secure settings.</li>
</ul>
</li>
<li>Token security
<ul>
<li>The local device token and offline license token follow the JWT standard and are signed with ECDSA. This allows client-side authentication without sharing the private key.</li>
</ul>
</li>
<li>PII privacy
<ul>
<li>The label option during registration is optional.</li>
<li>MachineID fields are securely hashed on the client side before being encrypted and transmitted. The plaintext contents of these fields are never transmitted or stored on our servers.</li>
<li>Client-side logs are not persisted. Server-side logs contain minimal data about requests and do not include request body content such as the registration fields.</li>
</ul>
</li>
</ul>
<h2>Support</h2>
<p>If you have any questions or feedback about the validation system, feel free to <a href="/support/#contact">send us a message</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CSV Import+Export—an Excel add-in</title>
		<link>/related-software/csv-importexport-an-excel-add-in/</link>
					<comments>/related-software/csv-importexport-an-excel-add-in/#respond</comments>
		
		<dc:creator><![CDATA[Makoto Emura]]></dc:creator>
		<pubDate>Mon, 29 Apr 2019 21:25:46 +0000</pubDate>
				<category><![CDATA[Related Software]]></category>
		<category><![CDATA[Excel Add-in]]></category>
		<guid isPermaLink="false">https://www.emeditor.com/?p=25686</guid>

					<description><![CDATA[We have released CSV Import+Export, a simple tool for importing CSV data into Excel and for exporting an Excel worksheet to CSV. CSV Import+Export is able to import CSV data to a worksheet using a user-specified encoding, delimiter, and newline sequence. It can also export a worksheet to CSV with those configurable options. Although Excel [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">We have released CSV Import+Export, a simple tool for importing CSV data into Excel and for exporting an Excel worksheet to CSV.</p>



<ul class="wp-block-gallery columns-2 wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex"><li class="blocks-gallery-item"><figure><img decoding="async" src="/wp-content/uploads/2019/04/0-1-723x1030.png" alt="" data-id="25692" data-link="/uncategorized/csv-importexport-an-excel-add-in/attachment/0/" class="wp-image-25692"/></figure></li><li class="blocks-gallery-item"><figure><img decoding="async" src="/wp-content/uploads/2019/04/1-696x1030.png" alt="" data-id="25689" data-link="/uncategorized/csv-importexport-an-excel-add-in/attachment/1/" class="wp-image-25689"/></figure></li></ul>



<p class="wp-block-paragraph">CSV Import+Export is able to import CSV data to a worksheet using a user-specified encoding, delimiter, and newline sequence. It can also export a worksheet to CSV with those configurable options. Although Excel can natively import CSV files, it cannot export using custom formats, so CSV Import+Export fills in this missing feature.</p>



<p class="wp-block-paragraph">To download CSV Import+Export for free on Excel 2016+ and Excel Online, click &#8220;Get It Now&#8221; on our AppSource page: <a href="https://appsource.microsoft.com/en-us/product/office/WA200000025">https://appsource.microsoft.com/en-us/product/office/WA200000025</a>.</p>



<p class="wp-block-paragraph">Or alternatively:</p>



<ol class="wp-block-list"><li>Open Excel and go to Insert | My Add-ins (or Office Add-ins)</li><li>Under the Store tab, search for &#8220;CSV Import+Export&#8221; and click the Add button</li></ol>



<p class="wp-block-paragraph">We hope this tool will help with CSV-Excel workflows. Feel free to comment to this post with any feedback or questions about this add-in.</p>



<p class="wp-block-paragraph">&#8212;<br>Makoto Emura</p>



<p class="wp-block-paragraph"><br></p>
]]></content:encoded>
					
					<wfw:commentRss>/related-software/csv-importexport-an-excel-add-in/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CharacterCount Plug-in Release</title>
		<link>/plugins/charactercount-plug-in-release/</link>
					<comments>/plugins/charactercount-plug-in-release/#respond</comments>
		
		<dc:creator><![CDATA[Makoto Emura]]></dc:creator>
		<pubDate>Fri, 27 Apr 2018 20:01:34 +0000</pubDate>
				<category><![CDATA[Plug-ins]]></category>
		<category><![CDATA[CharacterCount]]></category>
		<guid isPermaLink="false">https://www.emeditor.com/?p=23076</guid>

					<description><![CDATA[The CharacterCount plug-in, which counts the sums of various types of characters in your document, was released today. This plug-in is inspired by the Text Information plug-in by KKSoftWare. CharacterCount retains the same feature sets from Text Information, but adds a 64-bit compatible version. The plug-in can be downloaded here.]]></description>
										<content:encoded><![CDATA[<p>The <strong>CharacterCount</strong> plug-in, which counts the sums of various types of characters in your document, was released today. This plug-in is inspired by the Text Information plug-in by KKSoftWare. CharacterCount retains the same feature sets from Text Information, but adds a 64-bit compatible version. The plug-in can be downloaded <a href="https://raw.githubusercontent.com/Emurasoft/library/main/plugins-64bit/CharacterCount.zip">here</a>.</p>
<p><a href="/wp-content/uploads/2018/04/CharacterCountScreenshot1-1.png"><img loading="lazy" decoding="async" class="alignnone wp-image-23079" src="/wp-content/uploads/2018/04/CharacterCountScreenshot1-1-300x251.png" alt="Screenshot of ChrarcterCount, English version" width="300" height="251" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>/plugins/charactercount-plug-in-release/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
