See also: https://golang.org/issue/20115 (proposal: cmd/vet: detect homograph attacks) https://golang.org/issue/20209 (proposal: spec: disallow LTR/RTL characters in string literals?) https://golang.org/issue/20210 (proposal: spec: disallow unicode import paths to avoid punycode attacks)
On Monday, June 14, 2021 at 10:15:16 AM UTC-4 drc...@google.com wrote: > I was going to ask, "how do they define/measure that?", decided to look at > the Rust code, and found > http://www.unicode.org/Public/security/10.0.0/confusables.txt > So there's a defined source and everything. > > On Friday, June 11, 2021 at 5:48:05 PM UTC-4 Ian Lance Taylor wrote: > >> On Fri, Jun 11, 2021 at 2:32 PM Delta <deltae...@gmail.com> wrote: >> > >> > Jun 12, 2021 3:00:01 AM Ian Lance Taylor <ia...@golang.org>: >> > >> > > Which context do you mean? You said "the Go tool." Do you mean >> > > something in the tool, or do you mean something in the language? >> > > >> > > For the tool, when does this come up? >> > >> > I don't know why I wrote this. I saw somewhere a post on rustc giving >> > help message in case error was produced due to use of look alike Unicode >> > characters like Greek question mark in place of ; >> > >> > I thought that is cool. >> > >> > I am sorry. >> >> No need to apologize. It's an interesting idea. There is nothing >> similar in Go today. >> >> Ian >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/b79ffa60-962c-4983-92ea-02e2b8954040n%40googlegroups.com.