When gpg encrypt is called from the command line, how is a key chosen to do the encryption?

I am using GnuPG. When gpg encrypt is called from the command line, how is a key chosen to do the encryption? It appears to me that -r, or –recipient, supplies a user id and that is the simple answer. I believe all of the examples I have looked at they show an email address for recipient, which is required input when creating your key. However, I was able to create 2 keys with the exact same user name, comment, and email address. How does gpg pick a key if there are two keys that have identical email addresses and that email address is used for the recipient? It seems to me like using key id would be the best way to do this, but I do not see that option.

[ Politics ] Open Question : Should the deep state generals be locked up for mocking the Chosen One?


Are there any Chosen left in Faerûn following the Second Sundering?

Throughout Toril’s history, its various deities have engaged in a practice of vesting mortals with power and purpose. Those mortals are sometimes called Chosen. The Sword Coast Adventurer’s Guide contains a number of references to Chosen — including their involvement in tumultuous events during the Second Sundering. See, e.g., p. 17 (“Throughout this period, tales began to spread of individuals who had been touched by the gods and granted strange powers. Some of these so-called Chosen were at the root of the conflicts that grip the land.”)

A couple of SCAG‘s references might be read to suggest that, after the Second Sundering, Chosen might have become a thing of the past. To wit:

  • p. 9, a description of an uprising in Calimshan led by a Chosen of Ilmater notes that the Chosen disappeared and that “[m]any pray for the return of the Chosen and the completion of his work.”
  • p. 12, a discussion of Mulhorand says “the Chosen of the gods began to appear in the last few years,” and then a few sentences later mentions that “the upheaval ended and the Chosen began to disappear . . . .”
  • p. 18, detailing the year 1489 D.R., notes that by then “the deities ceased interfering with the world through their Chosen. The gods were no longer silent but quiet, and in many places new priesthoods arose to interpret the gods’ now subtle signs.”
  • p. 45, a story about the grisly revelation “[j]ust a few years ago” that

None of these references mention any Chosen currently active in Faerûn. Several of them strongly imply that certain Chosen disappeared and have not reappeared.

Is there any evidence in first-party published materials that the Chosen are still a phenomenon in the post-Second Sundering world?

The Shaman wandering spirit Lore grants bonus arcane spells, is there a spell level limit to what spells can be chosen?

The Shaman wandering spirit Lore grants bonus arcane spells, is there a spell level limit to what spells can be chosen?

The hex says:

Arcane Enlightenment (Su): The shaman’s native intelligence grants her the ability to tap into arcane lore. The shaman can add a number of spells from the sorcerer/wizard spell list equal to her Charisma modifier (minimum 1) to the list of shaman spells she can prepare. To cast these spells she must have an Intelligence score equal to at least 10 + the spell’s level, but the saving throw DCs of these spells are based on her Wisdom rather than Intelligence. When she casts these spells, they are treated as divine rather than arcane. Each time the shaman gains a level after taking this hex, she can choose to replace one of these spells for a new spell on the wizard/sorcerer spell list.

Emphasis mine.

The only limit seems to be on casting the spells. Does this mean you choose all high level spells, but are limited by the level of spells you can cast as a shaman?

How do I create a GUI to browse Google Drive and apply a Google Apps Script to the chosen file?

I have a google apps script code that creates some pdf files based on the data contained in a google spreadsheet. I created this code for personal use: I use it for grading my students’ papers and send them the outcomes.

I am by no means a professional programmer, and my code can certainly be optimized. However, even non-optimized as is, it saves me quite a bit of work.

For this reason, some colleagues became interested in my “system”, so I tried to share my code with them. The problem is that they are even less expert than me, and all those lines of code kind of scare and confuse them.

Actually, they do not need to see or understand the code. They only need to provide the file ID of the target spreadsheet and that of the destination folder, where all the pdfs are created, plus a bunch of data (such as the number of students in the class…)

It would be nice to build a graphical user interface that simply allows them to browse their Google Drive and chose the input spreadsheet and the output folder.

I am not sure if this can be done, and how.

I did some research, and I came up with a couple of possibilities.

  • the UI service of Google Apps Script. This however is deprecated since 2014. It has been replaced by the HTML Service, but I’m not sure how to use it for browsing Google Drive.
  • Google Picker this seems to be what I need. However it is an API for HTML pages and requires that a project be registered. I’m not exactly sure how should I go about it. As I say, I just need a simple user interface for my colleagues, and Google Picker feels perhaps too much for that.

Apologies for being so vague. As I say I am not a professional coder, and I am rather clueless for this particular endeavour.

I would really appreciate some suggestions. It would be great if someone could point me to some tutorial or example.

Thank you very much in advance


Send a workflow email when a choice within a list is chosen

I am looking for a vanilla way to send a link of a list to an email when a choice has been chosen within the send. Ex. When the choice “Ready For Review” is chosen, the workflow would send an email containing the link to the list to a chosen set of people.

P.S. all of the tutorials are regarding sharepoint designer or other applications. I would like to achieve this via SharePoint Online itself.


What happens after a creature of the chosen type penetrates my Magic Circle?

The Magic Circle spell description says:

  • The creature can’t willingly enter the cylinder by nonmagical means. If the creature tries to use teleportation or interplanar travel to do so, it must first succeed on a Charisma saving throw.
  • The creature has disadvantage on attack rolls against targets within the cylinder.
  • Targets within the cylinder can’t be charmed, frightened, or possessed by the creature.

What happens after a creature of the chosen type penetrates my Magic Circle? Does a character lose the other protections of the Circle for that creature?

I had always assumed no. I thought the creature could then try to knock or drag them out of the circle, but those attempts would still be made at disadvantage. And as long as they remained in the cylinder the character would still be immune to the creature’s charm, frighten or possession attempts.

An answer to a question about an inverted Magic Circle made me doubt my understanding. It made it sound that it is the barrier (the surface of the cylinder) that provides those defenses not just the state of being inside the field defined by the cylinder. I think my confusion lies in that the rules text doesn’t say something like, “As long as the creature is outside the circle it has disadvantage…” or “…can’t be charmed, frightened, or possessed by the creature as long as it is outside the circle.” The only criteria I see is that the targets have to be in the cylinder, nothing about where the creature is.

is there a way that allows me to get more data chosen by the user along with their quantities?

I have to represent a warehouse, I print a list of the products in the warehouse, next to each product I have a range from 0 to the maximum quantity available for purchase. the customer must choose a product and decide the quantity of that product from the entire list. as soon as you finish you can send the order with a “send order” button. I didn’t find a solution. I don’t know how I can write this mechanism, if through form how can I get the selected products?

Articolo Descrzionione Categoria Imballaggio Famiglia Peso attivo Prezzo Giacenza ordina € 10 && p.quantity 40) { %> ” oninput=”ageOutputId.value = ageInputId.value”> 0

How is Siri’s English accent chosen in foreign markets? [on hold]

I have recently noticed that Siri uses British pronunciation in Russia, on multiple different peoples’ iPhones (for example when asked to translate something to English).

How is the accent Siri uses for English in various markets chosen? Or is British used everywhere?

Update: Google Assistant seems to be doing the same in Russia. Is this because Russians are more exposed to British than American media?