Commit 881d7f9f authored by Julian Sparber's avatar Julian Sparber Committed by Guido Gunther

Lockscreen: use GcrSecureEntryBuffer for the pin entry

It's good practice to keep passwords out of pageable memory, which this
buffer does.
parent b6ba1c60
......@@ -209,6 +209,7 @@
<property name="visibility">False</property>
<property name="xalign">0.5</property>
<property name="input-purpose">GTK_INPUT_PURPOSE_PIN</property>
<property name="buffer">pin_buffer</property>
</object>
<packing>
<property name="left_attach">0</property>
......@@ -273,4 +274,6 @@
<property name="widget">delete_btn</property>
<signal name="pressed" handler="long_press_del_cb" object="PhoshLockscreen" swapped="true"/>
</object>
<object class="GcrSecureEntryBuffer" id="pin_buffer">
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment