~apognu

Paris, France

https://popineau.eu

Recent activity

[PATCH greetd] Ensure initial session is only run once. 2 months ago

From Antoine POPINEAU to ~kennylevinsen/greetd-devel

Security concerns were raised regarding the initial session being
executed whenever greetd was restarted (when signing out of one's DE,
when greetd or a greeter restarted or crashed, ...).

This creates a runfile (by default at /run/greetd.run) either when the
initial session is executed or when a greeter is started. Whenever this
file exists, the initial session is ignored (and the configured greeter
is always run).
---
This relates to the issue raised in
https://todo.sr.ht/~kennylevinsen/greetd/10 and on tuigreet's GitHub
repository.

 greetd/src/config/mod.rs | 28 +++++++++++++++++++++-------
[message trimmed]

Re: initial_session might allow bypassing authentication 3 months ago

From Antoine POPINEAU to ~kennylevinsen/greetd-devel

> 1. A greeter does not have to exit on authentication failure, and is
> free to try again immediately. Each attempt is its own PAM flow in a
> fresh greetd worker.

Thank you, that validates the behavior I am going to implement for
tuigreet.

> 3. It would be best to get fixed. Patches welcome - haven't gotten
> around to it myself. The trick is to somehow make greetd aware of
> whether it is the first run or any subsequent runs for this boot.

I'll go and read the initial thread to see if I can chip in.

Regards,

initial_session might allow bypassing authentication 3 months ago

From Antoine POPINEAU to ~kennylevinsen/greetd-devel

Hi!

Someone recently submitted an issue on tuigreet's tracker
(https://github.com/apognu/tuigreet/issues/24) mentioning that when
configured with an `initial_session`, a greeter exiting, either because
of a crash, an expected exit on authentication failure (agreety or
tuigreet), or a manual action to close the greeter (gtkgreet or tuigreet)
would cause the initial session to be launched, bypassing the need to
authenticate again (the default systemd setting for greetd is
`Restart=always`).

My guess is other greeters might have similar behaviors.

I understand this is expected and not actually a bug per se, but the

[PATCH] maildir: configurable external command for search. 10 months ago

From Antoine POPINEAU to ~sircmpwn/aerc

A new configration parameter is introduced: search-cmd allows to set an
optional external command that will be used to search for emails in the current
directory, replacing the default internal search method, when the account has a
maildir:// source.

In the search-command value, the placeholder {} will be replaced by the
provided terms. So, for example, a search-cmd value `notmuch search {}`, with
the command `:search FOOBAR` will be executed as `notmuch search "FOOBAR"`.

This command must output the list of email absolute paths, one per line.
---
 config/config.go         |  1 +
 doc/aerc-maildir.5.scd   | 14 +++++++++
 worker/maildir/search.go | 61 ++++++++++++++++++++++++++++++++++++++++
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 1 year, 2 months ago

From Antoine POPINEAU to ~sircmpwn/email-test-drive

---
Sorry about that! Fixed.

 antoine-popineau | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 antoine-popineau

diff --git a/antoine-popineau b/antoine-popineau
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/antoine-popineau
@@ -0,0 +1 @@
I have successfully used git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 1 year, 2 months ago

From Antoine POPINEAU to ~sircmpwn/email-test-drive

---
 antoine-popineau | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 antoine-popineau

diff --git a/antoine-popineau b/antoine-popineau
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/antoine-popineau
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.27.0
[message trimmed]

[PATCH v2] Added my name for use with git send-email. 1 year, 2 months ago

From Antoine POPINEAU to ~sircmpwn/email-test-drive

---
Sorry about that!

 antoine-popineau | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 antoine-popineau

diff --git a/antoine-popineau b/antoine-popineau
new file mode 100644
index 0000000..cca2e8d
--- /dev/null
+++ b/antoine-popineau
@@ -0,0 +1 @@
Let us try git send-mail.
[message trimmed]

[PATCH] Added my name for use with git send-email. 1 year, 2 months ago

From Antoine POPINEAU to ~sircmpwn/email-test-drive

---
 antoine-popineau | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 antoine-popineau

diff --git a/antoine-popineau b/antoine-popineau
new file mode 100644
index 0000000..22d7ec6
--- /dev/null
+++ b/antoine-popineau
@@ -0,0 +1 @@
Let us try git send-mail.
-- 
2.27.0
[message trimmed]

[PATCH v2] Added tuigreet to known greeters list. 1 year, 2 months ago

From Antoine POPINEAU to ~kennylevinsen/greetd

---
 index.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.md b/index.md
index c77940b..203de12 100644
--- a/index.md
+++ b/index.md
@@ -30,6 +30,7 @@ The currently known greeters are:
- [gtkgreet](https://git.sr.ht/~kennylevinsen/gtkgreet) (graphical, Gtk-based)
- [wlgreet](https://git.sr.ht/~kennylevinsen/wlgreet) (graphical, raw Wayland client)
- [dlm](https://git.sr.ht/~kennylevinsen/dlm) (graphical, raw fbdev client, semi-deprecated)
- [tuigreet](https://github.com/apognu/tuigreet) (console UI)

[message trimmed]

[PATCH v2] Added tuigreet to known greeters list. 1 year, 2 months ago

From Antoine POPINEAU to ~kennylevinsen/greetd-devel

---
 index.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/index.md b/index.md
index c77940b..203de12 100644
--- a/index.md
+++ b/index.md
@@ -30,6 +30,7 @@ The currently known greeters are:
- [gtkgreet](https://git.sr.ht/~kennylevinsen/gtkgreet) (graphical, Gtk-based)
- [wlgreet](https://git.sr.ht/~kennylevinsen/wlgreet) (graphical, raw Wayland client)
- [dlm](https://git.sr.ht/~kennylevinsen/dlm) (graphical, raw fbdev client, semi-deprecated)
- [tuigreet](https://github.com/apognu/tuigreet) (console UI)

[message trimmed]