<commit_before>package main

import (
	"fmt"
	"log"
	"os"
	"strings"

	"github.com/howeyc/gopass"
	"github.com/mdp/qrterminal"
	"github.com/mdp/rsc/qr"
)

func main() {
	fmt.Print("Type your password: ")

	passb, err := gopass.GetPasswd()
	if err != nil {
		log.Fatalln("ERROR", err)
	}
	pass := strings.TrimSpace(string(passb))

	qrterminal.Generate(pass, qr.H, os.Stdout)
}<commit_msg>do not trim whitespace in password input<commit_after>package main

import (
	"fmt"
	"log"
	"os"

	"github.com/howeyc/gopass"
	"github.com/mdp/qrterminal"
	"github.com/mdp/rsc/qr"
)

func main() {
	fmt.Print("Type your password: ")

	passb, err := gopass.GetPasswd()
	if err != nil {
		log.Fatalln("ERROR", err)
	}
	qrterminal.Generate(string(passb), qr.H, os.Stdout)
}
{'fraction_non_alphanumeric': 0.17328042328042328, 'fraction_numerical': 0.0, 'mean_word_length': 4.149659863945578, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6823284', 'n_tokens_mistral': 346, 'n_tokens_neox': 326, 'n_words': 59}