From nobody Sun Jan  9 16:16:30 2022
X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CE678194FF34
	for <freebsd-questions@mlmmj.nyi.freebsd.org>; Sun,  9 Jan 2022 16:17:15 +0000 (UTC)
	(envelope-from m.e.sanliturk@gmail.com)
Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4JX2Cv59s3z4bkv
	for <freebsd-questions@freebsd.org>; Sun,  9 Jan 2022 16:17:15 +0000 (UTC)
	(envelope-from m.e.sanliturk@gmail.com)
Received: by mail-wm1-x32f.google.com with SMTP id n19-20020a7bc5d3000000b003466ef16375so8333545wmk.1
        for <freebsd-questions@freebsd.org>; Sun, 09 Jan 2022 08:17:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=OB7gQaU58bIOpTwddZIXxcThjwqKkHds7EsSd760cqc=;
        b=qISR3YmCPl/QCxo9CFZkY8RZvdUTBdcEtuBOxlUydkC4xoYn5l2k0nJnWZf+pQ13ST
         1kGvqBFRee3HDkUIo2bAvp6Nc8H1uvXax7YNrKT65lR7en5Td7URaoMgI21SfY6JiFfp
         Fcb8wAYspbdlpFPCNV+bBmJbGwmIjd9hqvF3MRruEfQE2NJMW1MuPd2y9V0FqSeAyDmj
         zA2VXqDfGrfDvfz+q7sRVAV6DUMn/4wgkODVBpJCVWHo8sPyIRuPR6F85fykU7bkHo+C
         WEVm4hVVR2EoIf+5A5ZUCPySSNftGA9f+Fqggenr/hljCUuptooGr9kHSd685Q84V3zQ
         juOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=OB7gQaU58bIOpTwddZIXxcThjwqKkHds7EsSd760cqc=;
        b=Zj7TsN4Ye+TXWH0q/c9KeVzply4GhDhGOtR3vYHs3vB+7ze/1I1wN6Y5H9qK+QIiMY
         RjiUOsHn47rh9+G1z74vQn1SCKQnLc9ABcOvzXXlKGmChldqoynRxbQZg7EOxA8wXGGz
         o4/CzjgXhA1krw5fSL1ai/OMrK0D22i8gSwj7YdHCGSQgwUhQBEdRjyWnLq1tysi8oUl
         B3W8mt35lK21mdwZb37HXcfjT5rnT0X8KBtW2LO5xR4CPX70K6zFulc7Hd9g/MarMwSj
         JPleNxTht3ewzll85nGavdx04kw3O8ruGrV/mZlFsdJqM3bmO8qsUjWiQE3dr+ntG3Kw
         ZGnw==
X-Gm-Message-State: AOAM530HZdhWdaf2V5hLM2PSzIbUFqSpqC6BbjyJcoXsaAME90d/zT32
	lE4QMeQn+ngkdc53MtXckjytjosCBOr3Sq49H6Q=
X-Google-Smtp-Source: ABdhPJxfJw/7+yQrU6T/5x12iW3dclT+ikm/LHw+iCTIDfsvgHHZ3iNr1cRh+wX5N5+rO/n0at/8IgFNCcIlYucaTxw=
X-Received: by 2002:a05:600c:3496:: with SMTP id a22mr18747577wmq.68.1641745027032;
 Sun, 09 Jan 2022 08:17:07 -0800 (PST)
List-Id: User questions <freebsd-questions.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-questions
List-Help: <mailto:questions+help@freebsd.org>
List-Post: <mailto:questions@freebsd.org>
List-Subscribe: <mailto:questions+subscribe@freebsd.org>
List-Unsubscribe: <mailto:questions+unsubscribe@freebsd.org>
Sender: owner-freebsd-questions@freebsd.org
X-BeenThere: freebsd-questions@freebsd.org
MIME-Version: 1.0
References: <CAKkGsYKyPt5OfYVH5L=83yqzeHvkyMaU6oZH_0WzRFrWRKsXSw@mail.gmail.com>
 <20220109102339.45932ef6cf6f42daa3a1871d@sohara.org> <CAOgwaMshquXn8NbotqPQNp22_wVw_aSiG476+YVNuTKMPB7eDQ@mail.gmail.com>
 <20220109145048.141b35831e07ad9fa8a73c66@sohara.org>
In-Reply-To: <20220109145048.141b35831e07ad9fa8a73c66@sohara.org>
From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Date: Sun, 9 Jan 2022 19:16:30 +0300
Message-ID: <CAOgwaMt-bMdpLnEHJnHq762oTDG_-g9Co-kkgZuwdv0q2cVD=A@mail.gmail.com>
Subject: Re: entering geli passphrase only once at FreeBSD boot
To: "Steve O'Hara-Smith" <steve@sohara.org>
Cc: Taceant Omnes <taceant@gmail.com>, 
	FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Content-Type: multipart/alternative; boundary="00000000000025e99d05d5288d99"
X-Rspamd-Queue-Id: 4JX2Cv59s3z4bkv
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
	none
X-Spamd-Result: default: False [-4.00 / 15.00];
	 REPLY(-4.00)[];
	 TAGGED_FROM(0.00)[]
X-ThisMailContainsUnwantedMimeParts: N

--00000000000025e99d05d5288d99
Content-Type: text/plain; charset="UTF-8"

On Sun, Jan 9, 2022 at 5:50 PM Steve O'Hara-Smith <steve@sohara.org> wrote:

> On Sun, 9 Jan 2022 16:07:12 +0300
> Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> wrote:
>
> > My idea is to use  square barcode for such requirements with a square
> > barcode
> > reader . Up to now I could not find an opportunity to do it .
>
>         You need a camera and barcode reading software on the server to do
> that - a USB stick based approach is easier.
>
>


At present , I am using a linear barcode reader
( to input passwords in one of my computers ) given to me by a pharmacist ,
( because , in Turkey , now , all of the pharmacies are using square
barcodes
in drugs , etc.  to track the products produced ( declared to the
government ) and
given to the patients in pharmacies ( again declared to the government to
get payments ) ) .
In our country , all of the people are getting their drugs ( ... )
supplied by the government free of payments ( sometimes with very little
payments )
through the pharmacies  and hospitals .

We could not find a square barcode reader sold
by drug suppliers in our town because all of the pharmacies  already had
bought their units .


When a keyboard emulator barcode reader is used , there is no need to
use any other programs or devices . The processor of the barcode readers
are decoding the picture and sending its characters to the computer as if
they are
given from the keyboard .

The other kind of barcode readers ( i.e. , scanners of the barcode picture )
attached to a computer require their associated software  if
they are not keyboard emulators and
their ports are not able to generate keyboard input from data sent by
the barcode reader . Such barcode scanners are used if the scanned barcodes
are not
included into the ( let's say ) commodity scanners used in the shops .


Mehmet Erol Sanliturk




> > but I
> > think it may be possible to use a cell phone to generate , store and show
> > the square
> > barcode to the required square barcode reader .  If the square barcode
>
>         Yes that can be done easily enough. You could also use an RFID
> reader and prepare a writable chip. There are lots of ways of hiding
> secrets.
>
> --
> Steve O'Hara-Smith
> Odds and Ends at http://www.sohara.org/
>

--00000000000025e99d05d5288d99
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:tahoma,sans-serif;font-size:large"><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jan 9, 2022 =
at 5:50 PM Steve O&#39;Hara-Smith &lt;<a href=3D"mailto:steve@sohara.org">s=
teve@sohara.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">On Sun, 9 Jan 2022 16:07:12 +0300<br>
Mehmet Erol Sanliturk &lt;<a href=3D"mailto:m.e.sanliturk@gmail.com" target=
=3D"_blank">m.e.sanliturk@gmail.com</a>&gt; wrote:<br>
<br>
&gt; My idea is to use=C2=A0 square barcode for such requirements with a sq=
uare<br>
&gt; barcode<br>
&gt; reader . Up to now I could not find an opportunity to do it .<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 You need a camera and barcode reading software =
on the server to do<br>
that - a USB stick based approach is easier.<br>
<br></blockquote><div><br></div><div><br></div><div><br></div><div><div sty=
le=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_default=
">At present , I am using a linear barcode reader <br></div><div style=3D"f=
ont-family:tahoma,sans-serif;font-size:large" class=3D"gmail_default">( to =
input passwords in one of my computers ) given to me by a pharmacist ,</div=
><div style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmai=
l_default">( because , in Turkey , now , all of the pharmacies are using sq=
uare barcodes</div><div style=3D"font-family:tahoma,sans-serif;font-size:la=
rge" class=3D"gmail_default">in drugs , etc.=C2=A0 to track the products pr=
oduced ( declared to the government ) and <br></div><div style=3D"font-fami=
ly:tahoma,sans-serif;font-size:large" class=3D"gmail_default">given to the =
patients in pharmacies ( again declared to the government to get payments )=
 ) . <br></div><div style=3D"font-family:tahoma,sans-serif;font-size:large"=
 class=3D"gmail_default">In our country , all of the people are getting the=
ir drugs ( ... )</div><div style=3D"font-family:tahoma,sans-serif;font-size=
:large" class=3D"gmail_default">supplied by the government free of payments=
 ( sometimes with very little payments ) <br></div><div style=3D"font-famil=
y:tahoma,sans-serif;font-size:large" class=3D"gmail_default">through the ph=
armacies=C2=A0 and hospitals . <br></div><div style=3D"font-family:tahoma,s=
ans-serif;font-size:large" class=3D"gmail_default"><br></div><div style=3D"=
font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_default">We c=
ould not find a square barcode reader sold</div><div style=3D"font-family:t=
ahoma,sans-serif;font-size:large" class=3D"gmail_default">by drug suppliers=
 in our town because all of the pharmacies=C2=A0 already had bought their u=
nits .</div><div style=3D"font-family:tahoma,sans-serif;font-size:large" cl=
ass=3D"gmail_default"><br></div><div style=3D"font-family:tahoma,sans-serif=
;font-size:large" class=3D"gmail_default"><br></div><div style=3D"font-fami=
ly:tahoma,sans-serif;font-size:large" class=3D"gmail_default">When a keyboa=
rd emulator barcode reader is used , there is no need to</div><div style=3D=
"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_default">use=
 any other programs or devices . The processor of the barcode readers <br><=
/div><div style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"=
gmail_default">are decoding the picture and sending its characters to the c=
omputer as if they are <br></div><div style=3D"font-family:tahoma,sans-seri=
f;font-size:large" class=3D"gmail_default">given from the keyboard . <br></=
div><div style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"g=
mail_default"><br></div><div style=3D"font-family:tahoma,sans-serif;font-si=
ze:large" class=3D"gmail_default">The other kind of barcode readers ( i.e. =
, scanners of the barcode picture )</div><div style=3D"font-family:tahoma,s=
ans-serif;font-size:large" class=3D"gmail_default"> attached to a computer =
require their associated software=C2=A0 if <br></div><div style=3D"font-fam=
ily:tahoma,sans-serif;font-size:large" class=3D"gmail_default">they are not=
 keyboard emulators and <br></div><div style=3D"font-family:tahoma,sans-ser=
if;font-size:large" class=3D"gmail_default">their ports are not able to gen=
erate keyboard input from data sent by <br></div><div style=3D"font-family:=
tahoma,sans-serif;font-size:large" class=3D"gmail_default">the barcode read=
er . Such barcode scanners are used if the scanned barcodes are not</div><d=
iv style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_d=
efault">included into the ( let&#39;s say ) commodity scanners used in the =
shops .<br></div><br></div><div><br></div><div><div style=3D"font-family:ta=
homa,sans-serif;font-size:large" class=3D"gmail_default">Mehmet Erol Sanlit=
urk</div><div style=3D"font-family:tahoma,sans-serif;font-size:large" class=
=3D"gmail_default">=C2=A0</div><br></div><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">
&gt; but I<br>
&gt; think it may be possible to use a cell phone to generate , store and s=
how<br>
&gt; the square<br>
&gt; barcode to the required square barcode reader .=C2=A0 If the square ba=
rcode<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Yes that can be done easily enough. You could a=
lso use an RFID<br>
reader and prepare a writable chip. There are lots of ways of hiding<br>
secrets.<br>
<br>
-- <br>
Steve O&#39;Hara-Smith<br>
Odds and Ends at <a href=3D"http://www.sohara.org/" rel=3D"noreferrer" targ=
et=3D"_blank">http://www.sohara.org/</a><br>
</blockquote></div></div>

--00000000000025e99d05d5288d99--